Skip to content

[MIG] l10n_it_account_stamp: Migrazione a 18.0#4402

Merged
OCA-git-bot merged 41 commits into
OCA:18.0from
SirAionTech:18.0-mig-l10n_it_account_stamp
Dec 15, 2024
Merged

[MIG] l10n_it_account_stamp: Migrazione a 18.0#4402
OCA-git-bot merged 41 commits into
OCA:18.0from
SirAionTech:18.0-mig-l10n_it_account_stamp

Conversation

@SirAionTech

Copy link
Copy Markdown
Contributor

Sostituisce #4373.

@SirAionTech SirAionTech marked this pull request as ready for review October 11, 2024 13:56
@SirAionTech

Copy link
Copy Markdown
Contributor Author

/ocabot migration l10n_it_account_stamp

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Oct 11, 2024
@OCA-git-bot OCA-git-bot mentioned this pull request Oct 11, 2024
46 tasks

@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

sergiocorato and others added 23 commits October 18, 2024 12:58
[FIX] clean

[FIX] clean

[FIX] pep8

[IMP] use tax obj instead of tax code

[FIX] icon path

[FIX] get product with lang context

[FIX] translation

[FIX] product name

[FIX] compute after unlink of invoice line
…OCA#818)

This is needed as stamp line should be under VAT exemption
Currently translated at 100.0% (29 of 29 strings)

Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_account_stamp
Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_account_stamp/it/
[FIX] extra blank line
[FIX] typos in source strings
[IMP] readme, adapt to v.12.0 and add italian section
[IMP] __manifest__.py, set ITA name and summary
Currently translated at 100.0% (29 of 29 strings)

Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_account_stamp
Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_account_stamp/it/
Currently translated at 100.0% (29 of 29 strings)

Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_account_stamp
Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_account_stamp/it/
[FIX] 2 euro image file
[IMP] image on invoice to display stamp application
      and revert checkbox to previous position
[FIX] show button in draft edit mode only
Currently translated at 100.0% (30 of 30 strings)

Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_account_stamp
Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_account_stamp/it/
Currently translated at 100.0% (30 of 30 strings)

Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_account_stamp
Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_account_stamp/it/
Currently translated at 100.0% (30 of 30 strings)

Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_account_stamp
Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_account_stamp/it/
Test case:

 - Create a product setting VAT "fuori campo" (price 1)
 - Configure "Tax Stamp 2 euro" product to apply to "fuori campo"
 - Create an invoice, add a line selecting the previously created product and setting unit price = 100

tax_stamp field stays false
SirAionTech and others added 3 commits October 18, 2024 12:58
If stamp line can be added (invoice in draft): show button to add stamp line.
If stamp line can't be added (invoice not in draft): show message explaining why it can't be added.
If stamp line has already been added: show message saying it has already been added (useful if invoice has many lines).
Button and messages update live while updating the invoice.
Better messages to user for charging stamp to customer

Co-authored-by:  Simone Rubino <simone.rubino@aion-tech.it>
Currently translated at 100.0% (35 of 35 strings)

Translation: l10n-italy-16.0/l10n-italy-16.0-l10n_it_account_stamp
Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-16-0/l10n-italy-16-0-l10n_it_account_stamp/it/
@SirAionTech SirAionTech force-pushed the 18.0-mig-l10n_it_account_stamp branch from 6340163 to dff90a8 Compare October 18, 2024 11:01
Comment thread l10n_it_account_stamp/migrations/18.0.1.0.0/pre-migrate.py Outdated
@SirAionTech SirAionTech force-pushed the 18.0-mig-l10n_it_account_stamp branch from dff90a8 to a6d100f Compare October 24, 2024 14:40
@SirAionTech SirAionTech requested a review from primes2h October 24, 2024 14:41

@primes2h primes2h 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.

Per me è ok.

Manca solo un revisione degli script di migrazione, non posso autorevisionarmeli. 😉

@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). 🤖

@SirAionTech SirAionTech marked this pull request as draft October 24, 2024 15:19
@SirAionTech

This comment was marked as resolved.

Align with Odoo standard terminology

Co-authored-by: Sergio Zanchetta <primes2h@gmail.com>
@SirAionTech SirAionTech force-pushed the 18.0-mig-l10n_it_account_stamp branch from a6d100f to 4bd4fc5 Compare October 30, 2024 16:52
@SirAionTech SirAionTech marked this pull request as ready for review October 30, 2024 16:56

@SirAionTech SirAionTech left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Per me è ok.

Manca solo un revisione degli script di migrazione, non posso autorevisionarmeli. 😉

Li ho guardati e secondo me vanno bene ma non posso autoapprovarmi la PR; ci accorgeremo di cosa abbiamo sbagliato quando si potranno usare.

Ho fatto le modifiche che avevamo detto in #4402 (comment), se vuoi darci un occhio così poi mergiamo 🚀

@SirAionTech SirAionTech requested a review from primes2h October 30, 2024 17:00

@MarcoCalcagni MarcoCalcagni 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

@primes2h

Copy link
Copy Markdown
Contributor

Per me è ok.
Manca solo un revisione degli script di migrazione, non posso autorevisionarmeli. 😉

Li ho guardati e secondo me vanno bene ma non posso autoapprovarmi la PR; ci accorgeremo di cosa abbiamo sbagliato quando si potranno usare.

Ho fatto le modifiche che avevamo detto in #4402 (comment), se vuoi darci un occhio così poi mergiamo 🚀

Perfetto, grazie!

@primes2h primes2h 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.

LGTM

@primes2h

Copy link
Copy Markdown
Contributor

/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-4402-by-primes2h-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit e2c3b5f into OCA:18.0 Dec 15, 2024
@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

@odooNextev

Copy link
Copy Markdown
Contributor

Non bisognerebbe nascondere il campo l10n_it_stamp_duty di l10n_it_edi dalla vista per evitare confusione all'utente?
Anche perchè se un utente imposta il campo ed aggiunge il prodotto bollo nelle righe quale dei 2 importi viene inserito nel XML?

image

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.