pycharm-odoo icon indicating copy to clipboard operation
pycharm-odoo copied to clipboard

Generate compute method on field definition

Open trinhanhngoc opened this issue 2 years ago • 0 comments

Example:

amount = fields.Float(compute='_compute_amount')

We usually set the compute attribute before creating the _compute_amount() method. It would nice if we had a Quick Action to generate the compute method.

trinhanhngoc avatar Nov 24 '22 03:11 trinhanhngoc