In case queue_batch is True, not use the configuration queue of batch_size and count is 1
We detect the sales process by creating an "ir.queue" for each instance in the list.
- According to the documentation:
If the value is true then the size is the value defined by the configuration queue of batch_size
The default batch_size is 20.
- During debugging, I observed:
(Pdb) isinstance(queue_batch, int)
True
And when count=True, in group_slice(), the count is 1:
(Pdb) count = max(1, True)
(Pdb) count
1