I'm happy to work on this issue myself, but need some input/confirmation from the devs/maintainers.
Module
sale_fixed_discount
Describe the bug
When printing a PDF report of a quotation/order that includes a Fixed Discount, the fixed discount column is not included:
Also, the online Preview does not show the discounted unit price. I have included this in the same issue because they both deal with the display of a fixed discount, but if you like I can create a separate issue. But perhaps this is by-design/a known limitation?
To Reproduce
Affected versions: 17.0
Steps to reproduce the behavior:
- In a runboat.odoo-community.org instance for sale-workflow, login and enable Discounts in the Sales general settings.
- With sale_fixed_discount installed, create a new quotation.
- Add a product (e.g. Acoustic Bloc Screens with a unit price of $295).
- In the line’s Disc. Fixed Amount column, enter a discount (e.g. $100).
- Click Preview (the portal/online preview view). Notice that the regular unit price is red with strikethrough but the discounted unit price is not displayed (by design?)
- Return to the backend view of the quotation/order and print it to create a PDF. Notice that the Disc. Fixed Amount column is not displayed.
Expected behavior
- Online preview: ideally should behave like the Disc. % functionality and show the discounted unit price beneath the strikethrough.
- PDF report: should include a “Disc. Fixed Amount” column showing the fixed discount (e.g. “$100.00”).