diff options
| author | Goffin Simon <sig@odoo.com> | 2019-07-11 09:41:13 +0000 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2019-07-11 11:13:44 +0000 |
| commit | f94b09dbf2ed32ead42962c52ddc97199793b03d (patch) | |
| tree | e0a01ef018cacfd2bdde4ae9c7f2c0aea170a124 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 8271be23cf2b056263e676c6994e510c72cd3181 (diff) | |
[FIX] point_of_sale: payment method journal in wrong currency
Steps to reproduce the bug:
- Install point_of_sale and account_accountant
- Create a company C in USD
- Create a cash journal CJ with no currency set
- Activate Multicurrency
- Create a pricelist P in EUR
- Create a sales journal SJ with currency = EUR
- Create pos.config in company C
- Assign SJ in the Sales Journal field
- Set P as default pricelist
- Set the cash journal CJ as payment method and save
Bug:
As CJ is implicitly in USD, it was wrong to set CJ as payment method in a pos.config
in EUR.
With courtesy of <jcb@odoo.com>
opw:2031883
closes odoo/odoo#34790
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
