@api.multi def multi_fct(self): i = 0 for record in self: i += record.value return i @api.depends('qty') def multi_fct(self): i = 0 for record in self: i += record.value * record.qty return i
@api.multi def multi_fct(self): i = 0 for record in self: i += record.value return i @api.depends('qty') def multi_fct(self): i = 0 for record in self: i += record.value * record.qty return i
How useful was this post?
This code bellow will redirect the user to customer invoice page, you will be able to set the model you…
Sql query in Odoo model
This is a basic email template to put in the xml file: if the module name is abc and the…
Odoo 9 community doesn't come with autoban security. Fail2ban is an alternative to secure Odoo authentication. For more information concerning…