This question has been flagged
1 Reply
3226 Views

In V 7, why is invoice_quantity hidden ?

From the view sale.order.form.sale.stock

<field name="picking_policy" required="True"/> 
<field name="order_policy" on_change="shipping_policy_change(order_policy)"/> 
<field name="invoice_quantity" invisible="True"/>
Avatar
Discard
Best Answer

The field invoice_quantity originally comes from module sale and is only required as long as module sale.stock is not installed. As soon as sale.stock is going to be installed, the field invoice_quantity is not required anymore because it is functionally replaced by field order_policy.

It has been designed this way to keep the modularity of OpenERP.

Avatar
Discard
Author

Ok, but for me 'invoice_quantity' cannot be replaced by 'order_policy' as I'm now unable to have a final invoice, from the sale order, that take into account an advanced invoice and the REAL quantity delivered.