Kirti Savalia(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.1-opw-576620-ksa into
lp:openobject-addons/6.1.
Requested reviews:
Frédéric Bernoud (frederic-bernoud)
Naresh(OpenERP) (nch-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-576620-ksa/+merge/114332
Hello,
I have fixed problem of compute button.When we have install sale_layout and
sale module compute button not work properly.
Tested it with and without installing sale_layout and it works.
Thanks
KSA
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-576620-ksa/+merge/114332
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.1-opw-576620-ksa.
=== modified file 'sale/sale.py'
--- sale/sale.py 2012-02-16 16:52:53 +0000
+++ sale/sale.py 2012-07-11 05:12:22 +0000
@@ -248,19 +248,19 @@
'amount_untaxed': fields.function(_amount_all, digits_compute= dp.get_precision('Sale Price'), string='Untaxed Amount',
store = {
- 'sale.order': (lambda self, cr, uid, ids, c={}: ids, ['order_line'], 10),
+ 'sale.order': (lambda self, cr, uid, ids, c={}: ids, ['order_line','abstract_line_ids'], 10),
'sale.order.line': (_get_order, ['price_unit', 'tax_id', 'discount', 'product_uom_qty'], 10),
},
multi='sums', help="The amount without tax."),
'amount_tax': fields.function(_amount_all, digits_compute= dp.get_precision('Sale Price'), string='Taxes',
store = {
- 'sale.order': (lambda self, cr, uid, ids, c={}: ids, ['order_line'], 10),
+ 'sale.order': (lambda self, cr, uid, ids, c={}: ids, ['order_line','abstract_line_ids'], 10),
'sale.order.line': (_get_order, ['price_unit', 'tax_id', 'discount', 'product_uom_qty'], 10),
},
multi='sums', help="The tax amount."),
'amount_total': fields.function(_amount_all, digits_compute= dp.get_precision('Sale Price'), string='Total',
store = {
- 'sale.order': (lambda self, cr, uid, ids, c={}: ids, ['order_line'], 10),
+ 'sale.order': (lambda self, cr, uid, ids, c={}: ids, ['order_line','abstract_line_ids'], 10),
'sale.order.line': (_get_order, ['price_unit', 'tax_id', 'discount', 'product_uom_qty'], 10),
},
multi='sums', help="The total amount."),
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp