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
1379
Views
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
Can provide more details because your information is not enogh so solve your problem.