Review: Resubmit
Hello,
When create new journal item using menu:Accounting/Customers/Journal Items and
Accounting/Suppliers/Journal Items, record cannot be saved due to keyerror of
company_id.
In the previous fix company_id is not passed while creating new journal item in
if not vals.get('currency_id'):
comp_curr =
self.pool.get('res.company').browse(cr,uid,vals['company_id']).currency_id.id
vals.update(currency_id=comp_curr)
This fixes the issue.
Thanks
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-577235-skh/+merge/118350
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.1-opw-577235-skh.
_______________________________________________
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