Mayur Maheshwari(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-904180-mma into
lp:openobject-addons.
Requested reviews:
Rucha (Open ERP) (rpa-openerp)
Related bugs:
Bug #904180 in OpenERP Addons: "delivery method, not free if more than an
specific amount"
https://bugs.launchpad.net/openobject-addons/+bug/904180
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-904180-mma/+merge/85845
Hello,
delivery: I Have set a price on delivery method
Thanks.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-904180-mma/+merge/85845
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-904180-mma.
=== modified file 'delivery/delivery.py'
--- delivery/delivery.py 2011-10-16 01:28:00 +0000
+++ delivery/delivery.py 2011-12-15 12:09:00 +0000
@@ -188,7 +188,7 @@
volume = 0
for line in order.order_line:
if not line.product_id:
- continue
+ total += line.price_subtotal or 0.0
total += line.price_subtotal or 0.0
weight += (line.product_id.weight or 0.0) * line.product_uom_qty
volume += (line.product_id.volume or 0.0) * line.product_uom_qty
_______________________________________________
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