Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] l10n_es_aeat_mod303: Migration to 16.0 #2693

Merged
merged 147 commits into from
Dec 27, 2022

Commits on Dec 21, 2022

  1. [IMP] l10n_es_aeat: Algo de PEP8 y refactorización de código

    [MIG] l10n_es_aeat_mod303: Migración a v7 del módulo con las siguientes mejoras:
    - Convenciones de la comunidad.
    - PEP8 en la mayoría de código.
    - Icono para el módulo.
    - Adaptación de vistas a las posibilidades de la v7.
    - Restringidas las cuentas bancarias a las de la compañía.
    Pedro M. Baeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    563b06b View commit details
    Browse the repository at this point in the history
  2. Launchpad automatic translations update.

    Launchpad Translations on behalf of openerp-spain-team authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    fe0258e View commit details
    Browse the repository at this point in the history
  3. [IMP] l10n_es_aeat: Mejorado mecanismo de herencia para reaprovechar …

    …más código.
    
    [IMP] l10n_es_aeat: Añadido wizard para ver el resultado de la exportación sin necesidad de tener el módulo document.
    [IMP] l10n_es_aeat: Puesta transición de estados sin workflow.
    [IMP] l10n_es_aeat_mod303: Adaptado al nuevo mecanismo. Se elimina workflow anterior mediante un script de migración.
    Pedro M. Baeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    34f1f32 View commit details
    Browse the repository at this point in the history
  4. Launchpad automatic translations update.

    Launchpad Translations on behalf of openerp-spain-team authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    a0a8ebb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f65d181 View commit details
    Browse the repository at this point in the history
  6. Launchpad automatic translations update.

    Launchpad Translations on behalf of openerp-spain-team authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    045c64d View commit details
    Browse the repository at this point in the history
  7. [FIX] l10n_es_aeat_mod130/mod303: import corregido para que valga tam…

    …bién para la v8.
    Pedro M. Baeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    5a6440a View commit details
    Browse the repository at this point in the history
  8. Launchpad automatic translations update.

    Launchpad Translations on behalf of openerp-spain-team authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    ef0794f View commit details
    Browse the repository at this point in the history
  9. [MIG] Movidos todos los módulos a __unported__

    [MIG] Eliminados módulos no migrados a v7
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    ea7b980 View commit details
    Browse the repository at this point in the history
  10. [MIG] l10n_es_aeat_mod303: Modelo 303 de la AEAT totalmente refactori…

    …zado
    
    Presentación del Modelo AEAT 303
    ================================
    
    * Incluye un motor genérico para obtener los totales de códigos de impuestos
      de manera parametrizada y con posibilidad de versionado por fechas
    * Incluye un motor de parametrización de las exportaciones a formato BOE
      con posibilidad de versionado por fechas.
    * Se incluyen las parametrizaciones de ambos motores para el 303.
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    f45fe29 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a4ceff0 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    5af1f29 View commit details
    Browse the repository at this point in the history
  13. [FIX] l10n_es_aeat_mod303: Corregido cálculo de campo resultado_liqui…

    …dacion y corregido formulario de mod303, sustituido campo casilla_46 repetido por campo casilla_69.
    juanalfonsopr authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    1f32455 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    9d7c919 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    22efaff View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    8de10cf View commit details
    Browse the repository at this point in the history
  17. [IMP] l10n_es_aeat/l10n_es_aeat_mod303: Crear asiento de regularizaci…

    …ón cuando se hace la declaración
    
    * Generador del asiento de regularización con cargo a un proveedor "Agencia
      Estatal de Administración Tributaria" creado al efecto.
    
    Configuración
    =============
    
    Para activar la creación del asiento de regularización en un modelo, hay que
    poner en el modelo correspondiente el campo allow_posting a True, y establecer
    en la configuración de impuestos los conceptos que se regularizarán con el
    flag "to_regularize".
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    fc6fbff View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    1c50794 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    76e80fa View commit details
    Browse the repository at this point in the history
  20. [IMP] l10n_es_aeat_vat_prorrate: Enfoque definitivo

    ======================
    AEAT - Prorrata de IVA
    ======================
    
    Módulo para gestionar la prorrata del IVA en las declaraciones de la AEAT (por
    el momento, en el modelo 303), según el artículo 92 de la Ley 37/1992, de 28 de
    diciembre, del Impuesto sobre el Valor Añadido.
    
    Uso
    ===
    
    Realizando el modelo 303, se puede seleccionar si se desea aplicar prorrata de
    IVA.
    
    Prorrata general
    ----------------
    
    En el caso de seleccionar "Prorrata general", aparece un nuevo campo llamado
    "Porcentaje de prorrata de IVA" que puede ser rellenado a mano.
    
    Además, cuando se realice el asiento de regularización, la parte proporcional
    de la cuota no deducida se compensará como gasto.
    
    Se ha incluido un calculador del porcentaje de prorrata, utilizable en 2 casos:
    
    * Al comienzo de un nuevo ejercicio, para determinar el porcentaje provisional
      a aplicar hasta el último periodo de ese ejercicio.
    * En la última declaración del ejercicio, para determinar el porcentaje
      definitivo de prorrata, y sobre el que se compensará la diferencia.
    
    Problemas conocidos / Hoja de ruta
    ==================================
    
    * La prorrata especial de IVA no está contemplada aún.
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    afac384 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    8de4dd9 View commit details
    Browse the repository at this point in the history
  22. [ADD] l10n_es_aeat_mot303, casilla 77

    Ismael Calvo authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    c124891 View commit details
    Browse the repository at this point in the history
  23. [FIX] l10n_es_aeat_*: Evitar problemas en campos related no readonly. F…

    …ixes OCA#290
    
    Cuando se tienen campos related, aunque el valor no se cambie,
    Odoo lanza una escritura en el objeto relacionado cada vez que se
    guarda el objeto principal. En el caso de la moneda asociada a la
    compañía, hace que aquellos usuarios que no tengan permiso para
    modificar la compañía (la mayoría), falle en la creación del modelo.
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    08105fe View commit details
    Browse the repository at this point in the history
  24. [FIX] l10n_es_aeat_*: Mejor herencia de impuestos

    El anterior método utilizado, al tener una clase y un many2one genérico,
    no permitía poner los datos en múltiples modelos hijos, ya que se repetían
    los IDs, y cogía los datos de un modelo en otros.
    
    Con este nuevo sistema, se sigue utilizando una tabla, pero con doble
    índice: el modelo y el ID, parecido a un campo reference, pero gestionado
    por código propio en el método de cálculo.
    
    El 303 está adaptado a este nuevo sistema, y se incluye un script de
    migración que conserve los datos.
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    34959d5 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    bf637e4 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    612a7c4 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    4c2edbc View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    3dae89b View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    b7b6093 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    1a3ac0c View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    26acbe4 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    83f0d4c View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    a20f314 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    45d96ee View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    e6c4970 View commit details
    Browse the repository at this point in the history
  36. [FIX] l10n_es_aeat: Avoid multi-company error due to depends

    Debido a que se utiliza una sola tabla para almacenar las líneas
    de los impuestos de todos los modelos, hay una limitación en el ORM de Odoo
    cuando se coloca el campo one2many de dichas líneas (tax_line_ids) como
    dependencia en la definición del cálculo de un campo (entrada con
    @api.depends), que recalcula los campos calculados de todos los modelos con el
    mismo ID que el del registro en curso, lo que puede ser un problema en entornos
    multi-compañía. Una solución a ello (aunque no evita el recálculo), es poner en
    esos campos calculados `compute_sudo=True`.
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    d4e891f View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    363b845 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    a18a4d8 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    b35a509 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    dc9ab54 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    5b37623 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    6d023b5 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    cc89743 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    c8b2083 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    3080d0a View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    9163418 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    e057472 View commit details
    Browse the repository at this point in the history
  48. [IMP] l10n_es_aeat_mod303: Automatic compensation and return improvement

    Si no estás inscrito en el REDEME (Registro de Devolución Mensual), y la declaración
    sale negativa, la única posibilidad es la de compensar, por lo que no tiene sentido
    que se tenga que marcar manualmente la casilla, ya que si olvida y se exporta, Hacienda
    no lo admite.
    
    Por eso, este cambio detecta automáticamente esta situación y coloca el tipo de resultado,
    eliminando la casilla extra.
    
    Se incluye script de migración para restituir correctamente los datos de anteriores
    declaraciones.
    
    También se hace obligatoria la cuenta bancaria cuando la declaración sea a devolver, ya
    que es también un dato obligatorio al presentarlo a Hacienda.
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    d17fd12 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    d11836a View commit details
    Browse the repository at this point in the history
  50. [FIX] l10n_es_aeat_mod303: Migration not needed

    Due to compute non stored field
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    abd6501 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    3a388bb View commit details
    Browse the repository at this point in the history
  52. - Cambia cuenta de contrapartida en función del resultado.

    - En a casilla de importes a compensar debe constar, EN POSITIVO, las cuotas a compensar procedentes de periodos anteriores.
    - Incluye mensaje para advertir que existen cuotas a compensar en periodos anteriores.
    - Borra campo 'bank_account_id', que está ya duplicado en 'partner_bank_id' e incluye script de migración.
    JordiBForgeFlow authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    c2a5fd4 View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    bf5325a View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    453d722 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    fa76983 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    4120f6a View commit details
    Browse the repository at this point in the history
  57. [FIX] l10n_es_aeat_mod303: dict.iteritems() don't exist in python3. C…

    …hange iteritems() to iter(items())
    carlosdauden authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    5692c32 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    2a8070b View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    ab0c0f8 View commit details
    Browse the repository at this point in the history
  60. [FIX+IMP] l10n_es_aeat_mod303: Fix refinements

    * No need to change test structure with create
    * Optimize code
    * Fix tests in l10n_es_vat_prorrate
    * Translations
    * Other minor things
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    966c16d View commit details
    Browse the repository at this point in the history
  61. [FIX] l10n_es_aeat_mod303: Perform strict search of counterpart account

    Odoo's operator "like" encloses the text to search into "%s", making
    the search to match with accounts like "157000" and others as addition
    to the expected "570000".
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    eae88e1 View commit details
    Browse the repository at this point in the history
  62. [FIX] l10n_es_aeat_mod303: Fix result when compensating

    * Don't show the warning for draft reports
    * When you have to return result, don't propagate the result to next report
    * Put only once the warning
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    72aea20 View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    449a3ce View commit details
    Browse the repository at this point in the history
  64. Translated using Weblate (català)

    Currently translated at 100,0% (45 of 45 strings)
    
    Translation: l10n-spain-11.0/l10n-spain-11.0-l10n_es_aeat_mod303
    Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-11-0/l10n-spain-11-0-l10n_es_aeat_mod303/ca/
    mtbochaca authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    58dd6eb View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    a7788f9 View commit details
    Browse the repository at this point in the history
  66. [FIX] l10n_es_aeat_mod303: Include negative amounts in refund tax amo…

    …unts
    
    They were ignored previously
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    e05a93a View commit details
    Browse the repository at this point in the history
  67. [MIG] l10n_es_aeat_mod303: Migration to 12.0

    * Standard procedure
    * Adapted tests
    * README by fragments
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    da5eb64 View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    1a37b0c View commit details
    Browse the repository at this point in the history
  69. Update translation files

    Updated by Update PO files to match POT (msgmerge) hook in Weblate.
    oca-transbot authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    a5d04a2 View commit details
    Browse the repository at this point in the history
  70. [IMP] l10n_es_aeat_mod303: Add support for 2018 4T:

    * BOE format
    * Exonerated from 390
    
      * Fields
      * Mappings
      * BOE export
    
    * README update
    * Little change in AEAT engine
    * Tests adapted + expanded
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    921ebfe View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    b09d1b6 View commit details
    Browse the repository at this point in the history
  72. Update translation files

    Updated by Update PO files to match POT (msgmerge) hook in Weblate.
    oca-transbot authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    1a4c96e View commit details
    Browse the repository at this point in the history
  73. [FIX] l10n_es_aeat_mod303: Proper view when not exonerated

    As numbers have changed, the view was not adjusted.
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    5ae3884 View commit details
    Browse the repository at this point in the history
  74. [FIX] l10n_es_aeat_mod303: Don't inform 347 if not exonerated or not …

    …last period
    
    Inform this field only in the case where this proceeds.
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    e7e8af1 View commit details
    Browse the repository at this point in the history
  75. [IMP] l10n_es_aeat: Add active field to export configs

    This way, we don't initially see all the subconfigs for each model and we can concentrate
    on main export configurations. This is got through `active` field default behaviour.
    Archived config are still directly searchable through the subconfig selector in the
    configuration line.
    
    All models export configs have been adapted to this new approach.
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    2ba9761 View commit details
    Browse the repository at this point in the history
  76. [IMP] l10n_es_aeat: Add chatter + activities to AEAT models

    * Include chatter (mail.thread)
    * Include activities (mail.activity.mixin)
    * Track AEAT report state change
    * Include new admin user in AEAT group by default
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    f9c2b9c View commit details
    Browse the repository at this point in the history
  77. Translated using Weblate (Spanish)

    Currently translated at 32.3% (54 of 167 strings)
    
    Translation: l10n-spain-12.0/l10n-spain-12.0-l10n_es_aeat_mod303
    Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-12-0/l10n-spain-12-0-l10n_es_aeat_mod303/es/
    CarlesAntoli authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    51f4ba6 View commit details
    Browse the repository at this point in the history
  78. [FIX] l10n_es_aeat_mod303: Include both signs (debit and credit) in t…

    …ax fee fields
    
    Given this regular invoice:
    
    1, IVA 10%, 10 €, 1 € tax
    2, IVA 21%, -1 €, -0,21 € tax
    
    that can happen when you return some packages (like returnable bottles), you have
    a valid invoice with total positive amount to due, but in 303, the -0.21 € of the
    tax fee is not included as there's no other positive tax fee to compensate that
    negative amount, and the tax map line indicated that only credit operations are
    included.
    
    As the move type is already checked for avoiding to include refunds, we can change
    to include both move lines types (debit and credit) for this. In fact, in the
    base, both are already included.
    
    As this can happen as well with other taxes and with supplier invoices, all
    involved fields are changed in the same commit.
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    2cfef62 View commit details
    Browse the repository at this point in the history
  79. [FIX] l10n_es_aeat_mod303: Add field 84

    It's the sum of all the year of field 61, so the definition is the same.
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    9a39056 View commit details
    Browse the repository at this point in the history
  80. [FIX] l10n_es_aeat_mod303: Adapt test to previous change

    Field 88 doesn't include the new field 84
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    e160803 View commit details
    Browse the repository at this point in the history
  81. Configuration menu
    Copy the full SHA
    15200b2 View commit details
    Browse the repository at this point in the history
  82. [IMP+FIX] l10n_es_aeat: Move get taxes method to company + cleaning i…

    …n tests
    
    This way, we can reuse it in other modules that don't inherit AEAT report like SII.
    
    We also clean a non needed reading of the tax description field.
    
    Tests were still using description method for populating data, so we switch to new
    system and perform needed changes in dependent tests.
    
    s
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    143f295 View commit details
    Browse the repository at this point in the history
  83. [FIX] l10n_es_aeat_mod303: Avoid error importing BOE due to developer…

    … VAT
    
    AEAT now forces to be a proper VAT format. We adjust at the same time the version
    and some old year references.
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    c2c541c View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    0159791 View commit details
    Browse the repository at this point in the history
  85. Configuration menu
    Copy the full SHA
    db1f813 View commit details
    Browse the repository at this point in the history
  86. Configuration menu
    Copy the full SHA
    1a5d37d View commit details
    Browse the repository at this point in the history
  87. Configuration menu
    Copy the full SHA
    60c19f6 View commit details
    Browse the repository at this point in the history
  88. Translated using Weblate (Spanish)

    Currently translated at 32.9% (55 of 167 strings)
    
    Translation: l10n-spain-12.0/l10n-spain-12.0-l10n_es_aeat_mod303
    Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-12-0/l10n-spain-12-0-l10n_es_aeat_mod303/es/
    josepmy authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    aa46305 View commit details
    Browse the repository at this point in the history
  89. Configuration menu
    Copy the full SHA
    03dd28d View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    6ee86bd View commit details
    Browse the repository at this point in the history
  91. Configuration menu
    Copy the full SHA
    8aa1960 View commit details
    Browse the repository at this point in the history
  92. Configuration menu
    Copy the full SHA
    e4aba79 View commit details
    Browse the repository at this point in the history
  93. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: l10n-spain-13.0/l10n-spain-13.0-l10n_es_aeat_mod303
    Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-13-0/l10n-spain-13-0-l10n_es_aeat_mod303/
    oca-transbot authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    1eed8d5 View commit details
    Browse the repository at this point in the history
  94. Translated using Weblate (Spanish)

    Currently translated at 100.0% (158 of 158 strings)
    
    Translation: l10n-spain-13.0/l10n-spain-13.0-l10n_es_aeat_mod303
    Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-13-0/l10n-spain-13-0-l10n_es_aeat_mod303/es/
    danimv5 authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    034f561 View commit details
    Browse the repository at this point in the history
  95. Translated using Weblate (Spanish)

    Currently translated at 100.0% (158 of 158 strings)
    
    Translation: l10n-spain-13.0/l10n-spain-13.0-l10n_es_aeat_mod303
    Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-13-0/l10n-spain-13-0-l10n_es_aeat_mod303/es/
    danimv5 authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    ec28b26 View commit details
    Browse the repository at this point in the history
  96. [FIX] l10n_es_aeat_mod303: Adapt odoo/odoo#58062

    Now "IVA Exento No Sujeto" is not included in field 60, but it should be included
    in field 83 for period 12 (December) in 303 for those exempted of the 390.
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    d654c09 View commit details
    Browse the repository at this point in the history
  97. Configuration menu
    Copy the full SHA
    d6372bf View commit details
    Browse the repository at this point in the history
  98. [UPD] README.rst

    OCA-git-bot authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    351eb6a View commit details
    Browse the repository at this point in the history
  99. Configuration menu
    Copy the full SHA
    007be08 View commit details
    Browse the repository at this point in the history
  100. Configuration menu
    Copy the full SHA
    e7fd134 View commit details
    Browse the repository at this point in the history
  101. Configuration menu
    Copy the full SHA
    2527bbf View commit details
    Browse the repository at this point in the history
  102. [UPD] README.rst

    OCA-git-bot authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    ebdb019 View commit details
    Browse the repository at this point in the history
  103. [IMP] l10n_es_aeat_mod303: Readonly for exonerated/volume on computed…

    … state
    
    This way, we avoid the misunderstanding of changing that but not
    computing fields 76 to 99.
    
    Relates to OCA#1553
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    5964794 View commit details
    Browse the repository at this point in the history
  104. [FIX] l10n_es_aeat_mod303: Fix fields 84 and 94

    - Added missing tax "No sujeto (Bienes)" in field 84.
    - Removed tax "Exportación (Bienes)" from field 94 (already on 84).
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    7faac7f View commit details
    Browse the repository at this point in the history
  105. [FIX] l10n_es_aeat_mod303: Fix tests for the previous commit

    Follow-up of 3a55cf3
    
    Fix tests for the change.
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    ec9ef14 View commit details
    Browse the repository at this point in the history
  106. Configuration menu
    Copy the full SHA
    a457660 View commit details
    Browse the repository at this point in the history
  107. [FIX] l10n_es_aeat_mod303: Change remaining taxes with only one sign

    Remaining pieces of 6c3a6f2.
    
    At the end, the refund part is controlled by move_type, not by balance
    sign.
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    98ed538 View commit details
    Browse the repository at this point in the history
  108. [IMP] l10n_es_aeat_mod303: New 2021 BOE format

    - Requires new field for not compensating full pending fee.
    - New BOE format.
    - Removed incorrect es_ES translation.
    - Updated and completed Spanish translation.
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    d5cf25d View commit details
    Browse the repository at this point in the history
  109. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: l10n-spain-14.0/l10n-spain-14.0-l10n_es_aeat_mod303
    Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-14-0/l10n-spain-14-0-l10n_es_aeat_mod303/
    oca-transbot authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    26128a8 View commit details
    Browse the repository at this point in the history
  110. Configuration menu
    Copy the full SHA
    e459592 View commit details
    Browse the repository at this point in the history
  111. [FIX] l10n_es_aeat_mod303: Write fees to compensate together

    If not, the constraint is evaluated each time, and can lead to
    inconsistent states.
    
    Fixes OCA#1624
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    c0e4c40 View commit details
    Browse the repository at this point in the history
  112. Configuration menu
    Copy the full SHA
    001abf7 View commit details
    Browse the repository at this point in the history
  113. [FIX l10n_es_aeat_mod303: Proper search of counterpart account

    The operator like searches for any coincidence, so it can select
    account 147000 instead of 470000. We switch to =like operator for
    avoiding the problem.
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    2e1a854 View commit details
    Browse the repository at this point in the history
  114. Translated using Weblate (Spanish)

    Currently translated at 98.7% (160 of 162 strings)
    
    Translation: l10n-spain-14.0/l10n-spain-14.0-l10n_es_aeat_mod303
    Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-14-0/l10n-spain-14-0-l10n_es_aeat_mod303/es/
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    4e09af2 View commit details
    Browse the repository at this point in the history
  115. Configuration menu
    Copy the full SHA
    d8e941e View commit details
    Browse the repository at this point in the history
  116. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: l10n-spain-14.0/l10n-spain-14.0-l10n_es_aeat_mod303
    Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-14-0/l10n-spain-14-0-l10n_es_aeat_mod303/
    oca-transbot authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    77093a4 View commit details
    Browse the repository at this point in the history
  117. [IMP] l10n_es_aeat_mod303: Add support for new BOE 2021/07 format

        * New tax mapping, field 84 now split on 84 and 125
        * New export config, now in csv
        * New marca_sepa field
        * Update field 80
    angelmoya authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    ce951ff View commit details
    Browse the repository at this point in the history
  118. [FIX+IMP] l10n_es_aeat_mod303: Finish 2021-07 format + v14 adaptation

    * Transform tax map to CSV
    * Incorrect BOE export definition
    * Simplify certain expressions
    * Move CSV to subdirectory to classify them by format change batch
    * End date for previous BOE format
    * Fix marca_sepa computation
    * Restore back field 85 for older reports
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    6134a24 View commit details
    Browse the repository at this point in the history
  119. [FIX] l10n_es_aeat_mod303: Incorrect taxes + marca_sepa

    Remove taxes from field 61, and add them to both fields 120 y 122.
    That's because since 2021/07, these fields contains such values, and as
    the tax mapping is only used since this date, it's safe to do it.
    
    Something similar applies to marca_sepa, as even if doing a previous
    report, this field is not used at all, so we can remove the initial
    condition and put the value only when performing return.
    acysos authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    bd13628 View commit details
    Browse the repository at this point in the history
  120. [UPD] README.rst

    OCA-git-bot authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    2da2b42 View commit details
    Browse the repository at this point in the history
  121. Configuration menu
    Copy the full SHA
    44ef636 View commit details
    Browse the repository at this point in the history
  122. [FIX] l10n_es_aeat_mod303: 2021/07 format: Don't populate values if n…

    …o return
    
    This hasn't been detected before, as testing reports didn't have bank
    account populated, but on a new one, it seems AEAT doesn't allow to have
    any content in these fields if the result is not to return.
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    0ea8163 View commit details
    Browse the repository at this point in the history
  123. Configuration menu
    Copy the full SHA
    0869c33 View commit details
    Browse the repository at this point in the history
  124. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: l10n-spain-14.0/l10n-spain-14.0-l10n_es_aeat_mod303
    Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-14-0/l10n-spain-14-0-l10n_es_aeat_mod303/
    oca-transbot authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    84f3238 View commit details
    Browse the repository at this point in the history
  125. [IMP] l10n_es_aeat_mod303: Don't populate field 61

    This field is deprecated since 07/2021, and bringing it, even empty, can
    be confusing for users, so better to remove it.
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    96fca43 View commit details
    Browse the repository at this point in the history
  126. Configuration menu
    Copy the full SHA
    d80f808 View commit details
    Browse the repository at this point in the history
  127. Configuration menu
    Copy the full SHA
    29d2e4a View commit details
    Browse the repository at this point in the history
  128. [UPD] Update l10n_es_aeat_mod303.pot

    oca-ci authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    bbe5f80 View commit details
    Browse the repository at this point in the history
  129. [UPD] README.rst

    OCA-git-bot authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    d7c0a1d View commit details
    Browse the repository at this point in the history
  130. [FIX] l10n_es_aeat_mod303: Last BOE export inaccuracies

    - Don't apply sign to "Volumen operaciones"
    - Don't export SWIFT if Spanish or European bank
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    3730375 View commit details
    Browse the repository at this point in the history
  131. Configuration menu
    Copy the full SHA
    76a8d7b View commit details
    Browse the repository at this point in the history
  132. Configuration menu
    Copy the full SHA
    d986f92 View commit details
    Browse the repository at this point in the history
  133. Configuration menu
    Copy the full SHA
    42a0ab4 View commit details
    Browse the repository at this point in the history
  134. [FIX] black formatting

    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    1900819 View commit details
    Browse the repository at this point in the history
  135. Translated using Weblate (Catalan)

    Currently translated at 100.0% (168 of 168 strings)
    
    Translation: l10n-spain-15.0/l10n-spain-15.0-l10n_es_aeat_mod303
    Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-15-0/l10n-spain-15-0-l10n_es_aeat_mod303/ca/
    juliap98 authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    1892b3b View commit details
    Browse the repository at this point in the history
  136. Configuration menu
    Copy the full SHA
    f5bbef2 View commit details
    Browse the repository at this point in the history
  137. Configuration menu
    Copy the full SHA
    13b8bfa View commit details
    Browse the repository at this point in the history
  138. l10n_es_aeat_mod303 15.0.2.2.1

    OCA-git-bot authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    09b4117 View commit details
    Browse the repository at this point in the history
  139. [UPD] Update l10n_es_aeat_mod303.pot

    oca-ci authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    3d6e69a View commit details
    Browse the repository at this point in the history
  140. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: l10n-spain-15.0/l10n-spain-15.0-l10n_es_aeat_mod303
    Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-15-0/l10n-spain-15-0-l10n_es_aeat_mod303/
    oca-transbot authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    bac9d73 View commit details
    Browse the repository at this point in the history
  141. [IMP] l10n_es_aeat_mod303: Include new tax 5%

    Following odoo/odoo#95967, the mapping is done
    for mapping the corresponding fields in the 303 model.
    
    If someone sells electricity at that rate, there's no mapping yet, as we
    don't know how the AEAT is going to reformat the model.
    
    TT38004
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    d96e259 View commit details
    Browse the repository at this point in the history
  142. [UPD] README.rst

    OCA-git-bot authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    bda0f87 View commit details
    Browse the repository at this point in the history
  143. l10n_es_aeat_mod303 15.0.2.3.0

    OCA-git-bot authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    f1da9f8 View commit details
    Browse the repository at this point in the history
  144. [FIX] l10n_es_aeat_mod303: Avoid rounding problems

    When doing mathematical operations over several rounded amounts, you can
    get a non rounded result. Example:
    
    >>> tax_lines.mapped("amount")
    [1022.18, 125899.42, 5399.41, 7354.03, 30.5, -3104.6, -181.45, 0.27, 18.03, 0.0, -0.34]
    >>> sum(tax_lines.mapped("amount"))
    136437.44999999995
    
    Leading to possible wrong report result ("Solicitud de devolución"
    instead of "Resultado cero").
    
    In this commit, we round all the amounts + use float_compare for the
    result to avoid the problem.
    
    TT40670
    pedrobaeza authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    6f2dfd1 View commit details
    Browse the repository at this point in the history
  145. l10n_es_aeat_mod303 15.0.2.3.1

    OCA-git-bot authored and FernandoRomera committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    ab9e37d View commit details
    Browse the repository at this point in the history
  146. Configuration menu
    Copy the full SHA
    7d5fc28 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2022

  1. Configuration menu
    Copy the full SHA
    759a64a View commit details
    Browse the repository at this point in the history