Created on 2020-11-20.10:01:08 by sylviegar, last changed 2 days ago by reviewbot.
I made the currency on invoice line required because with the domain it is defacto required.
I think it is not a problem to backport this because even if existing database does not have the schema updated, the constraint will still be enforced by trytond.
I could reproduce. This happens when an invoice is created in a different currency than the company. The default value for currency on the invoice line (which is the display) is still the one from the company.
Here is review324581002 which update the currency of the line using the invoice currency. It also adds domain constraint on the invoice lines to ensure coherence between both fields (but also with other fields used for standalone).
Please give a procedure to reproduce the problem.
This must include the modules activated, the steps done before and those to create such invoice.
the detail is in the attachment
Could you explain exactly what you mean?
What do you name "currency of the invoice lines"?
In purchase and sales invoices, the currency of the invoice lines is not the same as the currency of the header.
|2020-11-30 15:28:31||reviewbot||set||messages: + msg62312|
|2020-11-30 14:57:54||ced||set||messages: + msg62308|
|2020-11-30 14:56:38||ced||set||keyword: + backport|
nosy: + reviewbot
|2020-11-30 14:54:08||ced||set||assignedto: ced|
component: + account_invoice
keyword: + review
messages: + msg62305
status: need-eg -> testing
|2020-11-30 10:57:42||ced||set||messages: + msg62303|
messages: + msg62301
nosy: + ced
status: unread -> need-eg
Showing 10 items. Show all history (warning: this could be VERY long)