diff options
| author | Thibault Francois <tfr@openerp.com> | 2020-01-29 16:52:36 +0000 |
|---|---|---|
| committer | Thibault Francois <tfr@openerp.com> | 2020-01-29 18:38:34 +0000 |
| commit | 08dfa9ffc445512f4924516679595bc294a03d49 (patch) | |
| tree | 9dca064781842ee0ad389883170e33c9e5970768 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | e3fa264d1053e0f0a5181da56f205cc05cc06316 (diff) | |
[FIX] account: take into account force_company for default journal
The default journal depends on the company define in the context or the company in the environment
In case of online signature/payment of a SO in a different company then the public user
The company will be wrong and the journal_id as well
It lead to a fail of the payment since the payment could not be reconciled with the invoices
This is happening because the force_company is not taken into account for the default journal
This commit take the force_company into account, it take the precedences on the default_company
closes odoo/odoo#44238
X-original-commit: 8158e286b0020daa994b593377a2c99234e66086
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
