Bharat Devnani (Open ERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-838501-bde into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #838501 in OpenERP Addons: "pos line total does not include tax"
https://bugs.launchpad.net/openobject-addons/+bug/838501
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-838501-bde/+merge/74593
Hello Sir,
I have applied the changes suggested by Jonathan Wilson, and now its working as
per the functionality.
Thanks & Regards,
Devnani Bharat R.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-838501-bde/+merge/74593
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-838501-bde.
=== modified file 'point_of_sale/point_of_sale.py'
--- point_of_sale/point_of_sale.py 2011-07-08 09:22:32 +0000
+++ point_of_sale/point_of_sale.py 2011-09-08 12:59:25 +0000
@@ -1021,7 +1021,7 @@
price = line.price_unit * (1 - (line.discount or 0.0) / 100.0)
computed_taxes = account_tax_obj.compute_all(cr, uid, taxes, price, line.qty)
cur = line.order_id.pricelist_id.currency_id
- res[line.id][f] = self.pool.get('res.currency').round(cr, uid, cur, computed_taxes['total'])
+ res[line.id][f] = self.pool.get('res.currency').round(cr, uid, cur, computed_taxes['total_included'])
return res
def price_by_product_multi(self, cr, uid, ids, context=None):
_______________________________________________
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