Skip to content

Commit

Permalink
🚑 sync: fix _update_param
Browse files Browse the repository at this point in the history
  • Loading branch information
yelizariev committed Jun 22, 2024
1 parent 8bc29f6 commit ad6966f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sync/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"name": "Sync 🪬 Studio",
"summary": """Join the Amazing 😍 Community ⤵️""",
"category": "VooDoo ✨ Magic",
"version": "16.0.13.0.0",
"version": "16.0.13.0.1",
"application": True,
"author": "Ivan Kropotkin",
"support": "[email protected]",
Expand Down
5 changes: 5 additions & 0 deletions sync/doc/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
`13.0.1`
-------

- **Fix:** update params updating on existing records

`13.0.0`
-------

Expand Down
2 changes: 1 addition & 1 deletion sync/models/sync_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ def gen2csv(generator):
SECRETS[p.key] = p.value

def _update_param(key, value):
PARAMS[key] = value
for p in self.param_ids:
if p.key == key:
p.value = value
Expand All @@ -373,7 +374,6 @@ def _update_param(key, value):
"value": value,
}
)
PARAMS[key] = value

PARAMS = AttrDict(_update_param)
for p in self.param_ids:
Expand Down

0 comments on commit ad6966f

Please sign in to comment.