Model Default Values

Hi,

I have a general question: Where are the default values defined that are filled in when opening a form e.g. the product-variant data when I create a new product-template. Is it always only from the default_x() class method?
Because I extended the product model with a Dict field that seems to get initialized with some value that I did not set anywhere.
Thanks

Normally yes, except if default_get is modified.

Also on_change’s can be triggered by the client during the filling of new record.

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.