Revert "[IMP] hr_payroll_account: Remove unused field"

This reverts commit 89b12e9857.
This commit is contained in:
Yannick Tivisse
2019-01-23 18:36:40 +01:00
parent 92d5a4bce5
commit 0fa32b27c8
2 changed files with 2 additions and 0 deletions
@@ -154,6 +154,7 @@ class HrContract(models.Model):
_inherit = 'hr.contract'
_description = 'Employee Contract'
analytic_account_id = fields.Many2one('account.analytic.account', 'Analytic Account')
journal_id = fields.Many2one('account.journal', 'Salary Journal')
class HrPayslipRun(models.Model):
@@ -42,6 +42,7 @@
<field name="arch" type="xml">
<xpath expr="//group[@name='duration_group']" position="after">
<group string="Accounting">
<field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
<field name="journal_id"/>
</group>
</xpath>