I would like to know if anyone knows how to clear the selection of a many2one field when a checkbox is decelerated, that is, it is empty.
Code xml:
Code Python:
analytic_level_1_show = fields.Boolean(string="Level 1")
analytic_level_1 = fields.Many2one('account.analytic.level', 'analytic_level_1', domain="[('is_level', '=', True),('level_1', '=', True)]",)