a69c94478985c9cdc265f057ba115f694acf80ec
Description of the issue: Before this commit, allocation created for which no nextcall were set (allocation starting in the past or immediately) would update to a wrong value if the cron is run immediately after the allocation creation To reproduce the issue: - Create an accrual plan giving daily allocation - Create an allocation with that accrual and a start date in the past - Validate the allocation - Run the accrual schedule action manually - The new amount for the allocation is inferior to what it was at creation Expected Behaviour: The value should remain the same Fix: A nextcall is now set whenever the allocation is supposed to have already started to ensure no immediate accrual update. closes odoo/odoo#148154 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%