mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-25 15:12:05 +02:00
Initial commit: Sale packages
This commit is contained in:
commit
14e3d26998
6469 changed files with 2479670 additions and 0 deletions
|
|
@ -0,0 +1,19 @@
|
|||
odoo.define('pos_sale.tour.ReceiptScreenTourMethods', function (require) {
|
||||
'use strict';
|
||||
|
||||
const { createTourMethods } = require('point_of_sale.tour.utils');
|
||||
const { Do, Check, Execute } = require('point_of_sale.tour.ReceiptScreenTourMethods');
|
||||
|
||||
class CheckExt extends Check{
|
||||
checkCustomerNotes(note) {
|
||||
return [
|
||||
{
|
||||
content: `check customer notes`,
|
||||
trigger: `.pos-receipt-customer-note:contains(${note})`,
|
||||
}
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
return createTourMethods('ReceiptScreen', Do, CheckExt, Execute);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue