Skip to content

Commit

Permalink
[FIX] Travis check and readonly on company_id (OCA#25)
Browse files Browse the repository at this point in the history
* [FIX] Travis check and readonly on company_id

* [FIX] Travis check and readonly on company_id
  • Loading branch information
MarcoCalcagni authored and SimoRubi committed Aug 7, 2019
1 parent 7d37856 commit f056629
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions l10n_it_withholding_tax/views/withholding_tax.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
<field name="date"/>
<field name="move_id"/>
<field name="invoice_id"/>
<field name="company_id" groups="base.group_multi_company"/>
<field name="company_id" groups="base.group_multi_company" readonly="1"/>
</group>
</group>
<newline/>
Expand Down Expand Up @@ -221,7 +221,7 @@
<field name="reconcile_partial_id"/>
<field name="date_maturity"/>
<field name="wt_account_move_id"/>
<field name="company_id" groups="base.group_multi_company"/>
<field name="company_id" groups="base.group_multi_company" readonly="1"/>
</group>
</group>
</sheet>
Expand Down
2 changes: 1 addition & 1 deletion l10n_it_withholding_tax_payment/models/withholding_tax.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()


Expand Down

0 comments on commit f056629

Please sign in to comment.