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:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
Bu soru işaretlendi
1774
Görünümler
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Ol
Can provide more details because your information is not enogh so solve your problem.