Skip to content

[18.0] porting l10n_it_fatturapa_pec > l10n_it_edi_pec#5102

Merged
OCA-git-bot merged 135 commits into
OCA:18.0from
eLBati:18.0-mig-l10n_it_fatturapa_pec
Jun 8, 2026
Merged

[18.0] porting l10n_it_fatturapa_pec > l10n_it_edi_pec#5102
OCA-git-bot merged 135 commits into
OCA:18.0from
eLBati:18.0-mig-l10n_it_fatturapa_pec

Conversation

@eLBati

@eLBati eLBati commented Feb 9, 2026

Copy link
Copy Markdown
Member

No description provided.

@eLBati eLBati force-pushed the 18.0-mig-l10n_it_fatturapa_pec branch 4 times, most recently from f078044 to 204db14 Compare February 12, 2026 17:48
@monen17

monen17 commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

/ocabot migration l10n_it_fatturapa_pec

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Feb 13, 2026
@OCA-git-bot OCA-git-bot mentioned this pull request Feb 13, 2026
46 tasks

@marcelofrare marcelofrare left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

testato funzionalmente la fattura passiva → LGTM
sulla fattura inviata, ho verificato che gestisce correttamente lo stato SDI → LGTM
mi manca testare l'invio, lo farò alla prima occasione.
Grazie!

@MaurizioPellegrinet MaurizioPellegrinet left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Test funzionale:
provato invio fattura OK

@OCA-git-bot

Copy link
Copy Markdown
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@marcelofrare marcelofrare left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

verificato anche anche l'invio
Tutto ok!

@andreampiovesana

Copy link
Copy Markdown
Contributor

@TheMule71 merge?

@MaurizioPellegrinet MaurizioPellegrinet left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Vedo solo ora che eventuali righe inserite come note vengono rimosse dal file xml.
È possibile fare una modifica?

@eLBati

eLBati commented Feb 19, 2026

Copy link
Copy Markdown
Member Author

Vedo solo ora che eventuali righe inserite come note vengono rimosse dal file xml. È possibile fare una modifica?

Questo non dovrebbe dipendere dal canale di comunicazione ma da l10n_it_edi ed eventuali estensioni

@eLBati

eLBati commented Mar 4, 2026

Copy link
Copy Markdown
Member Author

@MaurizioPellegrinet per te OK procedere?

@VBNext

VBNext commented Mar 7, 2026

Copy link
Copy Markdown

Vedo solo ora che eventuali righe inserite come note vengono rimosse dal file xml. È possibile fare una modifica?

@MaurizioPellegrinet anche standard Odoo non riporta note nel xml, io approverei così questa PR ed eventualmente si fa la modifica con un altro modulo? che dici?

@monen17 monen17 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Manca una revisione del codice

@monen17 monen17 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Revisione del codice

Comment thread l10n_it_edi_pec/data/fetchmail_data.xml
Comment thread l10n_it_edi_pec/models/__init__.py Outdated
Comment on lines +30 to +33
if not self.company_id.l10n_it_edi_use_pec:
return super()._l10n_it_edi_upload(files)

company = self.company_id

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Per essere sicuri di usare sempre la stessa azienda (quella della registrazione)

Suggested change
if not self.company_id.l10n_it_edi_use_pec:
return super()._l10n_it_edi_upload(files)
company = self.company_id
company = self.company_id
if not company.l10n_it_edi_use_pec:
return super()._l10n_it_edi_upload(files)
company = self.company_id

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Non ho capito, per gestire quale caso?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Il caso in cui uno sviluppatore sprovveduto decide di mettere un'altra azienda, tipo self.env.company, in una delle due occorrenze di self.company_id.

Comment thread l10n_it_edi_pec/models/account_move.py Outdated
Comment thread l10n_it_edi_pec/models/account_move.py Outdated
Comment thread l10n_it_edi_pec/tests/test_pec_receive.py Outdated
Comment thread l10n_it_edi_pec/tests/test_pec_receive.py Outdated
Comment thread l10n_it_edi_pec/tests/test_pec_send.py
Comment thread l10n_it_edi_pec/tests/test_pec_send.py
Comment thread l10n_it_edi_pec/models/ir_mail_server.py Outdated
@eLBati eLBati force-pushed the 18.0-mig-l10n_it_fatturapa_pec branch 2 times, most recently from 5e02ae3 to ea2e51b Compare March 17, 2026 13:59
@eLBati

eLBati commented Mar 17, 2026

Copy link
Copy Markdown
Member Author

@monen17 dovrei aver fatto tutto

@monen17 monen17 self-requested a review March 20, 2026 09:17

@monen17 monen17 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Grazie mille delle modifiche, ora a livello di codice per me non c'è più niente di bloccante.

Ho guardato invece la storia dei commit e mancano gran parte dei commit di l10n_it_sdi_channel, li puoi includere? Così rimane traccia di come è cambiato il modulo.

Anche il commit di migrazione che ora include entrambi i moduli andrebbe separato:

  1. prima il commit di migrazione della dipendenza l10n_it_sdi_channel -> l10n_it_edi_sdi
  2. poi la migrazione di l10n_it_fatturapa_pec -> l10n_it_edi_pec.

Normalmente andrebbero in due PR separate, ma visto che abbiamo già iniziato a mettere tutto qui per me si può anche evitare di aprire un'altra PR.

