Skip to content

[FIX] Correctly detect new API function, property and related fields - #382

Merged
pedrobaeza merged 1 commit into
OCA:9.0from
StefanRijnhart:9.0-framework_new_api_fields
Oct 29, 2015
Merged

[FIX] Correctly detect new API function, property and related fields#382
pedrobaeza merged 1 commit into
OCA:9.0from
StefanRijnhart:9.0-framework_new_api_fields

Conversation

@StefanRijnhart

Copy link
Copy Markdown
Member

Fixes confusion between related and computed fields (related fields are computed according to their related path).
Implements detection of fields becoming a property field (not seen in the wild, but still).
Prevent signalling new 'monetary' field as distinct from 'float' field.
Take 'default' attribute on new API fields into account.

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.

This is a good candidate for being refactored to a method that can be called from the multiple places where you are making this change.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Can I call on the rule of three here, and not do this now?

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.

Of course, no problem. I told it as I see the same replace in several places, but indeed there are only 2 appearances.

@pedrobaeza

Copy link
Copy Markdown
Member

👍

@StefanRijnhart StefanRijnhart mentioned this pull request Oct 26, 2015
pedrobaeza added a commit that referenced this pull request Oct 29, 2015
[FIX] Correctly detect new API function, property and related fields
@pedrobaeza
pedrobaeza merged commit 2ecc2de into OCA:9.0 Oct 29, 2015
@StefanRijnhart
StefanRijnhart deleted the 9.0-framework_new_api_fields branch November 16, 2017 08:23
locdang8 pushed a commit to locdang8/OpenUpgrade that referenced this pull request Jul 20, 2023
* [OA-ADD] purchase: migration analytic distribution

* Update openupgrade_scripts/scripts/purchase/16.0.1.2/upgrade_analysis_work.txt

---------

Co-authored-by: Roy Le <43790414+royleviindoo@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants