Commit Graph

19 Commits

Author SHA1 Message Date
Laurent Mignon (ACSONE)
d0eb8597ef [IMP] Process jobs 'validate_one_move' in a dedicated job channel
To avoid concurrent update when validating the account_move
on ir_sequence, jobs must be processed one by one. Using a
dedicated channel enable to isolate the processing of
the 'validate_one_move' jobs from the root channel
2018-10-24 12:50:37 +03:00
Adrien Peiffer (ACSONE)
cc9f24f7b6 [IMP] Commit transaction to avoid to lose all the jobs have been created in case of crash of the current job 2018-10-24 12:50:37 +03:00
Stéphane Bidoul
40e3926773 [FIX] pylint redefined-outer-name 2018-10-24 12:50:37 +03:00
Nicolas Bessi
cb7342f4f7 [FIX] move all unported addons into __unported__ folder instead of adding _unported suffix 2018-10-24 12:50:37 +03:00
Nicolas Bessi
156c76c3b8 Revert "Rename all addons to xxx_unported to be travis compliant"
This reverts commit 7eb182744f.
2018-10-24 12:50:37 +03:00
Leonardo Pistone
0c8c4bf610 [imp] account_move_batch_validate: if creating the jobs takes long, at least commit while marking moves to be validated. that way users will see the flag somewhat sooner. 2018-10-24 12:50:37 +03:00
Leonardo Pistone
f8369dcbf5 [imp] account_move_batch_validate: creating many jobs can be slow. Delay also the job that creates the other jobs.
Sadly, I have to disable tests until we will have a way to execute all pending jobs immediately in integration tests.
2018-10-24 12:50:37 +03:00
Leonardo Pistone
94cffaff8e [imp] account_move_batch_validate: impersonal log messages 2018-10-24 12:50:37 +03:00
Leonardo Pistone
b480e37cc7 [imp] account_move_batch_validate: log more when creating jobs 2018-10-24 12:50:37 +03:00
Leonardo Pistone
6faaf8528e [fix] when a the move we want to validate is not there anymore, close the job silently, with an appropriate message. I provide a test for that. 2018-10-24 12:50:37 +03:00
Leonardo Pistone
c1c1912f6e [imp] account_move_batch_validate: hide job uuid, make mark readonly 2018-10-24 12:50:37 +03:00
Leonardo Pistone
c4f3dc784c [fix] mark moves for posting a bit at a time to avoid MemoryError 2018-10-24 12:50:37 +03:00
Leonardo Pistone
b6df9565a3 [fix] store the job after changing the state 2018-10-24 12:50:37 +03:00
Leonardo Pistone
d228896b45 [add] new test for unmark feature 2018-10-24 12:50:37 +03:00
Leonardo Pistone
a1b2ed5e79 [add] move batch validate: now you can cancel all jobs that are not done yet 2018-10-24 12:50:37 +03:00
Leonardo Pistone
ec076ff3f2 [imp] batch validate: refactor, handle job uuid 2018-10-24 12:50:37 +03:00
Leonardo Pistone
91483d915a [imp] do not use a new cursor to create the jobs 2018-10-24 12:50:37 +03:00
Leonardo Pistone
518fe72cd2 [imp] account_move_batch_validate: first (partially) working state, yey! 2018-10-24 12:50:37 +03:00
Leonardo Pistone
eb59e1c414 [add] new module account_move_batch_validate: initial work, unfinished 2018-10-24 12:50:37 +03:00