Potresti anche rimuovere i commit dei bot come indicato in https://github.com/OCA/maintainer-tools/wiki/Merge-commits-in-pull-requests#mergesquash-the-commits-generated-by-bots-or-weblate ? Così magari riusciamo a ridurre un po' i 100-+ commit di questa PR.

Comment thread l10n_it_edi_pec/data/fetchmail_data.xml
Comment thread l10n_it_edi_pec/models/__init__.py Outdated
Comment on lines +30 to +33
if not self.company_id.l10n_it_edi_use_pec:
return super()._l10n_it_edi_upload(files)

company = self.company_id

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Il caso in cui uno sviluppatore sprovveduto decide di mettere un'altra azienda, tipo self.env.company, in una delle due occorrenze di self.company_id.

Comment thread l10n_it_edi_pec/models/account_move.py Outdated
Comment thread l10n_it_edi_pec/models/account_move.py Outdated
Comment thread l10n_it_edi_pec/tests/test_pec_receive.py Outdated
Comment thread l10n_it_edi_pec/tests/test_pec_receive.py Outdated
Comment thread l10n_it_edi_pec/tests/test_pec_send.py
Comment thread l10n_it_edi_pec/tests/test_pec_send.py
Comment thread l10n_it_edi_pec/models/ir_mail_server.py Outdated
@eLBati eLBati force-pushed the 18.0-mig-l10n_it_fatturapa_pec branch from ea2e51b to e82509f Compare March 25, 2026 16:27
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, PR rebased to 18.0.

@OCA-git-bot OCA-git-bot force-pushed the 18.0-mig-l10n_it_fatturapa_pec branch from 1b54ba4 to 3ae61f9 Compare June 3, 2026 13:56
@OCA-git-bot OCA-git-bot added series:18.0 mod:l10n_it_account Module l10n_it_account mod:l10n_it_edi_pec Module l10n_it_edi_pec mod:l10n_it_edi_sdi Module l10n_it_edi_sdi labels Jun 3, 2026
@tafaRU tafaRU added the required label Jun 5, 2026
@tafaRU

tafaRU commented Jun 5, 2026

Copy link
Copy Markdown
Member

deve essere mergiata contestualmente a #5203

@tafaRU

tafaRU commented Jun 5, 2026

Copy link
Copy Markdown
Member

/ocabot merge nobump

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 18.0-ocabot-merge-pr-5102-by-tafaRU-bump-nobump, awaiting test results.

@OCA-git-bot

Copy link
Copy Markdown
Contributor

It looks like something changed on 18.0 in the meantime.
Let me try again (no action is required from you).
Prepared branch 18.0-ocabot-merge-pr-5102-by-tafaRU-bump-nobump, awaiting test results.

1 similar comment
@OCA-git-bot

Copy link
Copy Markdown
Contributor

It looks like something changed on 18.0 in the meantime.
Let me try again (no action is required from you).
Prepared branch 18.0-ocabot-merge-pr-5102-by-tafaRU-bump-nobump, awaiting test results.

@OCA-git-bot

Copy link
Copy Markdown
Contributor

@tafaRU The merge process could not be finalized, because command twine upload --disable-progress-bar --non-interactive --repository-url https://upload.pypi.org/legacy/ -u __token__ odoo_addon_l10n_it_edi_pec-18.0.1.0.0.2-py3-none-any.whl failed with output:

Uploading distributions to https://upload.pypi.org/legacy/
Uploading odoo_addon_l10n_it_edi_pec-18.0.1.0.0.2-py3-none-any.whl
�[33mWARNING �[0m Error during upload. Retry with the --verbose option for more details. 
�[31mERROR   �[0m HTTPError: 429 Too Many Requests from https://upload.pypi.org/legacy/  
         Too Many Requests                                                      

@tafaRU

tafaRU commented Jun 8, 2026

Copy link
Copy Markdown
Member

/ocabot merge nobump

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 18.0-ocabot-merge-pr-5102-by-tafaRU-bump-nobump, awaiting test results.

@OCA-git-bot

Copy link
Copy Markdown
Contributor

It looks like something changed on 18.0 in the meantime.
Let me try again (no action is required from you).
Prepared branch 18.0-ocabot-merge-pr-5102-by-tafaRU-bump-nobump, awaiting test results.

@OCA-git-bot

Copy link
Copy Markdown
Contributor

@tafaRU The merge process could not be finalized, because command twine upload --disable-progress-bar --non-interactive --repository-url https://upload.pypi.org/legacy/ -u __token__ odoo_addon_l10n_it_edi_pec-18.0.1.0.0.2-py3-none-any.whl failed with output:

Uploading distributions to https://upload.pypi.org/legacy/
Uploading odoo_addon_l10n_it_edi_pec-18.0.1.0.0.2-py3-none-any.whl
�[33mWARNING �[0m Error during upload. Retry with the --verbose option for more details. 
�[31mERROR   �[0m HTTPError: 429 Too Many Requests from https://upload.pypi.org/legacy/  
         Too Many Requests                                                      

@tafaRU

tafaRU commented Jun 8, 2026

Copy link
Copy Markdown
Member

/ocabot merge nobump

@OCA-git-bot

Copy link
Copy Markdown
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 18.0-ocabot-merge-pr-5102-by-tafaRU-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 2d1700e into OCA:18.0 Jun 8, 2026
3 of 5 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at baf6a6e. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.