Skip to content

[18.0][FIX] connector_importer: Fix skip_fields_unchanged behaviour - #190

Open
rousseldenis wants to merge 1 commit into
OCA:18.0from
acsone:18.0-fix-skip-fields-dro
Open

rousseldenis wants to merge 1 commit into
OCA:18.0from
acsone:18.0-fix-skip-fields-dro

Conversation

@rousseldenis

Copy link
Copy Markdown

No description provided.

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @simahawk,
some modules you are maintaining are being modified, check this out!

@OCA-git-bot OCA-git-bot added mod:connector_importer Module connector_importer series:18.0 labels Sep 18, 2026
@rousseldenis
rousseldenis force-pushed the 18.0-fix-skip-fields-dro branch from 104d7fe to 2f3542a Compare September 18, 2026 12:41
@rousseldenis rousseldenis changed the title [FIX] connector_importer: Fix skip_fields_unchanged behaviour [18.0][FIX] connector_importer: Fix skip_fields_unchanged behaviour Sep 18, 2026
if values[k] != v:
# Some fields like 'id' are loaded by read() and are not necessary in
# write values.
if k in values and values[k] == v:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something like this is not working?

Suggested change
if k in values and values[k] == v:
if values.get(k, False) == v:

@FrancoMaxime FrancoMaxime left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM: code review

a minor question

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:connector_importer Module connector_importer series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants