mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP] pos_pms_link:
- Add translation. - Add improved search. - Add note to pos.order.line with reservation and room. - Add room to list. - Add new domain. - Add reservation confirm popup. - Add hides reservation payment button if there is payment lines in the order.
This commit is contained in:
@@ -67,7 +67,9 @@ odoo.define("pos_pms_link.db", function (require) {
|
||||
},
|
||||
_reservation_search_string: function(reservation){
|
||||
var str = reservation.name || '';
|
||||
str = '' + reservation.id + ':' + str.replace(':', '').replace(/\n/g, ' ') + '\n';
|
||||
var room_str = reservation.rooms || '';
|
||||
var partner_str = reservation.partner_name || '';
|
||||
str = '' + reservation.id + ':' + str.replace(':', '').replace(/\n/g, ' ') + ':' + room_str.replace(':', '').replace(/\n/g, ' ') + ':' + partner_str.replace(':', '').replace(/\n/g, ' ') + '\n';
|
||||
return str;
|
||||
},
|
||||
add_reservations: function(reservations){
|
||||
|
||||
Reference in New Issue
Block a user