mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
MIG maintenance_purchase_detail For Odoo 12.0
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
'name': 'Equipment Purchase Detail',
|
||||
'version': '11.0.1.0.0',
|
||||
'version': '12.0.1.0.0',
|
||||
'author': 'Hibou Corp. <hello@hibou.io>',
|
||||
'category': 'Human Resources',
|
||||
'summary': 'Record purchase date and details on Equipments.',
|
||||
|
||||
@@ -5,12 +5,7 @@
|
||||
<field name="model">maintenance.equipment</field>
|
||||
<field name="inherit_id" ref="maintenance.hr_equipment_view_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[@name='button_box']" position="inside">
|
||||
<button name="toggle_active" type="object" class="oe_stat_button" icon="fa-archive">
|
||||
<field name="active" widget="boolean_button" options="{"terminology": "archive"}"/>
|
||||
</button>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='warranty']" position="after">
|
||||
<xpath expr="//field[@name='warranty_date']" position="after">
|
||||
<field name="purchase_date"/>
|
||||
<field name="purchase_condition"/>
|
||||
<field name="purchase_note"/>
|
||||
|
||||
Reference in New Issue
Block a user