Odoo Help

0

store value with function field

By
zineb
on 3/12/13, 12:28 PM 1,191 views

With function field, how can I save the value of the field unless the object is not in draft mode ?

Please do not post duplicate questions. See http://help.openerp.com/question/5522/function-field/

Andreas Brueckl
on 3/12/13, 5:34 PM
2
Cyril Gaspard (GEM)
On 3/12/13, 5:24 PM

Hi,

I never tested with argument store, but should work, try :

in file view add this attribute in field :

attrs="{'store': [('state', '=', 'draft')]}"

update module and view.

naturally field state must be present as a field or in context.

Bye

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 3/12/13, 12:28 PM
Seen: 1191 times
Last updated: 3/16/15, 8:10 AM