diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2016-01-28 15:21:53 +0100 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2016-01-28 17:14:42 +0100 |
| commit | 1b04b1d71a78633a43155d01a37c79b9e483bb2b (patch) | |
| tree | a70b38c1c7712e3a934d757efce52cfe2afbb59d /addons/web/static/src | |
| parent | 31e8cd0949309f1d1a0e0b702cfb8fce70b94596 (diff) | |
[IMP] purchase: default account journal
When the user clicks on the stat button "Invoices", then creates a new
invoice, the default currency of the new invoice will be based on the
default account journal. If the default account journal is not in the
currency of the PO, this will lead to an invoice which is not in the
same currency than the PO. This is not a bug in itself, but most of the
time, the user will want to create an invoice in the same currency than
the PO.
If no invoice is linked to the PO, the fix sets a default account
journal in the currency of the PO, as long as one can be found. If an
invoice is already linked to the PO, it uses the same account journal.
opw-667743
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
