Help

0

when i am getting salary date in other module it return false..but i have value

Avatar
Muhammad Yaseen

IN odoo 10
class HrPayslipMultiCompany(models.Model):
_inherit = 'hr.payslip.run'
salary_date = fields.Date("Salary Date")
<xpath expr="//field[@name='journal_id']" position="after">
<field name="salary_date"/>
</xpath>
salary_d = self.env['hr.payslip.run'].search([('salary_date', '!=', False)])
print (salary_d)
output:hr.payslip.run(5,)

1 Comment
Avatar
Discard
Avatar
Manish Kumar Bohra
-

Can provide more details because your information is not enogh so solve your problem.