Skip to content

[IMP] product_currency: add demo data and tests for product currency#869

Open
cav-adhoc wants to merge 1 commit intoingadhoc:19.0from
adhoc-dev:19.0-t-64641-cav
Open

[IMP] product_currency: add demo data and tests for product currency#869
cav-adhoc wants to merge 1 commit intoingadhoc:19.0from
adhoc-dev:19.0-t-64641-cav

Conversation

@cav-adhoc
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings March 11, 2026 14:34
@roboadhoc
Copy link
Copy Markdown
Contributor

Pull request status dashboard

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Este PR busca añadir datos demo y tests automatizados para validar el comportamiento de “moneda forzada” en product.template dentro del addon product_currency.

Changes:

  • Añade un test transaccional que intenta instalar/cargar datos demo y verificar el efecto de force_currency_id.
  • Sustituye el demo XML de producto por una llamada a una función Python que genera demo data.
  • Incorpora el generador de demo data en Python.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 6 comments.

File Description
product_currency/tests/test_product_currency_demo.py Nuevos tests para validar moneda forzada y aislamiento al copiar registros demo.
product_currency/tests/init.py Inicialización del paquete de tests.
product_currency/demo/product_product_demo.xml Cambia demo XML directo por ejecución de función Python para cargar demo.
product_currency/demo/product_currency_demo.py Implementa el loader Python que crea el producto demo y pretende registrar XML IDs.

Comment thread product_currency/demo/product_currency_demo.py Outdated
Comment thread product_currency/tests/test_product_currency_demo.py Outdated
Comment thread product_currency/tests/__init__.py Outdated
Comment thread product_currency/demo/product_currency_demo.py Outdated
Comment thread product_currency/demo/product_product_demo.xml Outdated
Comment thread product_currency/demo/product_currency_demo.py Outdated
@cav-adhoc cav-adhoc force-pushed the 19.0-t-64641-cav branch 9 times, most recently from a413213 to 7d2d88c Compare April 28, 2026 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants