Skip to content

Commit

Permalink
Merge pull request #472 from frePPLe/17.0
Browse files Browse the repository at this point in the history
Syncing from upstream frePPLe/odoo (17.0)
  • Loading branch information
bt-admin authored Aug 28, 2024
2 parents 0d5fa3a + 36bb88c commit 94574fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frepple/controllers/outbound.py
Original file line number Diff line number Diff line change
Expand Up @@ -1137,13 +1137,15 @@ def export_items(self):
tmp = self.generator.getData(
"product.supplierinfo",
fields=supplierinfo_fields,
search=[("product_tmpl_id", "!=", False)],
)
except Exception:
# subcontracting module not installed
supplierinfo_fields.remove("is_subcontractor")
tmp = self.generator.getData(
"product.supplierinfo",
fields=supplierinfo_fields,
search=[("product_tmpl_id", "!=", False)],
)
itemsuppliers = {}
for i in tmp:
Expand Down

0 comments on commit 94574fa

Please sign in to comment.