Vauxoo / addons-vauxoo

All our modules related to developments that solves generic issues on Odoo, or that solve internal problems on Odoo Core, if something is here, maybe it is solving an issue in your company, try it and report what you see.
http://www.vauxoo.com
193 stars 288 forks source link

[REF] product_extended_segmentation: Modified cron job to be split in… task#29961 #1326

Closed keylor2906 closed 5 years ago

keylor2906 commented 5 years ago

… multiple crons, this is done because when having a lot of records is common to have time out errors.

The cron is splited depending the number of records wanted per cron. All crons are linked to the next one to be executed. And when all crons are executed they are deactivated and waiting to be erased by the next execution of the original cron.

keylor2906 commented 5 years ago

@dsabrinarg @josemoralesp This is the PR to split the cron that computes the product segmentation costs

keylor2906 commented 5 years ago

This is the dev instance http://dev.lodigroup.com:30013

dsabrinarg commented 5 years ago

@JulioSerna @hbto or @josemoralesp review asap please, this is urgente for Quebec customer. Regards!.

hbto commented 5 years ago

@dsabrinarg I have reviewed and it's good for me