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_br_cte] #3663

Draft
wants to merge 44 commits into
base: 16.0
Choose a base branch
from
Draft

Conversation

rvalyi
Copy link
Member

@rvalyi rvalyi commented Mar 17, 2025

migração padrão por cima da migração da 15.0 #3651

@rvalyi rvalyi marked this pull request as draft March 17, 2025 23:27
@rvalyi rvalyi force-pushed the 16.0-mig-l10n_br_cte branch 4 times, most recently from 7ff97da to f418e97 Compare March 20, 2025 16:46
@rvalyi
Copy link
Member Author

rvalyi commented Mar 20, 2025

@OCA/local-brazil-maintainers não ta longe não mas ainda tem alguns arquivos de teste que estão saindo com algumas diferenças, tem que investigar porque...

Na hora de investigar esses diffs, me parece que na v16 o framework de teste apaga os arquivos XML geridos no filestore. Na minha maquina eu botei um print do conteúdo deles no export do l10n_br_cte/document.py para poder debugar o diff...

Se alguém quiser finalizar a migração, ajuda esta bem vinda...

@rvalyi
Copy link
Member Author

rvalyi commented Mar 20, 2025

/ocabot migration l10n_br_cte

@OCA-git-bot OCA-git-bot added this to the 16.0 milestone Mar 20, 2025
@OCA-git-bot OCA-git-bot mentioned this pull request Mar 20, 2025
60 tasks
OCA-git-bot and others added 21 commits March 21, 2025 23:38
Currently translated at 0.8% (7 of 846 strings)

Translation: l10n-brazil-14.0/l10n-brazil-14.0-l10n_br_cte
Translate-URL: https://translation.odoo-community.org/projects/l10n-brazil-14-0/l10n-brazil-14-0-l10n_br_cte/pt_BR/
Currently translated at 4.0% (34 of 846 strings)

Translation: l10n-brazil-14.0/l10n-brazil-14.0-l10n_br_cte
Translate-URL: https://translation.odoo-community.org/projects/l10n-brazil-14-0/l10n-brazil-14-0-l10n_br_cte/pt_BR/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-brazil-14.0/l10n-brazil-14.0-l10n_br_cte
Translate-URL: https://translation.odoo-community.org/projects/l10n-brazil-14-0/l10n-brazil-14-0-l10n_br_cte/
Currently translated at 5.1% (44 of 857 strings)

Translation: l10n-brazil-14.0/l10n-brazil-14.0-l10n_br_cte
Translate-URL: https://translation.odoo-community.org/projects/l10n-brazil-14-0/l10n-brazil-14-0-l10n_br_cte/pt_BR/
Currently translated at 6.3% (54 of 857 strings)

Translation: l10n-brazil-14.0/l10n-brazil-14.0-l10n_br_cte
Translate-URL: https://translation.odoo-community.org/projects/l10n-brazil-14-0/l10n-brazil-14-0-l10n_br_cte/pt_BR/
Currently translated at 6.6% (57 of 857 strings)

Translation: l10n-brazil-14.0/l10n-brazil-14.0-l10n_br_cte
Translate-URL: https://translation.odoo-community.org/projects/l10n-brazil-14-0/l10n-brazil-14-0-l10n_br_cte/pt_BR/
@rvalyi rvalyi force-pushed the 16.0-mig-l10n_br_cte branch from f418e97 to 72073cc Compare March 21, 2025 23:38
@rvalyi rvalyi force-pushed the 16.0-mig-l10n_br_cte branch from 72073cc to 26feff8 Compare March 21, 2025 23:41
@rvalyi
Copy link
Member Author

rvalyi commented Mar 21, 2025

tem apenas um erro agora:

 2025-03-21 23:45:53,208 438 INFO odoo odoo.addons.l10n_br_cte.tests.test_cte_serialize_lc: Starting TestCTeExportLC.test_serialize_xml ... 
2025-03-21 23:45:53,972 438 INFO odoo odoo.addons.l10n_br_cte.tests.test_cte_serialize: XML file saved at /github/home/.local/share/Odoo/filestore/odoo/cc/ccce2cc64de09191d2bb33a81f2cb2df6ec3bcf9 
2025-03-21 23:45:53,993 438 INFO odoo odoo.addons.l10n_br_cte.tests.test_cte_serialize_lc: Diff with expected XML (if any): [UpdateTextIn(node='/*/*/*[9]/*/*/*[3]', text='18.00'), UpdateTextIn(node='/*/*/*[9]/*/*/*[4]', text='8.46')] 
2025-03-21 23:45:53,994 438 INFO odoo odoo.addons.l10n_br_cte.tests.test_cte_serialize_lc: ====================================================================== 
2025-03-21 23:45:53,994 438 ERROR odoo odoo.addons.l10n_br_cte.tests.test_cte_serialize_lc: FAIL: TestCTeExportLC.test_serialize_xml
Traceback (most recent call last):
  File "/__w/l10n-brazil/l10n-brazil/l10n_br_cte/tests/test_cte_serialize_lc.py", line 41, in test_serialize_xml
    assert len(diff) == 0
AssertionError

@marcelsavegnago vc consegue ajudar?

EDIT: uma técnica para debugar isso na v16: #3674 (comment)

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.

6 participants