[FIX] base: specify Dominican Republic formats
Dominican Republic had no formatting for the address, the code country code was
not being evaluated to '1' and the label was set to TIN or NIF, when it should
be RNC.
Address format wasn't regulated, and it's not explicit in the regulation, but
the invoice formats given by the regulators use this formatting
Source:
http://dgii.gov.do/contribuyentes/personasFisicas/inicioOperaciones/ComprobantesFiscales/Paginas/FormatoDeFactura.aspx
Closes #24820
This commit is contained in:
committed by
Martin Trigaux
parent
0d35f569f4
commit
fc252fa6a1
@@ -440,8 +440,10 @@
|
||||
<field name="name">Dominican Republic</field>
|
||||
<field name="code">do</field>
|
||||
<field file="base/static/img/country_flags/do.png" name="image" type="base64" />
|
||||
<field eval="'%(street)s\n%(street2)s\n%(city)s %(state_name)s %(zip)s\n%(country_name)s'" name="address_format" />
|
||||
<field name="currency_id" ref="DOP" />
|
||||
<field eval="0" name="phone_code" />
|
||||
<field eval="1" name="phone_code" />
|
||||
<field name="vat_label">RNC</field>
|
||||
</record>
|
||||
<record id="dz" model="res.country">
|
||||
<field name="name">Algeria</field>
|
||||
|
||||
Reference in New Issue
Block a user