fix(sub12a): rename _seed_default_inputs → action_seed_default_inputs

Odoo 19 rejects view buttons that call private (underscore-prefixed)
methods. Renamed the public entry point. The post_init_hook callers
follow.

Caught by entech upgrade (ParseError on the form view).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsinghpal
2026-04-27 20:43:26 -04:00
parent d6cdae30ec
commit 5494684181
3 changed files with 9 additions and 5 deletions

View File

@@ -30,7 +30,7 @@
<field name="arch" type="xml">
<form string="Step Library Template">
<header>
<button name="_seed_default_inputs" type="object"
<button name="action_seed_default_inputs" type="object"
string="Seed Default Inputs" class="btn-secondary"
invisible="not default_kind"/>
</header>