merge lp:~openerp-dev/openobject-addons/trunk-sloppy-rng-jam-improve-tch
authorJigar Amin - OpenERP <jam@tinyerp.com>
Tue, 7 Aug 2012 10:28:13 +0000 (15:58 +0530)
committerJigar Amin - OpenERP <jam@tinyerp.com>
Tue, 7 Aug 2012 10:28:13 +0000 (15:58 +0530)
bzr revid: jam@tinyerp.com-20120807102813-2z7fe39hm9f3yjal

32 files changed:
addons/account/account_invoice_view.xml
addons/account/account_view.xml
addons/account_budget/account_budget_view.xml
addons/account_payment/account_payment_view.xml
addons/account_voucher/account_voucher_view.xml
addons/account_voucher/voucher_payment_receipt_view.xml
addons/account_voucher/voucher_sales_purchase_view.xml
addons/analytic/analytic_view.xml
addons/crm/crm_phonecall_view.xml
addons/crm_claim/crm_claim_view.xml
addons/crm_helpdesk/crm_helpdesk_view.xml
addons/crm_profiling/wizard/open_questionnaire_view.xml
addons/document/document_view.xml
addons/event/event_view.xml
addons/hr_holidays/hr_holidays_view.xml
addons/import_google/sync_google_calendar_view.xml
addons/lunch/lunch_view.xml
addons/marketing_campaign/marketing_campaign_view.xml
addons/mrp/mrp_view.xml
addons/mrp_operations/mrp_operations_view.xml
addons/mrp_repair/mrp_repair_view.xml
addons/portal/portal_view.xml
addons/project_issue/project_issue_view.xml
addons/report_webkit/header_view.xml
addons/sale/sale_view.xml
addons/share/wizard/share_wizard_view.xml
addons/stock/stock_view.xml
addons/stock/wizard/stock_partial_move_view.xml
addons/stock/wizard/stock_partial_picking_view.xml
addons/stock/wizard/stock_return_picking_view.xml
addons/stock_planning/stock_planning_view.xml
addons/survey/survey_view.xml

index 501a50b..a7fa1ff 100644 (file)
             <field name="type">form</field>
             <field name="priority">2</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Supplier Invoice" version="7.0">
                 <header>
                     <span groups="base.group_user">
                         <button name="invoice_open" states="draft,proforma2" string="Validate" class="oe_highlight"/>
             <field name="model">account.invoice</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Invoice" version="7.0">
                 <header>
                     <span groups="base.group_user">
                         <button name="action_invoice_sent" type="object" string="Send by Email" attrs="{'invisible':['|',('sent','=',True), ('state', '!=', 'open')]}" class="oe_highlight"/>
index 24d21cf..5280068 100644 (file)
@@ -11,7 +11,7 @@
             <field name="model">account.fiscalyear</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Fiscal year" version="7.0">
                 <header>
                     <button name="create_period" states="draft" string="Create Monthly Periods" type="object" class="oe_highlight"/>
                     <button name="create_period3" states="draft" string="Create 3 Months Periods" type="object" class="oe_highlight"/>
             <field name="model">account.period</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Account Period" version="7.0">
                        <header>
                            <button name="action_draft" states="done" string="Set to Draft" type="object" groups="account.group_account_manager"/>
                            <field name="state" widget="statusbar" nolabel="1"/>
             <field name="model">account.move</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Account Entry" version="7.0">
                 <header>
                     <button name="button_validate" states="draft" string="Post" type="object" class="oe_highlight"/>
                     <button name="button_cancel" states="posted" string="Cancel" type="object"/>
@@ -2625,7 +2625,7 @@ action = pool.get('res.config').next(cr, uid, [], context)
             <field name="model">account.bank.statement</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Statement" version="7.0">
                 <header>
                     <button name="button_confirm_cash" states="open" string="Close CashBox" type="object" class="oe_highlight"/>
                     <button name="button_open" states="draft" string="Open CashBox" type="object" class="oe_highlight"/>
index f3f4e5f..c315db7 100644 (file)
             <field name="model">crossovered.budget</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Budget" version="7.0">
                     <header>
                         <button string="Confirm" name="confirm" states="draft" type="workflow" class="oe_highlight"/>
                         <button string="Approve" name="validate" states="confirm" type="workflow" class="oe_highlight"/>
