-
-
Notifications
You must be signed in to change notification settings - Fork 307
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
[14.0][IMP]l10n_it_ricevute_bancarie:Wizard per filtrare riba in base all'ammontare massimo #3411
[14.0][IMP]l10n_it_ricevute_bancarie:Wizard per filtrare riba in base all'ammontare massimo #3411
Conversation
5eaac49
to
524addc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test ok
@OCA/local-italy-maintainers opinioni? |
@odooNextev potete squashare e rinominare i commit? grazie |
20bc845
to
bf4f721
Compare
063a7c0
to
3054b1c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Giusto una piccola nota che non compromette comunque il funzionamento.
Code review 👍
if line.amount_residual < self.presentation_amount: | ||
self.presentation_amount -= line.amount_residual | ||
list_ids.append(line.id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if line.amount_residual < self.presentation_amount: | |
self.presentation_amount -= line.amount_residual | |
list_ids.append(line.id) | |
if line.amount_residual > self.presentation_amount: | |
break | |
self.presentation_amount -= line.amount_residual | |
list_ids.append(line.id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grazie della review. Ho pubblicato la modifica suggerita
3054b1c
to
019c82a
Compare
], | ||
order="date_maturity asc, price_total asc", | ||
): | ||
if line.amount_residual > self.presentation_amount: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ciao, se devi confrontare importi, meglio usare i metodi del modello res.currency
se nel model c'è un currency_id
oppure le funzioni per i float nelle utils.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grazie del consiglio. Ho aggiornato la pr utilizzando il float_compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TheMule71 buona ora? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TheMule71 ho visto che la tua richiesta è stata applicata 👍
This PR has the |
ff7579c
to
f711806
Compare
@TheMule71 buona per il merge? :) |
@OCA/local-italy-maintainers possiamo procedere? grazie! |
@OCA/local-italy-maintainers merge? |
@tafaRU @TheMule71 @eLBati gentilmente :) |
f711806
to
be0f220
Compare
/ocabot merge minor |
On my way to merge this fine PR! |
Congratulations, your PR was merged at f5b077c. Thanks a lot for contributing to OCA. ❤️ |
La voce di menù 'Presentazione Riba' permette estrarre le riba fino al raggiungimento dell'importo massimo inserito dall'utente.