문제

how to write a Python function who is called automatically in openerp without an event or a button, i have writed the function but now i called it with a button, but it must be called automatically

도움이 되었습니까?

해결책

function field will get automatically call without any event or button.

If store=True will store the value of the field in database.

Once stored then the functional fields function will not be executed again. If 'store'=False, then every time(any change in the record) the functional field will be executed

from this link you can get more detail: [https://doc.openerp.com/trunk/server/03_module_dev_02/#functional-fields][1]

Hope this help.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top