[16.0][FIX] l10n_es_intrastat_report: correct country code for Greece#4522
[16.0][FIX] l10n_es_intrastat_report: correct country code for Greece#4522
Conversation
…: EL instead of GR. When a declaration line is computed and the country is Greece, it gets GR country code, but the correct code is EL.
2354973 to
c841a85
Compare
|
Otra posible opción sería definir esas condiciones en https://github.com/OCA/intrastat-extrastat/blob/16.0/intrastat_product/models/intrastat_product_declaration.py#L1171 y https://github.com/OCA/intrastat-extrastat/blob/16.0/intrastat_product/models/intrastat_product_declaration.py#L1183 igual que ya se hace en |
|
@victoralmau entonces el código "EL" para Grecia se aplicaría a cualquier declaración intrastat, sea del país que sea? es decir, que no sólo es cosa de la declaración de intrastat española? si es así hago el PR sobre el módulo de intrastat_product |
Si se añadiera a |
|
Como es un informe europeo, yo diría que es para todos, al igual que ocurre con |
When a declaration line is computed and the country is Greece, it gets GR country code, but the correct code is EL.
Call the function
l10n-spain/l10n_es_aeat/models/res_partner.py
Line 77 in b1d71ec