[MERGE] changes with purchase, renaming field name and menu name

bzr revid: rco@openerp.com-20110708090142-gstyhmnfauldknl8
This commit is contained in:
Raphael Collet
2011-07-08 11:01:42 +02:00
4 changed files with 11 additions and 5 deletions
+8 -2
View File
@@ -56,7 +56,7 @@ msgstr ""
#. module: purchase
#: selection:purchase.order,invoice_method:0
msgid "From Picking"
msgid "From Reception"
msgstr ""
#. module: purchase
@@ -883,7 +883,13 @@ msgstr ""
#. module: purchase
#: model:ir.actions.act_window,name:purchase.purchase_line_form_action2
#: model:ir.ui.menu,name:purchase.menu_purchase_line_order_draft
msgid "Purchase Lines Not Invoiced"
msgid "On Purchase Order Line"
msgstr ""
#. module: purchase
#: model:ir.actions.act_window,name:purchase.action_picking_tree4_picking_to_invoice
#: model:ir.ui.menu,name:purchase.action_picking_tree4_picking_to_invoice
msgid "On Receptions"
msgstr ""
#. module: purchase
+1 -1
View File
@@ -188,7 +188,7 @@ class purchase_order(osv.osv):
'shipped_rate': fields.function(_shipped_rate, method=True, string='Received', type='float'),
'invoiced': fields.function(_invoiced, method=True, string='Invoiced & Paid', type='boolean', help="It indicates that an invoice has been paid"),
'invoiced_rate': fields.function(_invoiced_rate, method=True, string='Invoiced', type='float'),
'invoice_method': fields.selection([('manual','Manual'),('order','From Order'),('picking','From Picking')], 'Invoicing Control', required=True,
'invoice_method': fields.selection([('manual','Manual'),('order','From Order'),('picking','From Reception')], 'Invoicing Control', required=True,
help="From Order: a draft invoice will be pre-generated based on the purchase order. The accountant " \
"will just have to validate this invoice for control.\n" \
"From Picking: a draft invoice will be pre-generated based on validated receptions.\n" \
+1 -1
View File
@@ -455,7 +455,7 @@
<record id="purchase_line_form_action2" model="ir.actions.act_window">
<field name="name">Purchase Lines Not Invoiced</field>
<field name="name">On Purchase Order Line</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">purchase.order.line</field>
<field name="domain">[('order_id.invoice_method','&lt;&gt;','picking'), ('state','in',('confirmed','done')), ('invoiced', '=', False)]</field>
+1 -1
View File
@@ -103,7 +103,7 @@
</record>
<record id="action_picking_tree4_picking_to_invoice" model="ir.actions.act_window">
<field name="name">Picking to Invoice</field>
<field name="name">On Receptions</field>
<field name="res_model">stock.picking</field>
<field name="type">ir.actions.act_window</field>
<field name="view_type">form</field>