workflow model student
This commit is contained in:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user