[FIX] models: in `create`, add translations after setting x2many fields. (#19348)
[FIX] models: in `create`, add translations after setting x2many fields. (#19348)

Otherwise if a record rule is defined on a x2many field on the model, the creation will fail because
ir.translation creation check access rules on the model and in this case, the x2many relation are
not set yet.
ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo