[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:
Vicente
2023-05-02 12:06:41 +02:00
committed by Darío Lodeiros
parent a3821a403f
commit 63ac94574f
7 changed files with 397 additions and 14 deletions

View File

@@ -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){