c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #17865
[Bug 726293] Re: default accounts in journal allows selecting invalid company
Hello Albert,
I have checked your issue.
You can have a option to use record rule instead of using domain. The
related record rule already define for multi-company.
Hope you will agree with this.
Correct me if I am wrong.
Thanks.
** Changed in: openobject-addons
Status: New => Incomplete
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/726293
Title:
default accounts in journal allows selecting invalid company
Status in OpenERP Modules (addons):
Incomplete
Bug description:
If user has multi-company rights she can select accounts from any
company as default credit/debit accounts.
The attached patch changes the domain of default-account fields so
only accounts from current company can be selected. However, the patch
does not include a check constraint that IMHO it should be added to
ensure account and journal companies match because the patch does not
prevent the user from selecting another company once accounts have
been filled in.
Regarding the patch, note that I've removed the domain from the view
and left only the domain in the .py file.
References