Ashvin Rathod (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-810548-ara into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #810548 in OpenERP Addons: "multi-company invoice validation error"
https://bugs.launchpad.net/openobject-addons/+bug/810548
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-810548-ara/+merge/68816
Hello,
Fix: multi-company invoice validation error
Thanks,
ara
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-810548-ara/+merge/68816
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-810548-ara.
=== modified file 'account/account_move_line.py'
--- account/account_move_line.py 2011-07-11 22:23:50 +0000
+++ account/account_move_line.py 2011-07-22 10:29:38 +0000
@@ -584,7 +584,7 @@
def _check_company_id(self, cr, uid, ids, context=None):
lines = self.browse(cr, uid, ids, context=context)
for l in lines:
- if l.company_id != l.account_id.company_id or l.company_id != l.period_id.company_id:
+ if l.company_id != l.period_id.company_id:
return False
return True
_______________________________________________
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