bdcf5b6c2a5645572864a638afea260cd7cd225a
Reproduction: 1. Go to settings -> Technical -> user-defined defaults, create a default for sales type Journal for an account.move 2. Go to Accounting-> Customer -> payment, create a payment, and select Bank for jounal 3. The payment method is not changed to Manual, in V15 it does Reason: from Odoo 16.0, the method new is added to account_payment, and we compute the journal id when it’s not set. However, this doesn’t consider the case where we have a default value for journal_id. Currently, when there’s a default value, we still compute the journal id This causes the onchange, which uses record created by method new, is not triggered when we select the journal id as the computed journal id, e.g bank. Fix: don’t compute journal id when there’s a default value for it PR of adding the new method (big PR for 16): https://github.com/odoo/odoo/pull/96134 opw-3148919 closes odoo/odoo#116082 X-original-commit: 05aa0726529132df5733a3db61e4c3da1c037c1d Signed-off-by: Cedric Snauwaert <csn@odoo.com> Signed-off-by: Liu Jinjiu (jili) <jili@odoo.com>
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%