Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3836 Widoki

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

Awatar
Odrzuć

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

Najlepsza odpowiedź

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

Awatar
Odrzuć