Laurent Mignon (ACSONE)
34cdf5b88d
[IMP] assign default channel on @job function
2020-05-26 10:03:14 +03:00
Laurent Mignon (ACSONE)
4cf39e9428
[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
2020-05-26 10:03:14 +03:00
Adrien Peiffer (ACSONE)
5b95573bb1
[IMP] Commit transaction to avoid to lose all the jobs have been created in case of crash of the current job
2020-05-26 10:03:14 +03:00
Stéphane Bidoul
8e365f5b3c
[FIX] pylint redefined-outer-name
2020-05-26 10:03:13 +03:00
Nicolas Bessi
8c1631e635
[FIX] move all unported addons into __unported__ folder instead of adding _unported suffix
2020-05-26 10:03:13 +03:00
Nicolas Bessi
ee6766a4e4
Revert "Rename all addons to xxx_unported to be travis compliant"
...
This reverts commit 7eb182744f .
2020-05-26 10:03:13 +03:00
Leonardo Pistone
d8baef5c31
[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.
2020-05-26 10:03:13 +03:00
Leonardo Pistone
2561d64581
[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.
2020-05-26 10:03:13 +03:00
Leonardo Pistone
e2140bc654
[imp] account_move_batch_validate: impersonal log messages
2020-05-26 10:03:13 +03:00
Leonardo Pistone
48089ee8f0
[imp] account_move_batch_validate: log more when creating jobs
2020-05-26 10:03:13 +03:00
Leonardo Pistone
efcb80f540
[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.
2020-05-26 10:03:13 +03:00
Leonardo Pistone
ded0977ac5
[imp] account_move_batch_validate: hide job uuid, make mark readonly
2020-05-26 10:03:13 +03:00
Leonardo Pistone
a0de85a1d8
[fix] mark moves for posting a bit at a time to avoid MemoryError
2020-05-26 10:03:13 +03:00
Leonardo Pistone
a7c143be65
[fix] store the job after changing the state
2020-05-26 10:03:13 +03:00
Leonardo Pistone
a5edba0ed7
[add] new test for unmark feature
2020-05-26 10:03:13 +03:00
Leonardo Pistone
5b2bd031ca
[add] move batch validate: now you can cancel all jobs that are not done yet
2020-05-26 10:03:13 +03:00
Leonardo Pistone
78e6560d09
[imp] batch validate: refactor, handle job uuid
2020-05-26 10:03:13 +03:00
Leonardo Pistone
be6319afbd
[imp] do not use a new cursor to create the jobs
2020-05-26 10:03:13 +03:00
Leonardo Pistone
02de20b0ec
[imp] account_move_batch_validate: first (partially) working state, yey!
2020-05-26 10:03:13 +03:00
Leonardo Pistone
8886335db9
[add] new module account_move_batch_validate: initial work, unfinished
2020-05-26 10:03:13 +03:00