Skip to content

Commit

Permalink
[FIX] connector_oxigesti: solve foreign key problems
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankC013 authored and eantones committed May 15, 2024
1 parent 6b520bc commit 8ebb248
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions connector_oxigesti/models/mrp_production/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ def _export_dependencies(self):
for binder_name, items in items_dict.items():
binder = self.binder_for(binder_name)
for item in items:
if not binder.to_external(item, wrap=True):
exporter = self.component(
usage="record.exporter", model_name=binder.model._name
)
exporter.run(item)
exporter = self.component(
usage="record.exporter", model_name=binder.model._name
)
exporter.run(item)

0 comments on commit 8ebb248

Please sign in to comment.