We now allow invoicing of finalized orders in an open session in this first iteration of order management in the pos frontend. Additionally, receipt reprinting is also introduced. With this feature, we can now reprint the receipt of old orders. closes odoo/odoo#51141 Task-id: 1981354 Related: odoo/enterprise#11690 Related: odoo/upgrade#1472 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
31 lines
742 B
JavaScript
31 lines
742 B
JavaScript
odoo.define('pos_restaurant.tour.BillScreenTourMethods', function (require) {
|
|
'use strict';
|
|
|
|
const { createTourMethods } = require('point_of_sale.tour.utils');
|
|
|
|
class Do {
|
|
clickBack() {
|
|
return [
|
|
{
|
|
content: `go back`,
|
|
trigger: `.receipt-screen .back`,
|
|
},
|
|
];
|
|
}
|
|
}
|
|
|
|
class Check {
|
|
isShown() {
|
|
return [
|
|
{
|
|
content: 'Bill screen is shown',
|
|
trigger: '.receipt-screen h1:contains("Bill Printing")',
|
|
run: () => {},
|
|
},
|
|
];
|
|
}
|
|
}
|
|
|
|
return createTourMethods('BillScreen', Do, Check);
|
|
});
|