openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #08454
[Bug 546937] Re: on_change method --> changes values --> in create: error no values found
*** This bug is a duplicate of bug 378824 ***
https://bugs.launchpad.net/bugs/378824
** This bug has been marked a duplicate of bug 378824
field attribute readonly=True
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/546937
Title:
on_change method --> changes values --> in create: error no values
found
Status in OpenERP Server:
Invalid
Bug description:
Hello,
I made a model that contains readonly and required fields. This model
has an on_change action. This action modifies the values of these
fields.
If I create an object of this model, it gets me the error "null value
for column 'customer_id' violates the constraint not null", but the
value is in the form. If I print the vals dictionary, it's not
complete.
This error appears in the web client and "desktop" client.
I use the 5.0.6 version.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/546937/+subscriptions