Currently, models account.account or account.tax have a m2o field to its template. That means that if we remove an account or tax from the template file (account_es, account_fr, etc), accounts cannot be removed from account.template (or account.tax.template) tables.
That sounds a bit strange to me, as the idea of separating account.template and account.account should be precisely that templates keep changing over time, but not the accounts.
So, do you think adding a “SET NULL” to cascade’s of m2o field be appropriate?
template = fields.Many2One(‘account.template’, ‘Template’, cascade=‘SET NULL’)