Create a sales invoice with a quantity, sellprice, and discount. I used qty of 10, sellprice of 120, and discount of 50%.
Save. Note the invoice number
Go to transaction approval. The draft shows the full amount, not the discounted amount.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2014-05-20
On 'master', this works for me. It really can't NOT work, because the numbers saved in the database (and later consulted in public.draft__search) are 0 (I used 100% discount, though).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2014-05-20
Ah! The point is that one uses a discount other than 100%, because I do see this with a 50% discount.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Care to elaborate?
Create a sales invoice with a quantity, sellprice, and discount. I used qty of 10, sellprice of 120, and discount of 50%.
Save. Note the invoice number
Go to transaction approval. The draft shows the full amount, not the discounted amount.
On 'master', this works for me. It really can't NOT work, because the numbers saved in the database (and later consulted in public.draft__search) are 0 (I used 100% discount, though).
Ah! The point is that one uses a discount other than 100%, because I do see this with a 50% discount.
Pull request awaiting review: https://github.com/ledgersmb/LedgerSMB/pull/66