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 committed Sep 28, 2023
1 parent 2e05ab3 commit 02f0896
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)

Check warning on line 48 in connector_oxigesti/models/mrp_production/exporter.py

View check run for this annotation

Codecov / codecov/patch

connector_oxigesti/models/mrp_production/exporter.py#L48

Added line #L48 was not covered by tests
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(

Check warning on line 50 in connector_oxigesti/models/mrp_production/exporter.py

View check run for this annotation

Codecov / codecov/patch

connector_oxigesti/models/mrp_production/exporter.py#L50

Added line #L50 was not covered by tests
usage="record.exporter", model_name=binder.model._name
)
exporter.run(item)

Check warning on line 53 in connector_oxigesti/models/mrp_production/exporter.py

View check run for this annotation

Codecov / codecov/patch

connector_oxigesti/models/mrp_production/exporter.py#L53

Added line #L53 was not covered by tests

0 comments on commit 02f0896

Please sign in to comment.