How to hide an options from ‘More’ button?

Hello everyone. In this post tutorial, we will learn how to hide options from ‘More’ drop-down in Odoo10 and Odoo10-Enterprise. Continue reading

Advertisements

How to use @api.depends decorated method?

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