Hi I have to get the minimum wage of the contract list available in the database.
I am using Odoo 8.
Can you help me to write a function whose return min wage ?
Thanks.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi I have to get the minimum wage of the contract list available in the database.
I am using Odoo 8.
Can you help me to write a function whose return min wage ?
Thanks.
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
1
jul 22
|
3418 | ||
|
1
feb 20
|
3912 | ||
|
0
abr 16
|
2945 | ||
|
2
oct 15
|
10338 | ||
Saudi End of Service
Resuelto
|
|
1
jun 25
|
767 |
def _get_wage_min(self, cr, uid, ids, field_name, arg, context=None):
res = dict.fromkeys(ids, 0.0)
for contract in self.employee_contract_ids.browse(cr, uid, ids, context=context):
res[contract.id] = min([contract.wage])
return res
here is my code