diff --git a/addons/purchase/edi/purchase_order_action_data.xml b/addons/purchase/edi/purchase_order_action_data.xml index 391c61a8e94..d232d360938 100644 --- a/addons/purchase/edi/purchase_order_action_data.xml +++ b/addons/purchase/edi/purchase_order_action_data.xml @@ -35,7 +35,7 @@

Here is a ${object.state in ('draft', 'sent') and 'request for quotation' or 'purchase order confirmation'} from ${object.company_id.name}:

-   REFERENCES
+   OUR REFERENCES
  RFQ number: ${object.name}
  RFQ date: ${object.date_order}
% if object.origin: @@ -109,7 +109,7 @@

Here is a ${object.state in ('draft', 'sent') and 'request for quotation' or 'purchase order confirmation'} from ${object.company_id.name}:

-   REFERENCES
+   OUR REFERENCES
  Order number: ${object.name}
  Order total: ${object.amount_total} ${object.currency_id.name}
  Order date: ${object.date_order}
diff --git a/addons/purchase/purchase.py b/addons/purchase/purchase.py index 99efd15e12d..6358f655d98 100644 --- a/addons/purchase/purchase.py +++ b/addons/purchase/purchase.py @@ -252,7 +252,7 @@ class purchase_order(osv.osv): help="It indicates that an invoice has been validated"), 'invoiced_rate': fields.function(_invoiced_rate, string='Invoiced', type='float'), 'invoice_method': fields.selection([('manual','Based on Purchase Order lines'),('order','Based on generated draft invoice'),('picking','Based on incoming shipments')], 'Invoicing Control', required=True, - readonly=True, states={'draft':[('readonly',False)], 'sent':[('readonly',False)]}, + readonly=True, states={'draft':[('readonly',False)], 'sent':[('readonly',False)],'bid':[('readonly',False)]}, help="Based on Purchase Order lines: place individual lines in 'Invoice Control / On Purchase Order 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 incoming shipments: let you create an invoice when receipts are validated." diff --git a/addons/purchase/purchase_view.xml b/addons/purchase/purchase_view.xml index 8402f9965f5..ff4c7e89f0d 100644 --- a/addons/purchase/purchase_view.xml +++ b/addons/purchase/purchase_view.xml @@ -47,7 +47,7 @@ - + @@ -240,7 +240,7 @@ - + diff --git a/addons/purchase/res_config.py b/addons/purchase/res_config.py index 50525b165b6..4badaa51489 100644 --- a/addons/purchase/res_config.py +++ b/addons/purchase/res_config.py @@ -62,7 +62,7 @@ class purchase_config_settings(osv.osv_memory): '-This installs the module purchase_analytic_plans.'), 'group_analytic_account_for_purchases': fields.boolean('Analytic accounting for purchases', implied_group='purchase.group_analytic_accounting', - help="Allows you to specify an analytic account on purchase orders."), + help="Allows you to specify an analytic account on purchase order lines."), 'module_stock_dropshipping': fields.boolean("Manage dropshipping", help='\nCreates the dropship route and add more complex tests' '-This installs the module stock_dropshipping.'), @@ -88,7 +88,7 @@ class account_config_settings(osv.osv_memory): '-This installs the module purchase_analytic_plans.'), 'group_analytic_account_for_purchases': fields.boolean('Analytic accounting for purchases', implied_group='purchase.group_analytic_accounting', - help="Allows you to specify an analytic account on purchase orders."), + help="Allows you to specify an analytic account on purchase order lines."), } def onchange_purchase_analytic_plans(self, cr, uid, ids, module_purchase_analytic_plans, context=None): diff --git a/addons/purchase/res_config_view.xml b/addons/purchase/res_config_view.xml index 53e3fdb549c..d54adf57db1 100644 --- a/addons/purchase/res_config_view.xml +++ b/addons/purchase/res_config_view.xml @@ -44,6 +44,11 @@