Skip to content

Conversation

SirAionTech
Copy link
Contributor

@SirAionTech SirAionTech commented Jan 4, 2024

Risolve #1667 per 16.0.
Risolve #3146 per 16.0.

Sostituisce #3513 per risolvere #3513 (review).

Forward port di #3100.
Ho dovuto cambiare qualcosa durante il porting, soprattutto nell'ultimo commit, perché dopo #2750 non viene più sollevata un'eccezione quando vengono trovati partner duplicati.

Dipende da:

@francesco-ooops francesco-ooops mentioned this pull request Jan 4, 2024
5 tasks
@francesco-ooops francesco-ooops linked an issue Jan 4, 2024 that may be closed by this pull request
5 tasks
@francesco-ooops francesco-ooops linked an issue Jan 4, 2024 that may be closed by this pull request
3 tasks
@SirAionTech

This comment was marked as resolved.

@SirAionTech SirAionTech marked this pull request as ready for review January 4, 2024 13:56
@SirAionTech SirAionTech force-pushed the 16.0-fix-l10n_it_fatturapa_in-vat_group branch from c34d69a to dc72f06 Compare January 26, 2024 10:26
@SirAionTech SirAionTech force-pushed the 16.0-fix-l10n_it_fatturapa_in-vat_group branch from dc72f06 to fa95da5 Compare March 1, 2024 15:36
@SirAionTech SirAionTech force-pushed the 16.0-fix-l10n_it_fatturapa_in-vat_group branch from fa95da5 to 639eecc Compare April 19, 2024 13:33
@SirAionTech SirAionTech marked this pull request as draft April 19, 2024 14:29
@SirAionTech SirAionTech marked this pull request as ready for review April 22, 2024 09:05
@SirAionTech SirAionTech force-pushed the 16.0-fix-l10n_it_fatturapa_in-vat_group branch from 499df25 to 639eecc Compare May 31, 2024 07:25
@SirAionTech SirAionTech marked this pull request as draft May 31, 2024 07:54
@SirAionTech SirAionTech force-pushed the 16.0-fix-l10n_it_fatturapa_in-vat_group branch from 639eecc to acb7371 Compare May 31, 2024 08:00
@SirAionTech SirAionTech marked this pull request as ready for review May 31, 2024 09:54
@SirAionTech SirAionTech force-pushed the 16.0-fix-l10n_it_fatturapa_in-vat_group branch 3 times, most recently from cb98726 to 4d74656 Compare May 31, 2024 09:58
@SirAionTech SirAionTech force-pushed the 16.0-fix-l10n_it_fatturapa_in-vat_group branch from 4d74656 to 6934f6d Compare August 6, 2024 11:06
@SirAionTech SirAionTech marked this pull request as draft August 6, 2024 12:04
@SirAionTech SirAionTech force-pushed the 16.0-fix-l10n_it_fatturapa_in-vat_group branch from 6934f6d to f3c7e04 Compare August 6, 2024 13:27
@SirAionTech SirAionTech marked this pull request as ready for review August 6, 2024 13:53
@francesco-ooops
Copy link
Contributor

@SirAionTech qualche indicazione per test funzionali?

@SirAionTech
Copy link
Contributor Author

@SirAionTech qualche indicazione per test funzionali?

Sono nelle issue linkate in descrizione

Risolve #1667 per 16.0.
Risolve #3146 per 16.0.

@SirAionTech SirAionTech added the is porting This pull request is porting a change from another version label Nov 11, 2024
@SirAionTech
Copy link
Contributor Author

/ocabot rebase

@OCA-git-bot
Copy link
Contributor

Congratulations, PR rebased to 16.0.

@OCA-git-bot OCA-git-bot force-pushed the 16.0-fix-l10n_it_fatturapa_in-vat_group branch from f3c7e04 to b67afbf Compare November 12, 2024 09:33
@SirAionTech
Copy link
Contributor Author

@matteoopenf @eLBati magari vi interessa visto che avete revisionato #3100?

@matteoopenf
Copy link
Contributor

matteoopenf commented Feb 14, 2025

se entra vediamo per fare il back port a 14 e chiudiamo quella inizialmente aperta da noi

@francesco-ooops
Copy link
Contributor

@OCA/local-italy-maintainers buona per il merge?

@OCA-git-bot
Copy link
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). 🤖

if len(partners) > 1 and not commercial_partner:
found_partner = partner_model.browse()
elif commercial_partner:
commercial_partner_id = commercial_partner.id
Copy link
Contributor

Choose a reason for hiding this comment

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