index 5395bca..2a54f75 100644 (file)
             <field name="model">payment.order</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Payment Order" version="7.0">
                 <header>
                     <button name="open" states="draft" string="Confirm Payments" class="oe_highlight"/>
                     <button name="set_done" states="open" string="Make Payments" type="object" class="oe_highlight"/>
index b212c07..5af75e2 100644 (file)
@@ -41,7 +41,7 @@
             <field name="model">account.voucher</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Accounting Voucher" version="7.0">
                   <header>
                       <button name="proforma_voucher" string="Post" states="draft" class="oe_highlight"/>
                       <button name="cancel_voucher" string="Cancel" type="object" states="posted" confirm="Are you sure to unreconcile this record?"/>
index e85f06a..f45c611 100644 (file)
             <field name="model">account.voucher</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Voucher Payment" version="7.0">
                 <header>
                     <button name="proforma_voucher" string="Validate" states="draft" invisible="context.get('line_type', False)" class="oe_highlight"/>
                     <button name="cancel_voucher" string="Cancel" states="draft,proforma"  invisible="context.get('line_type', False)"/>
             <field name="model">account.voucher</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Receipt" version="7.0">
                 <header>
                     <button name="proforma_voucher" string="Validate" states="draft" invisible="context.get('line_type', False)" class="oe_highlight"/>
                     <button name="cancel_voucher" string="Cancel" states="draft,proforma"  invisible="context.get('line_type', False)"/>
index 591979a..cb34366 100644 (file)
@@ -62,7 +62,7 @@
             <field name="model">account.voucher</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Sale voucher" version="7.0">
                 <header>
                     <button name="proforma_voucher" string="Validate" states="draft" class="oe_highlight"/>
                     <button name="%(act_pay_voucher)d" context="{'narration':narration, 'title':'Customer Payment', 'type':'receipt', 'partner_id':partner_id, 'reference':reference, 'amount':amount}" type="action" string="Pay" attrs="{'invisible':['|',('pay_now','=','pay_now'),'|',('state','=','draft'), ('paid','=',True)]}" class="oe_highlight"/>
             <field name="model">account.voucher</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Purchase Voucher" version="7.0">
                 <header>
                     <button name="proforma_voucher" string="Validate" states="draft" class="oe_highlight"/>
                     <button name="%(act_pay_bills)d" context="{'narration':narration, 'title':'Bill Payment', 'type':'payment', 'partner_id': partner_id, 'reference':reference}" type="action" string="Pay Bill" attrs="{'invisible':['|',('pay_now','=','pay_now'),'|',('state','=','draft'), ('paid','=',True)]}" class="oe_highlight"/>
index d590506..ff7d917 100644 (file)
@@ -7,7 +7,7 @@
             <field name="model">account.analytic.account</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Analytic Account" version="7.0">
                     <sheet string="Analytic Account">
                         <label for="name" class="oe_edit_only"/>
                         <h1>
index f2c47dd..ebc264a 100644 (file)
         <field name="model">crm.phonecall</field>
         <field name="type">form</field>
         <field name="arch" type="xml">
-            <form version="7.0">
+            <form string="Phone Call" version="7.0">
             <header>
                 <button name="case_close" string="Held" type="object" class="oe_highlight"
                         states="open,pending"/>
index 930c084..b889251 100644 (file)
             <field name="model">crm.claim</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Claim" version="7.0">
                 <header>
                     <span groups="base.group_user">
                         <button name="case_open" string="Open" type="object" class="oe_highlight"
index 0fb0cbf..56006ca 100644 (file)
@@ -28,7 +28,7 @@
             <field name="model">crm.helpdesk</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Helpdesk Support" version="7.0">
                 <header>
                     <button name="case_open" string="Open" type="object" class="oe_highlight"
                             states="draft,pending"/>
index 4a1291f..72918e0 100644 (file)
@@ -34,7 +34,7 @@
             <field name="model">open.questionnaire</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Open Questionnaire" version="7.0">
                     <separator colspan="4" string="Questionnaire"/>
                     <field name="question_ans_ids" colspan="4" nolabel="1" mode="tree,form" width="550" height="200"/>
                     <footer>
index 8dab775..411f1fd 100644 (file)
         <field name="type">tree</field>
         <field name="priority" eval="1"/>
         <field name="arch" type="xml">
