From f05662959c7d28226f0f918b0d5a7e6270b9ce88 Mon Sep 17 00:00:00 2001 From: Marco Calcagni Date: Sat, 9 Dec 2017 15:25:45 +0100 Subject: [PATCH] [FIX] Travis check and readonly on company_id (#25) * [FIX] Travis check and readonly on company_id * [FIX] Travis check and readonly on company_id --- l10n_it_withholding_tax/views/withholding_tax.xml | 4 ++-- l10n_it_withholding_tax_payment/models/withholding_tax.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/l10n_it_withholding_tax/views/withholding_tax.xml b/l10n_it_withholding_tax/views/withholding_tax.xml index 4492516eeeb7..dab405dc804e 100644 --- a/l10n_it_withholding_tax/views/withholding_tax.xml +++ b/l10n_it_withholding_tax/views/withholding_tax.xml @@ -123,7 +123,7 @@ - + @@ -221,7 +221,7 @@ - + diff --git a/l10n_it_withholding_tax_payment/models/withholding_tax.py b/l10n_it_withholding_tax_payment/models/withholding_tax.py index 2b798db441ac..ec9484d04073 100644 --- a/l10n_it_withholding_tax_payment/models/withholding_tax.py +++ b/l10n_it_withholding_tax_payment/models/withholding_tax.py @@ -33,7 +33,7 @@ def check_unlink(self): raise ValidationError( _('Warning! Withholding Tax moves in a payment: {}' .format( - wt_moves_not_eresable[0].sudo().wt_move_payment_id.name))) + wt_moves_not_eresable[0].sudo().wt_move_payment_id.name))) super(WithholdingTaxMove, self).check_unlink()