Skip to Content
Menu
This question has been flagged
1379 Views

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,)

Avatar
Discard

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