[FIX] pos_sale: runbot error 45368 (PosSettleOrderNotGroupable tour)
In this commit, we fix the last step of the PosSettleOrderNotGroupable tour which is deterministically failing in runbot. closes odoo/odoo#143229 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
This commit is contained in:
@@ -417,9 +417,9 @@ export function checkOrderlinesNumber(number) {
|
||||
return [
|
||||
{
|
||||
content: `check orderlines number`,
|
||||
trigger: `.order .orderlines .orderline`,
|
||||
trigger: `.order-container .orderline`,
|
||||
run: () => {
|
||||
const orderline_amount = $('.order .orderlines .orderline').length;
|
||||
const orderline_amount = $(".order-container .orderline").length;
|
||||
if (orderline_amount !== number) {
|
||||
throw new Error(`Expected ${number} orderlines, got ${orderline_amount}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user