[EMAIL PROTECTED] wrote:
> Hi!
> The situation is simple: there are 2 fields. An on_change method for field1 
> changes the value of field2 and an attrs sets field2 readonly. Now if the 
> object is saved, the client calls the write() method on the server but it 
> doesn't ask it to save field2. So the result is that although the user saw 
> the value of field2 change and he clicked on the save button, the changes 
> would not be saved.
> This is trunk version.
> Is this behavior normal and what could be the solution? Putting 
> object.write() in the on_change method would save the changes even if the 
> user clicked on "don't save". So this is not the right way of solving this 
> problem.
> 
> Thanks in advance,
> Gábor
> 

It's the same bug as: https://bugs.launchpad.net/openerp/+bug/301627
Automatic changes are not updated...

-- 
Christophe Simonis
Developer
OpenERP - Tiny sprl
Chaussée de Namur, 40
B-1367 Gérompont
Tel: +32.81.81.37.00
Web: http://openerp.com
Blog: http://christophe-simonis-at-tiny.blogspot.com

Tiny ERP - Size does matter
  -- Marty Tennison, 2006
begin:vcard
fn:Christophe Simonis
n:Simonis;Christophe
org:Tiny SPRLU
adr;quoted-printable;quoted-printable:;;Chauss=C3=A9e de Namur 40;Grand Rosi=C3=A8re;;1367;Belgique
email;internet:[EMAIL PROTECTED]
title:Developer
tel;work:+3281813700
x-mozilla-html:FALSE
url:http://tiny.be
version:2.1
end:vcard

_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to