Skip to content
Snippets Groups Projects
Commit 26c4acc7 authored by Gert Pellin's avatar Gert Pellin
Browse files

[FIX] point-of-sale: discount line on ticket


Before this fix an extra line with the price without discount will be
printed even if there is no discount on the product.

After this fix the line will only be printed if there is a discount.

The error occured due to the use of t-else instead of t-elif.

closes odoo/odoo#32989

Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
parent 617ba288
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment