Skip to content

Commit

Permalink
odoo export: not all 100 values needed to change :-)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdetaeye committed Feb 16, 2024
1 parent ef254e1 commit 6ac0b0c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions freppledb/odoo/management/commands/odoo_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,7 @@ def handle(self, **options):
i.save(using=self.database, update_fields=("status", "source"))

# Progress
task.status = "%s%%" % math.ceil(
counter / total_pages * self.recordsperpage
)
task.status = "%s%%" % math.ceil(counter / total_pages * 100)
task.message = "Sent page %s of %s with plan data to odoo" % (
counter,
total_pages,
Expand Down

0 comments on commit 6ac0b0c

Please sign in to comment.