FIX hr_holidays_lunch_voucher and hr_holidays_lunch_voucher_natixis

This commit is contained in:
Alexis de Lattre
2017-12-19 12:23:15 +01:00
parent 295bf50cea
commit 559c301f2c
3 changed files with 9 additions and 8 deletions

View File

@@ -11,4 +11,5 @@ class PurchaseConfigSettings(models.TransientModel):
lunch_voucher_product_id = fields.Many2one(
related='company_id.lunch_voucher_product_id')
lunch_voucher_employer_price = fields.Monetary(
related='company_id.lunch_voucher_employer_price')
related='company_id.lunch_voucher_employer_price',
currency_field='company_currency_id')