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,)
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1293
Views
Can provide more details because your information is not enogh so solve your problem.