c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #17693
[Bug 726293] [NEW] default accounts in journal allows selecting invalid company
Public bug reported:
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.
** Affects: openobject-addons
Importance: Undecided
Status: New
** Tags: nan
--
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):
New
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.
Follow ups
References