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

[10.0][FIX] l10n_it_intrastat_statement: force round to 1 additional_units field only if has a value #2232

Merged
merged 1 commit into from
Apr 29, 2021

Conversation

fredzamoabg
Copy link
Contributor

Descrizione del problema o della funzionalità:

Comportamento attuale prima di questa PR:
in fase di ricalcolo della dichiarazione intrastat si verifica un arrotondamento forzato al valore 1 per il campo additional_units anche se questo non è valorizzato.

Comportamento desiderato dopo questa PR:
l'arrotondamento forzato a 1 verrà fatto solo se il campo è valorizzato, e quindi con valori compresi tra 0.1 e 0.4

--
Confermo di aver firmato il CLA https://odoo-community.org/page/cla e di aver letto le linee guida su https://odoo-community.org/page/contributing

@fredzamoabg fredzamoabg changed the title [FIX] l10n_it_intrastat_statement: force round to 1 additional_units field only if has a value [10.0][FIX] l10n_it_intrastat_statement: force round to 1 additional_units field only if has a value Apr 23, 2021
@sergiocorato
Copy link
Contributor

Puoi creare la issue di tracciabilità per le altre versioni?

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

@sergiocorato
Copy link
Contributor

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 10.0-ocabot-merge-pr-2232-by-sergiocorato-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 95a5288 into OCA:10.0 Apr 29, 2021
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at a910597. 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.

5 participants