commercial_partner_id come variabile non serve, basterebbe mettere commercial_partner.id sotto

Copy link
Contributor

Choose a reason for hiding this comment

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

👍 fatto

vals["name"] = DatiAnagrafici.Anagrafica.Denominazione
return vals

def getPartnerBase(self, DatiAnagrafici): # noqa: C901
Copy link
Contributor

Choose a reason for hiding this comment

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

# noqa: C901 probabilmente adesso dopo il refactoring non serve piu

Copy link
Contributor

Choose a reason for hiding this comment

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

👍 fatto

@matteoopenf
Copy link
Contributor

@SirPyTech per caso riesci a fare i cambiamenti mi sembra che sia il tuo nuovo nick dopo @SirAionTech
Grazie Mille

@SirPyTech
Copy link
Contributor

@SirPyTech per caso riesci a fare i cambiamenti mi sembra che sia il tuo nuovo nick dopo @SirAionTech Grazie Mille

Sì è il nuovo nick, però non è detto che io possa seguire i lavori fatti con i vecchi account.

Consiglio di trattare @SirAionTech come se fosse un account disattivato (di fatto lo è): se ci sono modifiche da fare qualcuno dovrà sostituire la PR, ovviamente rispettando l'authorship e quant'altro.
Può capitare che lo faccia io, ma come me possono farlo anche altri contributors.

@matteoopenf
Copy link
Contributor

@SirPyTech per caso riesci a fare i cambiamenti mi sembra che sia il tuo nuovo nick dopo @SirAionTech Grazie Mille

Sì è il nuovo nick, però non è detto che io possa seguire i lavori fatti con i vecchi account.

Consiglio di trattare @SirAionTech come se fosse un account disattivato (di fatto lo è): se ci sono modifiche da fare qualcuno dovrà sostituire la PR, ovviamente rispettando l'authorship e quant'altro. Può capitare che lo faccia io, ma come me possono farlo anche altri contributors.

ok

@matteoopenf
Copy link
Contributor

@TheMule71 sono mandatorie le modifiche che hai chiesto? o potremmo comunque mergiare?

@monen17 monen17 force-pushed the 16.0-fix-l10n_it_fatturapa_in-vat_group branch 2 times, most recently from ced0e78 to 5d960a0 Compare August 24, 2025 09:34
@monen17 monen17 requested a review from TheMule71 August 24, 2025 09:35
Copy link
Contributor

@monen17 monen17 left a comment

Choose a reason for hiding this comment

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

Grazie @TheMule71 della revisione, ho fatto le modifiche che suggeristi.
Secondo me comunque non erano bloccanti per il merge.
Puoi vedere se ora va meglio?

Ho anche risolto i conflitti.

if len(partners) > 1 and not commercial_partner:
found_partner = partner_model.browse()
elif commercial_partner:
commercial_partner_id = commercial_partner.id
Copy link
Contributor

Choose a reason for hiding this comment

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

👍 fatto

vals["name"] = DatiAnagrafici.Anagrafica.Denominazione
return vals

def getPartnerBase(self, DatiAnagrafici): # noqa: C901
Copy link
Contributor

Choose a reason for hiding this comment

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

👍 fatto

@monen17
Copy link
Contributor

monen17 commented Aug 24, 2025

I test non partono per #4519 (comment).

@monen17 monen17 requested review from monen17 and removed request for monen17 August 24, 2025 09:40
@francesco-ooops
Copy link
Contributor

/ocabot rebase

SirTakobi and others added 5 commits August 29, 2025 13:51
Co-authored-by: SirAionTech <simone.rubino@aion-tech.it>
Extract commercial partner retrieval
Extract partner search
Use the actual domain from multi-company partners sharing rule

Co-authored-by: SirAionTech <simone.rubino@aion-tech.it>
Co-authored-by: SirAionTech <simone.rubino@aion-tech.it>
Only CedentePrestatore and CessionarioCommittente are checked for VAT Groups,
when other partner fields match multiple partners just log an inconsistency

Co-authored-by: SirAionTech <simone.rubino@aion-tech.it>
@OCA-git-bot
Copy link
Contributor

Congratulations, PR rebased to 16.0.

@OCA-git-bot OCA-git-bot force-pushed the 16.0-fix-l10n_it_fatturapa_in-vat_group branch from 5d960a0 to 4133f97 Compare August 29, 2025 13:51
Before this change, the test finds two different partners with two
different commercial partners that are created by other tests so no
supplier is assigned to the created bill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved is porting This pull request is porting a change from another version ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Importazione fattura elettronica con terzo intermediario in Gruppo IVA Gruppi IVA
9 participants