[IMP] product_currency: add demo data and tests for product currency#869
Open
cav-adhoc wants to merge 1 commit intoingadhoc:19.0from
Open
[IMP] product_currency: add demo data and tests for product currency#869cav-adhoc wants to merge 1 commit intoingadhoc:19.0from
cav-adhoc wants to merge 1 commit intoingadhoc:19.0from
Conversation
Contributor
There was a problem hiding this comment.
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. |
a413213 to
7d2d88c
Compare
7d2d88c to
806c400
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

No description provided.