0
我注意到,有幾乎沒有上Odoo V10社區模塊_constraints
聲明,但也有很多_sql_constraints
更改_constraints到_sql_constraints - Odoo V8到V10 Odoo社區
是對_constraints
被棄用,或只是巧合?
我注意到,有幾乎沒有上Odoo V10社區模塊_constraints
聲明,但也有很多_sql_constraints
更改_constraints到_sql_constraints - Odoo V8到V10 Odoo社區
是對_constraints
被棄用,或只是巧合?
_constraints
是定義Python約束的列表(constraint_function, message, fields)
。字段列表指示
廢棄了,因爲版本8.0:使用constrains()
列表(name, sql_definition, message)
_sql_constraints
三元組定義SQL約束生成所述背襯表