Revert "[IMP] hr_payroll_account: Remove unused field"
This reverts commit 89b12e9857.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user