You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
542 B
21 lines
542 B
/*
|
|
Copyright 2019 ACSONE SA/NV
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
*/
|
|
|
|
odoo.define('pos_payment_restriction.screens', function (require) {
|
|
"use strict";
|
|
|
|
var screens = require('point_of_sale.screens');
|
|
var devices = require('point_of_sale.devices');
|
|
|
|
screens.PaymentScreenWidget.include({
|
|
payment_input: function(){
|
|
if (this.pos.config.payment_amount_readonly){
|
|
return;
|
|
}
|
|
this._super.apply(this, arguments);
|
|
},
|
|
});
|
|
});
|