Hello everyone. In this post tutorial, we will learn how to hide options from ‘More’ drop-down in Odoo10 and Odoo10-Enterprise. Continue reading
Hello everyone. Today I’m gonna explain you how to use @api.depends decorated method.
First of all, the fields can be computed (instead of read from the database) using the compute parameter, it must assign the computed value to the field, it uses the values of other fields from the same model or others model (unlike @api.onchange which work only with the fields in the same view), it should specify fields using depends(). Continue reading
Hello everyone. In this blog-post we will learn how onchange function works.
When we want to change a field’s value in a form (but hasn’t saved the form yet), onchange can be useful to automarically update other fields based on that value.