OCA / edi

GNU Affero General Public License v3.0
116 stars 299 forks source link

[12.0][IMP] edi_oca: don't consider exchange records if jobs have been created #996

Open MiquelRForgeFlow opened 1 month ago

MiquelRForgeFlow commented 1 month ago

If two _check_output_exchange_sync are called consecutively, one after the other, maybe due to _execute_next_action method, the following error happens: Selection_3459 Both _check_output_exchange_sync calls detect the same exchange records, and both create same jobs. The first batch of jobs will be processed but the second ones will fail due to check of state = "new".

OCA-git-bot commented 1 month ago

Hi @etobella, @simahawk, some modules you are maintaining are being modified, check this out!