Skip to content

[16.0][MIG]l10n_it_riba_sale_commission: migration to v16#4403

Closed
matteotognini wants to merge 24 commits into
OCA:16.0from
odooNextev:16.0-mig-l10n_it_riba_sale_commission
Closed

[16.0][MIG]l10n_it_riba_sale_commission: migration to v16#4403
matteotognini wants to merge 24 commits into
OCA:16.0from
odooNextev:16.0-mig-l10n_it_riba_sale_commission

Conversation

@matteotognini

Copy link
Copy Markdown

No description provided.

@SirAionTech

Copy link
Copy Markdown
Contributor

/ocabot migration l10n_it_riba_sale_commission

@OCA-git-bot OCA-git-bot added this to the 16.0 milestone Oct 14, 2024
@OCA-git-bot OCA-git-bot mentioned this pull request Oct 14, 2024
81 tasks

@SirAionTech SirAionTech 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 della PR!
Ho verificato che migrando da 14.0 con OpenUpgrade i dati vengono preservati.

Ho notato che alcuni commit di 14.0 mancano, tipo ead038a, potresti includerli? Se possibile andrebbero messi nel punto giusto della storia, quindi prima dei commit di migrazione

Puoi schiacciare 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?

@SirAionTech

Copy link
Copy Markdown
Contributor

@odooNextev, @aleuffre, @renda-dev, @PicchiSeba visto che mantenete il modulo in 14.0, potete guardare se va bene questa migrazione? Credo abbiate anche potere di merge con ocabot

"application": False,
"installable": True,
"depends": [
"sale_commission",

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.

Questa dipendenza è stata splittata in 15.0 (vedi OCA/commission#387) in diversi moduli, ora dovrebbe essere sufficiente account_commission.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Grazie, ero partito da un branch non aggiornato e quindi non ero correttamente allineato alle ultime modifiche. Il modulo dipende da OCA/commission#561 che al momento è in attesa di reviews. Nei prossimi giorni provo a verificare quanto rimane da correggere su questa pr.

@matteotognini matteotognini force-pushed the 16.0-mig-l10n_it_riba_sale_commission branch from c5faa0f to 75f7b12 Compare December 5, 2024 15:33
Comment thread test-requirements.txt Outdated
@@ -0,0 +1 @@
odoo16-addon-commission@git+https://github.com/OCA/commission/pull/561/head#subdirectory=setup/commission

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.

I test non si stanno eseguendo per questo errore

fatal: repository 'OCA/commission#561' not found

(da https://github.com/OCA/l10n-italy/actions/runs/12182965960/job/33983246738?pr=4403#step:4:192)

probabile che sia perché questo è da correggere:

Suggested change
odoo16-addon-commission@git+https://github.com/OCA/commission/pull/561/head#subdirectory=setup/commission
odoo-addon-commission @ git+https://github.com/OCA/commission.git@refs/pull/561/head#subdirectory=setup/commission

(vedi https://github.com/OCA/maintainer-tools/wiki/Use-temporary-reference(s)-to-another-pull-request(s))

Qualche test fallirà comunque per #4461, ma almeno il resto dei test verranno eseguiti.

@SirAionTech

Copy link
Copy Markdown
Contributor

/ocabot rebase

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, PR rebased to 16.0.

@labour-angus labour-angus 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.

Ok funzionale

@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: OK

]
if dates:
return date_payment_to < max(dates)
return super()._skip_future_payments(date_payment_to)

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.

Non trovo questo metodo in super, puoi controllare?
Ho fatto qualche ricerca ed era stato introdotto in 14.0 da OCA/commission#441 ma in 16.0 non lo vedo, e non vedo nemmeno delle PR per portare OCA/commission#441 in 16.0.

@matteotognini matteotognini Dec 19, 2024

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Grazie della review, si, effettivamente il metodo non è presente nella 16. Mi consigli di proporre una pr per portare la pr in account_commission oppure rimuovo il metodo?
@francesco-ooops cosa ne pensi?

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 della review, si, effettivamente il metodo non è presente nella 16. Mi consigli di proporre una pr per portare la pr in account_commission oppure rimuovo il metodo?

Da quello che sto capendo di questi moduli questo override è un punto cardine del funzionamento di questo modulo, e se non esiste in super probabilmente vuole anche dire che non viene chiamato quando dovrebbe: secondo me sarebbe da portare OCA/commission#441 a 16.0.

Mi stupisce anche un po' che i test passino senza che questo metodo sia in super, quindi magari mi sto perdendo qualche pezzo.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Ho proposto questa pr: OCA/commission#588

@Marianna-Marasco

Copy link
Copy Markdown

Ciao, si può testare questa PR?

@francesco-ooops

Copy link
Copy Markdown
Contributor

@Marianna-Marasco la versione che abbiamo utilizzato in v14 ha dei grossi problemi i cui fix speriamo di riportare in OCA al più presto, comunque ti lancio un rebase se vuoi testare

@francesco-ooops

Copy link
Copy Markdown
Contributor

/ocabot rebase

weblate and others added 15 commits March 27, 2025 10:28
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-italy-14.0/l10n-italy-14.0-l10n_it_riba_sale_commission
Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-14-0/l10n-italy-14-0-l10n_it_riba_sale_commission/
Currently translated at 100.0% (9 of 9 strings)

Translation: l10n-italy-14.0/l10n-italy-14.0-l10n_it_riba_sale_commission
Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-14-0/l10n-italy-14-0-l10n_it_riba_sale_commission/it/
Currently translated at 100.0% (9 of 9 strings)

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

Translation: l10n-italy-14.0/l10n-italy-14.0-l10n_it_riba_sale_commission
Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-14-0/l10n-italy-14-0-l10n_it_riba_sale_commission/
Currently translated at 100.0% (9 of 9 strings)

Translation: l10n-italy-14.0/l10n-italy-14.0-l10n_it_riba_sale_commission
Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-14-0/l10n-italy-14-0-l10n_it_riba_sale_commission/it/
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, PR rebased to 16.0.

@OCA-git-bot OCA-git-bot force-pushed the 16.0-mig-l10n_it_riba_sale_commission branch from 7949bbe to 1afb88a Compare March 27, 2025 10:28
@github-actions

Copy link
Copy Markdown

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions Bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jul 27, 2025
@github-actions github-actions Bot closed this Aug 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

16.0 migration stale PR/Issue without recent activity, it'll be soon closed automatically.

Projects

None yet

Development

Successfully merging this pull request may close these issues.