Writing a negative amount (discount) in invoice

Asked by Bogdan Stanciu

Hello!

I am trying to register an invoice of the following form:
1. product 1 price 10
2. product 2 price 5
3. discount amount -3 (not a percentage of the product(s))
total amount 12

i tried to create a "discount" product, with a negative amount, but the negative amount is not taken into consideration.

what is the proper way to register the invoice?

Thank you!
Bogdan

Question information

Language:
English Edit question
Status:
Solved
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Solved by:
Ferdinand
Solved:
Last query:
Last reply:
Revision history for this message
Best Ferdinand (office-chricar) said :
#1

use your discount product
qty 1
price -3
subtotal -3
that's how it works here

Revision history for this message
Bogdan Stanciu (bstanciu) said :
#2

Ferdinand,

Thank you very much for your quick answer!

However, here (Lausanne, lol) I don't have a way to input the subtotal... Do you use some module?

I only have amount and discount(%) as options..

Thank you,
Bogdan

Revision history for this message
Ferdinand (office-chricar) said :
#3

no - input is qty and price
subtotal is calculated

Revision history for this message
Bogdan Stanciu (bstanciu) said :
#4

On 03. 02. 11 21:37, Ferdinand @ Camptocamp wrote:
> Your question #143983 on OpenERP Addons changed:
> https://answers.launchpad.net/openobject-addons/+question/143983
>
> Status: Open => Answered
>
> Ferdinand @ Camptocamp proposed the following answer:
> no - input is qty and price
> subtotal is calculated
>
that's the problem, I don't have the subtotal calculated, it is simply
ignored.

Revision history for this message
Bogdan Stanciu (bstanciu) said :
#5

sorry, for some mysterious reason, it didn't work when I tried, but now it works. so thank you!

Revision history for this message
Bogdan Stanciu (bstanciu) said :
#6

Thanks Ferdinand @ Camptocamp, that solved my question.