workflow model student

This commit is contained in:
XuanHuyen
2025-04-02 15:39:01 +07:00
parent 9a2231043c
commit a0a86fe66c
2 changed files with 19 additions and 1 deletions
@@ -6,6 +6,13 @@
<field name="model">academy.student</field>
<field name="arch" type="xml">
<form string="">
<header>
<button string="Xác nhận" name="action_confirm" type="object"
class="oe_highlight" invisible="state != 'draft'" />
<button string="Tốt nghiệp" name="action_graduate" type="object"
class="oe_highlight" invisible="state != 'confirmed'" />
<field name="state" widget="statusbar" />
</header>
<sheet>
<group>
<field name="name" />