parent
765fdf49df
commit
caae11daa1
|
@ -228,7 +228,7 @@ class sale_order(osv.osv):
|
||||||
|
|
||||||
'order_line': fields.one2many('sale.order.line', 'order_id', 'Order Lines', readonly=True, states={'draft':[('readonly',False)]}),
|
'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', 'Invoice', help="This is the list of invoices that have been generated for this sale order. The same sale order may have been invoiced in several times (by line for example)."),
|
'invoice_ids': fields.many2many('account.invoice', 'sale_order_invoice_rel', 'order_id', 'invoice_id', 'Invoice', help="This is the list of invoices that have been generated for this sale order. The same sale order may have been invoiced in several times (by line for example)."),
|
||||||
'picking_ids': fields.one2many('stock.picking', 'sale_id', 'Packing List', readonly=True, help="This is the list of picking list that have been generated for this invoice"),
|
'picking_ids': fields.one2many('stock.picking', 'sale_id', 'Related Packings', readonly=True, help="This is the list of picking list that have been generated for this invoice"),
|
||||||
'shipped':fields.boolean('Picked', readonly=True),
|
'shipped':fields.boolean('Picked', readonly=True),
|
||||||
'picked_rate': fields.function(_picked_rate, method=True, string='Picked', type='float'),
|
'picked_rate': fields.function(_picked_rate, method=True, string='Picked', type='float'),
|
||||||
'invoiced_rate': fields.function(_invoiced_rate, method=True, string='Invoiced', type='float'),
|
'invoiced_rate': fields.function(_invoiced_rate, method=True, string='Invoiced', type='float'),
|
||||||
|
|
|
@ -174,7 +174,6 @@
|
||||||
<page groups="base.group_extended" string="History">
|
<page groups="base.group_extended" string="History">
|
||||||
<separator colspan="4" string="Related invoices"/>
|
<separator colspan="4" string="Related invoices"/>
|
||||||
<field colspan="4" name="invoice_ids" nolabel="1"/>
|
<field colspan="4" name="invoice_ids" nolabel="1"/>
|
||||||
<separator colspan="4" string="Related packings"/>
|
|
||||||
<field colspan="4" name="picking_ids" nolabel="1"/>
|
<field colspan="4" name="picking_ids" nolabel="1"/>
|
||||||
</page>
|
</page>
|
||||||
</notebook>
|
</notebook>
|
||||||
|
|
Loading…
Reference in New Issue