Khushboo Bhatt(openerp) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-1083077-kbh into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #1083077 in OpenERP Addons: "[sale_stock ] sale line properties missing
on a procurement"
https://bugs.launchpad.net/openobject-addons/+bug/1083077
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1083077-kbh/+merge/136643
hello,
solved issue When you assign properties for a sale order line and confirm
order, you don't find them on a related procurement.
thanks,
KBH
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1083077-kbh/+merge/136643
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-1083077-kbh.
=== modified file 'sale_stock/sale_stock.py'
--- sale_stock/sale_stock.py 2012-11-02 17:42:00 +0000
+++ sale_stock/sale_stock.py 2012-11-28 12:43:21 +0000
@@ -278,6 +278,7 @@
or line.product_uom.id,
'location_id': order.shop_id.warehouse_id.lot_stock_id.id,
'procure_method': line.type,
+ 'property_ids': [(6, 0, [l.id for l in line.property_ids])],
'move_id': move_id,
'company_id': order.company_id.id,
'note': '\n'.join(line.name.split('\n')[1:])
_______________________________________________
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