d40f4f592b7f4086e9025cf3853ede687302288e
Bug introduced by this commit: https://github.com/odoo/odoo/commit/f05db8b122140a9d0f124484ab22eb094b4e36e9 Steps to reproduce the bug: - create a journal entry with 4 ”account.move.line”: - two `”account.move.line”` with accounts of type ('receivable' or 'payable') > with the amount of both in debit or both in credit - two `”account.move.line”` with accounts other than the type ('receivable' or 'payable') - save - duplicate the `“account.move”` - validation error will be triggered: https:github.com/odoo/odoo/blob/14.0/addons/account/models/account_move.py#L3209-L3211 Problem: The payment terms must be recomputed only if the `”account.move”` is an invoice OPW-2642826 closes odoo/odoo#76779 X-original-commit: 52482ae43f38a95bce9e17f2e455378d1badc893 Signed-off-by: Laurent Smet <smetl@users.noreply.github.com> Signed-off-by: Djamel Touati <DjamelTouati@users.noreply.github.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%