Merge lp:~openerp-dev/openobject-addons/6.1-opw-577481-ado into lp:openobject-addons/6.1

Proposed by Amit Dodiya (OpenERP)
Status: Approved
Approved by: Naresh(OpenERP)
Approved revision: 6935
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-577481-ado
Merge into: lp:openobject-addons/6.1
Diff against target: 17 lines (+2/-2)
1 file modified
stock/stock.py (+2/-2)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-577481-ado
Reviewer Review Type Date Requested Status
Naresh(OpenERP) (community) Approve
Olivier Dony (Odoo) Pending
Review via email: mp+118322@code.launchpad.net

Description of the change

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

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) :
review: Approve
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello,

This bug was qualified as Already Fixed on Trunk (means that it was already fixed and merged in Trunk). If this Merge Proposal could not be merged in v6.1 at the release of v7.0, it will be closed.

Thanks,
Naresh Soni

Unmerged revisions

6935. By Amit Dodiya<email address hidden>

[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

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'stock/stock.py'
2--- stock/stock.py 2012-07-23 11:04:55 +0000
3+++ stock/stock.py 2012-08-06 09:30:26 +0000
4@@ -1309,12 +1309,12 @@
5 wf_service.trg_validate(uid, 'stock.picking', new_picking, 'button_confirm', cr)
6 # Then we finish the good picking
7 self.write(cr, uid, [pick.id], {'backorder_id': new_picking})
8- self.action_move(cr, uid, [new_picking])
9+ self.action_move(cr, uid, [new_picking], context=context)
10 wf_service.trg_validate(uid, 'stock.picking', new_picking, 'button_done', cr)
11 wf_service.trg_write(uid, 'stock.picking', pick.id, cr)
12 delivered_pack_id = new_picking
13 else:
14- self.action_move(cr, uid, [pick.id])
15+ self.action_move(cr, uid, [pick.id], context=context)
16 wf_service.trg_validate(uid, 'stock.picking', pick.id, 'button_done', cr)
17 delivered_pack_id = pick.id
18