← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 655670] Re: Record rule ignored after successful save

 

Hello,

Would you please update your code and check the issue again.I have
tested the scenario on my end with the latest code and it works fine. I
have checked with a new record rule on product.template object and put
the domain on selection field "type" with the read and delete access and
added only one group Sales/User. Then i made a test user with the
Sales/User group and tried the scenario after logged in as a test user
and it works fine.

Thanks.

** Changed in: openobject-server
       Status: New => Invalid

-- 
Record rule ignored after successful save
https://bugs.launchpad.net/bugs/655670
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Server: Invalid

Bug description:
A rule to prevent create/write when a condition is met in a selection field is triggered on the first save, thus giving an AccessError. Upon changing the selection field again to a condition that allows the update, the record is saved - as expected. Finally, when changing the selection field again to the condition that shouldn't allow saving - the rule is ignored and the record is saved.