I know that i can hack it but let's be reasonable: it's a big problem. There should be something like that:
<record id="hr.employee" model="hr.employee" check_existance="1"> <field name="journal_id" ref="analytic_journal"/> </record>
that record will not be modified if that id is not existing (aka after deleting the admin employee)
I know that i can hack it but let's be reasonable: it's a big problem.
There should be something like that:
<record id="hr.employee" model="hr.employee" check_existance ="1"> journal" />
<field name="journal_id" ref="analytic_
</record>
that record will not be modified if that id is not existing (aka after deleting the admin employee)