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

l10n_fr_chorus_account - Discount on one item activates an xml line on other items #536

Open
PlantBasedStudio opened this issue Apr 8, 2024 · 2 comments
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.

Comments

@PlantBasedStudio
Copy link

Hello,
I have detected an unexpected behavior when issuing invoices with the chorus module.
When I have a discount on one of my items and I have several items in the invoice, the module will consider that all the items have a discount, but as these are at 0%, the mandatory associated line (ActualAmount) will not appear for these items without a discount. This generates the following error:

Facture n°FAC/2024/0021:L'element (AppliedTradeAllowanceCharge.ActualAmount.value) est obligatoire si l'element (SupplyChainTradeTransaction.IncludedSupplyChainTradeLineItem.SpecifiedLineTradeAgreement.GrossPriceProductTradePrice) est renseigne.

Example of an item line with a discount:
Image

Other items have the line AppliedTradeAllowanceCharge but no line ActualAmount.

I'm willing to correct this problem with a PR.
Can you help me find out where the file is generated and if I can control the editing of lines according to items?

@PlantBasedStudio
Copy link
Author

@alexis-via Any suggestions?

Copy link

github-actions bot commented Oct 6, 2024

There hasn't been any activity on this issue in the past 6 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 issue 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 Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

No branches or pull requests

1 participant