MIG hr_workers_comp For Odoo 13.0

This commit is contained in:
Bhoomi
2019-09-11 19:00:51 -04:00
parent cafba340d5
commit ecc12219e3
6 changed files with 12 additions and 10 deletions

View File

@@ -1 +1 @@
from . import contract
from . import models

View File

@@ -3,20 +3,21 @@
'author': 'Hibou Corp. <hello@hibou.io>',
'license': 'AGPL-3',
'category': 'Human Resources',
'depends': ['hr_contract'],
'version': '12.0.1.0.0',
'website': 'https://hibou.io/',
'version': '13.0.1.0.0',
'description': """
Workers' Compensation Class
===========================
Provides a model to keep track of Workers' Comp. Class Codes and Rates.
""",
'auto_install': False,
'website': 'https://hibou.io/',
'data':[
'ir.model.access.csv',
'contract_views.xml',
'depends': [
'hr_contract',
],
'data':[
'security/ir.model.access.csv',
'views/contract_views.xml',
],
'auto_install': False,
'installable': True
}

View File

@@ -0,0 +1 @@
from . import contract

View File

@@ -65,7 +65,7 @@
<field name="model">hr.contract</field>
<field name="inherit_id" ref="hr_contract.hr_contract_view_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='type_id']" position="after">
<xpath expr="//field[@name='structure_type_id']" position="after">
<field name="wc_code_id"/>
</xpath>
</field>