mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] compute tax_ids missing fields
This commit is contained in:
@@ -488,7 +488,7 @@ class HotelReservation(models.Model):
|
|||||||
def _prepare_add_missing_fields(self, values):
|
def _prepare_add_missing_fields(self, values):
|
||||||
""" Deduce missing required fields from the onchange """
|
""" Deduce missing required fields from the onchange """
|
||||||
res = {}
|
res = {}
|
||||||
onchange_fields = ['room_id', 'reservation_type',
|
onchange_fields = ['room_id', 'reservation_type', 'tax_ids',
|
||||||
'currency_id', 'name', 'service_ids']
|
'currency_id', 'name', 'service_ids']
|
||||||
if values.get('room_type_id'):
|
if values.get('room_type_id'):
|
||||||
line = self.new(values)
|
line = self.new(values)
|
||||||
|
|||||||
Reference in New Issue
Block a user