Add button post
This commit is contained in:
parent
7a74398123
commit
2119273ae9
|
@ -3,6 +3,16 @@
|
|||
this repository contains the full copyright notices and license terms. -->
|
||||
<tryton>
|
||||
<data>
|
||||
<record model="ir.model.button" id="staff_liquidation_post_button">
|
||||
<field name="name">post</field>
|
||||
<field name="string">Post</field>
|
||||
<field name="model" search="[('model', '=', 'staff.liquidation')]"/>
|
||||
</record>
|
||||
<record model="ir.model.button-res.group"
|
||||
id="staff_liquidation_post_button_group_account">
|
||||
<field name="button" ref="staff_liquidation_post_button"/>
|
||||
<field name="group" ref="staff.group_staff"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="liquidation_view_form">
|
||||
<field name="model">staff.liquidation</field>
|
||||
|
|
|
@ -12,4 +12,5 @@ this repository contains the full copyright notices and license terms. -->
|
|||
<field name="total_deductions"/>
|
||||
<field name="net_payment"/>
|
||||
<field name="state"/>
|
||||
<button name="post"/>
|
||||
</tree>
|
||||
|
|
Loading…
Reference in New Issue