c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #08791
[Bug 691541] Re: Company ID in properties
Hello,
I have tested your scenario at my end with the latest code. Fortunately
it is working normally with respect to the company's account. I have
installed the "multi_company" module and configured the chart of
accounts for different company. Have you checked the issue with the
installation of "multi_company" module. If it was then let we know about
it.
Thanks.
** Changed in: openobject-server
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/691541
Title:
Company ID in properties
Status in OpenObject Server:
Incomplete
Bug description:
We did the following test on OE server 6-trunk:
In multi-company mode:
1. the user is working for company A
1. setup the accounts receivable/Payable for a partner
2. change the company the user is working for (user preferences): the company B for example
3. setup other accounts receivable/Payable for the partner (select for the new company)
4. change your user's company: re-select company A
5. reload your partner: the account properties will keep the ones with the highest Database ID, ignoring the company
We've looked at the source: osv/fields.py, class: property
1. the function: _fnct_write( .... ) seems to use the user's default company
2. in the function: _fnct_read( ... ), this does not look really obvious that the user's company is taken into account
We suspect that the write process is correct, and the read process seems to fail
Best regards
References