make 2 [store=True] for fields tax, and amount total
bzr revid: mga@tinyerp.com-20081203144401-wpxzcy2e4lt0p7kz
This commit is contained in:
+2
-2
@@ -232,8 +232,8 @@ class sale_order(osv.osv):
|
||||
fnct_search=_invoiced_search, type='boolean'),
|
||||
'note': fields.text('Notes'),
|
||||
'amount_untaxed': fields.function(_amount_untaxed, method=True, string='Untaxed Amount'),
|
||||
'amount_tax': fields.function(_amount_tax, method=True, string='Taxes'),
|
||||
'amount_total': fields.function(_amount_total, method=True, string='Total'),
|
||||
'amount_tax': fields.function(_amount_tax, method=True, string='Taxes', store=True),
|
||||
'amount_total': fields.function(_amount_total, method=True, string='Total', store=True),
|
||||
'invoice_quantity': fields.selection([('order','Ordered Quantities'),('procurement','Shipped Quantities')], 'Invoice on', help="The sale order will automatically create the invoice proposition (draft invoice). Ordered and delivered quantities may not be the same. You have to choose if you invoice based on ordered or shipped quantities. If the product is a service, shipped quantities means hours spent on the associated tasks.",required=True),
|
||||
'payment_term' : fields.many2one('account.payment.term', 'Payment Term'),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user