Skip to content

[18.0][ADD] l10n_it_delivery_note: mostrare i totali prezzi in DDT#5138

Open
quirino95 wants to merge 6 commits into
OCA:18.0from
PyTech-SRL:18.0-fix-4109
Open

[18.0][ADD] l10n_it_delivery_note: mostrare i totali prezzi in DDT#5138
quirino95 wants to merge 6 commits into
OCA:18.0from
PyTech-SRL:18.0-fix-4109

Conversation

@quirino95

Copy link
Copy Markdown

Forward port of #4089 #4112

Fixes: #4109

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @aleuffre, @renda-dev, @MarcoCalcagni,
some modules you are maintaining are being modified, check this out!

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

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

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

@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

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

LGTM

@andreampiovesana

Copy link
Copy Markdown
Contributor

@MarcoCalcagni merge?

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

Grazie della PR!
Ho fatto solo revisione del codice e la maggior parte delle modifiche sono ok, però manca l'aggiunta dei totali delle imposte nel report, puoi verificare?

Comment thread l10n_it_delivery_note/readme/USAGE.md Outdated
- colonna Import sulle righe
- riquadro con la lista degli importi e somma del totale

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

polish: Questo non diventa davvero un elenco, guarda nel HTML:

Image

Penso sia colpa degli spazi a inizio riga, che nel commit originale 0ba6bce non ci sono.

In un commit successivo comunque questa parte viene rimossa.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Updated usage.md file without spaces so that original commit in 14.0 is restored eventhough it is removed later by other commit

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

issue: Manca l'aggiunta delle imposte nel report che è il motivo per cui è stato fatto questo commit

[IMP] l10n_it_delivery_note: add untaxed amount in report

Nel commit originale 10c64a1 c'è.

@anusriNPS anusriNPS Jun 10, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Yes, it was missed from the original commit which has to be available for including taxes related info in the report.

@anusriNPS anusriNPS Jun 10, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Including this change, introduces tax amount related information in the report:
image

Comment on lines +227 to +233
def test_partner_shipping_delivering_single_so(self):
# ⇒ "Ordine singolo: consegna a indirizzo diverso"
self._test_partners()
# ⇒ "Ordine singolo: consegna a indirizzo di consegna e fatturazione diversi"
self._test_partners(test_invoice_partner=True)

def _test_partners(self, test_invoice_partner=False):

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

chore: Questi test non ci sono nel commit originale 10c64a1, se vuoi aggiungerli ben venga ma andrebbero in un commit a parte.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This is the original commit 414f5ab which introduces these testcases in 14.0. However, it has not been port forward to 16.0 as part of #4562 but just included testcases alone in a wrong commit which is not appropriate. In 18.0, either we can port forward 14.0 original commit which introduce testcase or just remove the testcase from wrong commit.

I have removed the testcase from the commit add untaxed amount in report for now. If require we can port forward this commit 414f5ab. Please let me know your views.

user = new_test_user(
self.env,
login="test",
groups="stock.group_stock_manager",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

note: Nel commit originale 10c64a1 c'era anche il gruppo per le funzionalità avanzate, ma se non serve per me va bene rimuoverlo, così usiamo i diritti minimi per far passare il test

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Yes, original commit has advanced DN groups in the testcase. As in 18.0 this group is not available, it is not used as part of this testcase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:l10n_it_delivery_note Module l10n_it_delivery_note series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

l10n_it_delivery_note: mostrare i totali prezzi in DDT

10 participants