-            <tree colors="blue:type in ('url',)">
+            <tree colors="blue:type in ('url',)" string="Attachments">
                 <field name="name"/>
                 <field name="parent_id" />
                 <field name="user_id"/>
index f3a0c5b..abbadca 100644 (file)
             <field name="model">event.registration</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Event Registration" version="7.0">
                     <header>
                         <button name="registration_open" string="Confirm" states="draft" type="object" class="oe_highlight"/>
                         <button name="button_reg_close" string="Attended" states="open" type="object" class="oe_highlight"/>
index 4469fa7..512fcb0 100644 (file)
@@ -92,7 +92,7 @@
             <field name="type">form</field>
             <field name="priority">1</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Leave Request" version="7.0">
                 <header>
                     <button string="Submit to Manager" name="confirm" states="draft" type="workflow" class="oe_highlight"/>
                     <button string="Approve" name="validate" states="confirm" type="workflow" groups="base.group_hr_user" class="oe_highlight"/>
                     <label for="remaining_leaves"/>
                     <div>
                         <field name="remaining_leaves" class="oe_inline"/>
-                        <label/>
                         <button name="%(act_hr_employee_holiday_request)d" string="Leaves" type="action" class="oe_inline oe_right"/>
                     </div>
                 </field>
index 626d803..3e7a276 100644 (file)
@@ -7,8 +7,8 @@
             <field name="type">form</field>
             <field name="inherit_id" ref="base_calendar.view_crm_meeting_form"/>
             <field name="arch" type="xml">
-                <field name="categ_id" position="replace">
-                    <field name="categ_id" widget="selection" domain="[('user_id', 'in', [uid, False])]"/>
+                <field name="categ_ids" position="replace">
+                    <field name="categ_ids" widget="selection" domain="[('user_id', 'in', [uid, False])]"/>
                 </field>
             </field>
         </record>
index d953dfb..a18362d 100644 (file)
@@ -23,7 +23,7 @@
             <field name="name">Order</field>
             <field name="model">lunch.order</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Lunch Order" version="7.0">
                 <header>
                     <button name="%(action_lunch_order_confirm)d" string="Confirm Order" type="action" states="draft" class="oe_highlight"/>
                     <button name="%(action_lunch_order_cancel)d" string="Cancel Order" type="action" states="confirmed" />
index 9af709c..ac9debf 100644 (file)
@@ -26,7 +26,7 @@
         <field name="model">marketing.campaign</field>
         <field name="type">form</field>
         <field name="arch" type="xml">
-            <form version="7.0">
+            <form string="Marketing Campaign" version="7.0">
             <header>
                 <button name="state_running_set" string="Run" states="draft" class="oe_highlight"/>
                 <button name="state_done_set" string="Done" states="running" class="oe_highlight"/>
         <field name="model">marketing.campaign.segment</field>
         <field name="type">form</field>
         <field name="arch" type="xml">
-            <form version="7.0">
+            <form string="Marketing Campaign Segment" version="7.0">
             <header>
                 <button name="state_running_set" string="Run" states="draft" class="oe_highlight"/>
                 <button name="state_done_set" string="Close" states="running" class="oe_highlight"/>
index 4ed90bb..74e3d7a 100644 (file)
@@ -30,7 +30,7 @@
                 <form string="Properties categories" version="7.0">
                     <label for="name"/>
                     <field name="name"/>
-                    <label name="description"/>
+                    <label for="description"/>
                     <field name="description"/>
                 </form>
             </field>
index f872678..42ad358 100644 (file)
@@ -66,7 +66,7 @@
         <field name="type">form</field>
         <field name="inherit_id" eval="False"/>
         <field name="arch" type="xml">
-            <form version="7.0">
+            <form string="Production Workcenter" version="7.0">
             <header>
                 <button name="button_start_working" string="Start" states="draft" class="oe_highlight"/>
                 <button name="button_resume" string="Resume" states="pause" class="oe_highlight"/>
index 74329f6..59a5ad6 100644 (file)
@@ -27,7 +27,7 @@
         <field name="model">mrp.repair</field>
         <field name="type">form</field>
         <field name="arch" type="xml">
-            <form version="7.0">
+            <form string="Repair Order" version="7.0">
                <header>
                    <button name="repair_confirm" states="draft" string="Confirm Repair" class="oe_highlight"/>
                    <button name="repair_ready" states="confirmed,ready" string="Start Repair" class="oe_highlight"/>
