Skip to content

Commit

Permalink
[REF] l10n_br_base: test proof parent_id demo
Browse files Browse the repository at this point in the history
  • Loading branch information
rvalyi committed Dec 28, 2024
1 parent a2d95aa commit e9c8c99
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions l10n_br_base/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@ def post_init_hook(cr, registry):
if module.demo:
for partner in env["res.partner"].search([]):
partner.legal_name = partner.name
env.ref("l10n_br_base.res_partner_cliente2_sp_end_entrega").parent_id = env.ref(
"l10n_br_base.res_partner_cliente2_sp"
).id
env.ref("l10n_br_base.res_partner_cliente7_rs_end_cobranca").parent_id = (
env.ref("l10n_br_base.res_partner_cliente7_rs").id
)

0 comments on commit e9c8c99

Please sign in to comment.