[FIX] website_sale: remove TIN
Remove TIN from Billing Address view as it's not supported. task-3283179 closes odoo/odoo#138839 X-original-commit: 3f79cc23665f2bee762465734aa147309b5aaa3e Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com> Signed-off-by: anko-odoo <anko@odoo.com>
This commit is contained in:
@@ -3920,7 +3920,7 @@ msgstr ""
|
||||
|
||||
#. module: website_sale
|
||||
#: model_terms:ir.ui.view,arch_db:website_sale.address
|
||||
msgid "TIN / VAT"
|
||||
msgid "VAT"
|
||||
msgstr ""
|
||||
|
||||
#. module: website_sale
|
||||
|
||||
@@ -1879,7 +1879,7 @@
|
||||
<small t-if="vat_warning" class="form-text text-muted d-block d-lg-none">Changing company name is not allowed once document(s) have been issued for your account. Please contact us directly for this operation.</small>
|
||||
</div>
|
||||
<div t-attf-class="#{error.get('vat') and 'o_has_error'} div_vat col-lg-6 mb-2">
|
||||
<label class="col-form-label fw-normal label-optional" for="vat">TIN / VAT </label>
|
||||
<label class="col-form-label fw-normal label-optional" for="vat">VAT</label>
|
||||
<input type="text" name="vat" t-attf-class="form-control #{error.get('vat') and 'is-invalid' or ''}" t-att-value="'vat' in checkout and checkout['vat']" t-att-readonly="'1' if vat_warning else None"/>
|
||||
<small t-if="vat_warning" class="form-text text-muted d-block d-lg-none">Changing VAT number is not allowed once document(s) have been issued for your account. Please contact us directly for this operation.</small>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user