c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #10808
[Bug 694124] Re: cannot make a sale order correctly
We can try to implement a workaround for this in the framework, but the behavior is quite correct: apparently the web client is trying to write to the "company_id" field that is hidden, readonly, and has not been modified by the user.
As the company_id field of the sale.order is a related field on the sale.shop, you cannot write to it as a mere Sales/User.
BTW after v6.0 we should really modify the web client to make sure it
does not try to write() fields that have not been modified.
** Changed in: openobject-server
Status: Triaged => In Progress
--
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/694124
Title:
cannot make a sale order correctly
Status in OpenObject Server:
In Progress
Bug description:
in web client
(firefox)
Create a db with sale application installed. Create a user with only 2 groups : internal user and sales/User. As this user :
- create a sale order
- try to confirm or save it
-> Warning : You can not write in this document! (sale.shop)
- try to go to an other page (e.g. opportunity)
-> Message : The record has been modified Do you want to save it ?
- cancel this message
- go back into sale order list
- You can see the SO you have just created
If you open the form view, you can then confirm it and create the invoice.
Access rights are good because in GTK, it works well.
References