[IMP] better view

bzr revid: fp@tinyerp.com-20111116150941-piwo8wjmcui8h4ur
This commit is contained in:
Fabien Pinckaers 2011-11-16 16:09:41 +01:00
parent 936a71490f
commit afe678121f
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ class sale_order(osv.osv):
- The 'Invoice on order after delivery' choice will generate the draft invoice based on sales order after all picking lists have been finished.
- The 'Invoice based on deliveries' choice is used to create an invoice during the picking process."""),
'pricelist_id': fields.many2one('product.pricelist', 'Pricelist', required=True, readonly=True, states={'draft': [('readonly', False)]}, help="Pricelist for current sales order."),
'project_id': fields.many2one('account.analytic.account', 'Analytic Account', readonly=True, states={'draft': [('readonly', False)]}, help="The analytic account related to a sales order."),
'project_id': fields.many2one('account.analytic.account', 'Contract/Analytic Account', readonly=True, states={'draft': [('readonly', False)]}, help="The analytic account related to a sales order."),
'order_line': fields.one2many('sale.order.line', 'order_id', 'Order Lines', readonly=True, states={'draft': [('readonly', False)]}),
'invoice_ids': fields.many2many('account.invoice', 'sale_order_invoice_rel', 'order_id', 'invoice_id', 'Invoices', readonly=True, help="This is the list of invoices that have been generated for this sales order. The same sales order may have been invoiced in several times (by line for example)."),