index 088c594..2c4e590 100644 (file)
@@ -31,7 +31,7 @@
                                 <field name="override_menu"/>
                                 <field name="parent_menu_id"
                                     context="{'ir.ui.menu.full_list': True}"/>
-                                <label colspan="1"/>
+                                <label for="partent_menu_id" colspan="1"/>
                                 <button name="do_create_menu" type="object"
                                     string="Create Parent Menu"/>
                             </group>
index 7d21154..c0053ba 100644 (file)
@@ -96,7 +96,7 @@
             <field name="model">project.issue</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Issue" version="7.0">
                 <header>
                     <span groups="base.group_user">
                         <button name="case_open" string="Open" type="object"
index 0a052b8..a30d6d4 100644 (file)
@@ -5,7 +5,7 @@
             <field name="model">ir.header_img</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Header Image" version="7.0">
                     <group>
                         <field name="name"/>
                         <field name="type"/>
@@ -21,7 +21,7 @@
             <field name="model">ir.header_webkit</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="HTML Header" version="7.0">
                     <group>
                         <group>
                             <field name="name"/>
index a148415..1336929 100644 (file)
                     <group>
                         <group>
                             <field name="product_id" readonly="1"/>
-                            <label name="product_uom_qty"/>
+                            <label for="product_uom_qty"/>
                             <div>
                                 <field name="product_uom_qty" readonly="1" class="oe_inline"/>
                                 <field name="product_uom" groups="product.group_uom" class="oe_inline"/>
index ad4df1a..d8ba9b9 100644 (file)
@@ -30,7 +30,7 @@
             <field name="model">share.wizard</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Configuration" version="7.0">
                     <group>
                         <field name="user_type" invisible="1"/>
                         <field name="invite" invisible="1"/>
index 8c657ff..0298014 100644 (file)
             <field name="type">tree</field>
             <field name="field_parent">child_ids</field>
             <field name="arch" type="xml">
-                <tree toolbar="1">
+                <tree toolbar="1" string="Locations" >
                     <field icon="icon" name="name"/>
                 </tree>
             </field>
index 3e0699e..3bfd56a 100644 (file)
@@ -20,7 +20,7 @@
             <field name="model">stock.partial.move</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Stock Move" version="7.0">
                     <separator string="Products"/>
                     <field name="move_ids"/>
                     <footer>
@@ -56,7 +56,7 @@
             <field name="model">stock.partial.move.line</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Stock Partial Move Line" version="7.0">
                     <group>
                         <field name="product_id" />
                         <field name="quantity" />
index fdbcabb..adf2464 100644 (file)
@@ -15,7 +15,7 @@
             <field name="model">stock.partial.picking</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Stock partial Picking" version="7.0">
                     <field name="hide_tracking" invisible="1"/>
                     <separator string="Transfer Products" name="product_separator"/>
                     <field name="move_ids" context="{'hide_tracking': hide_tracking}">
@@ -63,7 +63,7 @@
             <field name="model">stock.partial.picking.line</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Stock Picking Line" version="7.0">
                     <group col="4">
                         <field name="product_id" />
                         <field name="quantity" />
index 5cdad44..7fbdabc 100644 (file)
@@ -44,7 +44,7 @@
             <field name="model">stock.return.picking.memory</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Return Picking Memory" version="7.0">
                     <group col="4">
                         <field name="product_id" />
                         <field name="quantity" />
index 8c1cb0d..80fe3e2 100644 (file)
@@ -12,7 +12,7 @@
             <field name="model">stock.period</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Stock Period" version="7.0">
                     <header>
                         <button name="button_open" string="Open" states="draft" type="object"/>
                         <button name="button_close" string="Close" states="open" type="object"/>
@@ -80,7 +80,7 @@
             <field name="model">stock.sale.forecast</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Stock and Sale Forecast" version="7.0">
                 <header>
                     <button name="action_validate" string="Approve" states="draft" type="object" class="oe_highlight"/>
                     <field name="state" widget="statusbar"/>
index 19f2139..d28e874 100644 (file)
             <field name="model">survey.request</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form version="7.0">
+                <form string="Request" version="7.0">
                 <header>
                     <button name="survey_req_draft" string="Set to Draft" states="cancel,done" type="object"/>
                     <button name="survey_req_waiting_answer" string="Waiting Answer" states="draft" type="object" class="oe_highlight"/>