[IMP]:improve title Based on receptions by Bases on incoming shipments in yml and...
authorSaurang Suthar (OpenERP) <ssu@tinyerp.com>
Mon, 7 May 2012 05:46:56 +0000 (11:16 +0530)
committerSaurang Suthar (OpenERP) <ssu@tinyerp.com>
Mon, 7 May 2012 05:46:56 +0000 (11:16 +0530)
bzr revid: ssu@tinyerp.com-20120507054656-vgzgavr908v9y9mj

addons/purchase/purchase.py
addons/purchase/stock_view.xml
addons/purchase/test/process/generate_invoice_from_reception.yml

index 00d98ed..ec93bc0 100644 (file)
@@ -182,7 +182,7 @@ class purchase_order(osv.osv):
         'invoice_method': fields.selection([('manual','Based on Purchase Order lines'),('order','Based on generated draft invoice'),('picking','Bases on incoming shipments')], 'Invoicing Control', required=True,
             help="Based on Purchase Order lines: place individual lines in 'Invoice Control > Based on P.O. lines' from where you can selectively create an invoice.\n" \
                 "Based on generated invoice: create a draft invoice you can validate later.\n" \
-                "Based on receptions: let you create an invoice when receptions are validated."
+                "Bases on incoming shipments: let you create an invoice when receptions are validated."
         ),
         'minimum_planned_date':fields.function(_minimum_planned_date, fnct_inv=_set_minimum_planned_date, string='Expected Date', type='date', select=True, help="This is computed as the minimum scheduled date of all purchase order lines' products.",
             store = {
index 3692149..7f44bae 100644 (file)
         </record>
  
         <record id="action_picking_tree4_picking_to_invoice" model="ir.actions.act_window">
-            <field name="name">Based on receptions</field>
+            <field name="name">Bases on incoming shipments</field>
             <field name="res_model">stock.picking</field>
             <field name="type">ir.actions.act_window</field>
             <field name="view_type">form</field>
             <field name="domain">[('type','=','in')]</field>
             <field name="context">{"default_type": "in", "contact_display": "partner_address", "search_default_done": 1, "search_default_to_invoice": 1}</field>
             <field name="search_view_id" ref="view_picking_in_search_picking_to_invoice"/>
-            <field name="help">If you set the Invoicing Control on a purchase order as "Based on receptions", you can track here all the product receptions and create invoices for those receptions.</field>
+            <field name="help">If you set the Invoicing Control on a purchase order as "Bases on incoming shipments", you can track here all the product receptions and create invoices for those receptions.</field>
        </record>
 
         <menuitem action="action_picking_tree4_picking_to_invoice"
index 0e042db..f6a835b 100644 (file)
@@ -1,5 +1,5 @@
 -
- I confirm another order where invoice control is 'Based on receptions'.
+ I confirm another order where invoice control is 'Bases on incoming shipments'.
 -
   !workflow {model: purchase.order, action: purchase_confirm, ref: order_purchase2}
 -