Skip to content

Commit

Permalink
[FIX] connector_pms_wubook: no Pricelist or Availability Plan exporte…
Browse files Browse the repository at this point in the history
…d if it's done from backend
  • Loading branch information
eantones committed Jul 20, 2021
1 parent 8321596 commit 9ba9a1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def export_data(self, backend_record=None):
return self.export_batch(
backend_record=backend_record,
domain=[
"|",
("pms_property_ids", "=", False),
("pms_property_ids", "in", backend_record.pms_property_id.ids),
],
Expand Down
1 change: 1 addition & 0 deletions connector_pms_wubook/models/product_pricelist/binding.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def export_data(self, backend_record=None):
return self.export_batch(
backend_record=backend_record,
domain=[
"|",
("pms_property_ids", "=", False),
("pms_property_ids", "in", backend_record.pms_property_id.ids),
],
Expand Down

0 comments on commit 9ba9a1e

Please sign in to comment.