037c0a6e3111f5dfeac7aeb4920a7bc668d5a9bb
When the cron is fetching the xml from the database, an empty invoice with the xml as an attachment is created. The reason for this is so that, if the import fails, there is at least a file accessible on the invoice for the purposes of debugging. When the cron's fetching function loops through the proxy users for each company, fetching the results from the proxy server for each company in turn. However when the empty invoice is created, the company is not provided, and thus the context company is used (that of the cron), which is not necessarily correct. This commit uses the company of the proxy to create the empty invoice (which in turn selects the correct journal etc. for the empty invoice). closes odoo/odoo#92830 Ticket-id: 2854284 X-original-commit: a19cdf82f3276f84fba2961fbd82a5a1a2f7844e Signed-off-by: Josse Colpaert <jco@odoo.com> Signed-off-by: Daniel Kosky (dako) <dako@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%