a50157e60e51339027d285ce3582e8f6baedab06
Currently, when we create an expense that is paid by company, then create and approve a report, then post entries, 2 entries are created. 1 is posted and is correct, the other one is in draft due to the creation of the payment for employee and should not be there. As when a company pays for an expense, in 99% of the cases, it's because employees have a credit card funded by the company. It happens often that company owners have this kind of card or even employees but that's more common in the US. In such case, it's just an account payable to visa or mastercard. so no need to create a payment for the employee. So this commit, draft entry will not be created when payment paid by the company while posting the entries from the expense. closes odoo/odoo#71063 Taskid: 2410551 X-original-commit: 2aedd076317b37ceffba061c48e3d4fc38f02ea9 Signed-off-by: Yannick Tivisse (yti) <yti@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%