570f8ee71e2c35537299ffcd3e592ff0b76e9dbb
`fast_counterpart_creation` creates new move lines. The ORM doesn't know if these new move lines changed or not the value of the field `journal_entry_ids` of each of the bank statement lines, and for that reason this field got invalidated from the cache at each iteration, and the value was prefetched as soon as `st_line.journal_entry_ids.ids` was asked. Storing the value of this field for each line in the dict `journal_entries` overcome this problem as we get the value from this dict during the loop. Of course, this relies on the fact the value of `journal_entry_ids` doesn't change during the loop
…
…
…
…
…
…
…
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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%