Optional parameters in OpenERP field definitions

I could not find the documentation about additional parameters available for all field types in OpenERP models, so I added what I knew to the documentation field page .

There are a number of parameters that I do not understand, so I will be grateful for the help in the preparation of the documentation. You can post the answers here, and I will update the documents, or you can edit the documents yourself. Any of them are appreciated.

The specific fields for which I had questions are as follows:

  • change_default
  • Context
  • a priority
  • select

The parameter statesmay also use more detailed information.

+3
source share
1

, ? find/openerp | grep "field" , , ? , openerp , , โ€‹โ€‹ ( , ...)

, , , :

  • change_default: , change_default, on_change, , change_default (True False), on_change - , , , , :

    # one2many  assert (self.change_default!= True)

  • ...

: http://openobject.com/wiki/index.php/Developers:Developper%27s_Book/Objects/ObjectsDefine/ObjectsFields

N.B:

  • openerp 5.0.14

  • ,

- , openerp

+2

Source: https://habr.com/ru/post/1771565/


All Articles