Amit Dodiya (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.1-opw-577481-ado into
lp:openobject-addons/6.1.
Requested reviews:
Olivier Dony (OpenERP) (odo-openerp)
Naresh(OpenERP) (nch-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-577481-ado/+merge/118322
Hello,
"[FIX] (1) In Journal Items view the product name is presented in English
instead of partner's language while journal items created from Incoming
shipments / Delivery Orders (2) When system receive or deliver goods and there
are no stock input or stock output account defined for the product you get a
warning message in that message product name is not translated in partners
language"
Steps :
(1). In Journal Items view the product name is presented in English instead of
partner's language while journal items created from Incoming shipments /
Delivery Orders
1.1) Set dutch language in axelor,
1.2) Create an incoming shipment with Axelor and select the product which
contains the translation for name(rg: Ice-cream), Process the incoming
shipment, you will see the product name is not translated in journal items
created from incoming shipment.
(2). When system receive or deliver goods and there are no stock input or stock
output account defined for the product you get a warning message in that
message product name is not translated in partners language
1.1) Remove the income account and expense account from a product
1.2) Create an incoming shipment and try to process it, you will get warning
message in which the product name is not translated.
Regards,
Amit Dodiya
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-577481-ado/+merge/118322
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.1-opw-577481-ado.
=== modified file 'stock/stock.py'
--- stock/stock.py 2012-07-23 11:04:55 +0000
+++ stock/stock.py 2012-08-06 09:30:26 +0000
@@ -1309,12 +1309,12 @@
wf_service.trg_validate(uid, 'stock.picking', new_picking, 'button_confirm', cr)
# Then we finish the good picking
self.write(cr, uid, [pick.id], {'backorder_id': new_picking})
- self.action_move(cr, uid, [new_picking])
+ self.action_move(cr, uid, [new_picking], context=context)
wf_service.trg_validate(uid, 'stock.picking', new_picking, 'button_done', cr)
wf_service.trg_write(uid, 'stock.picking', pick.id, cr)
delivered_pack_id = new_picking
else:
- self.action_move(cr, uid, [pick.id])
+ self.action_move(cr, uid, [pick.id], context=context)
wf_service.trg_validate(uid, 'stock.picking', pick.id, 'button_done', cr)
delivered_pack_id = pick.id
_______________________________________________
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