Answers for "odoo api model"

0

odoo api model

@api.model
def _read_group_selection_field(self, values, domain, order):
    return ['choice1', 'choice2', ...] # available selection choices.

@api.model
def _read_group_many2one_field(self, records, domain, order):
    return records + self.search([custom_domain])
Posted by: Guest on June-05-2021

Browse Popular Code Answers by Language