-
-
Notifications
You must be signed in to change notification settings - Fork 821
[MIG] procurement module migration scripts #672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+51
−1
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
50 changes: 50 additions & 0 deletions
50
addons/procurement/migrations/9.0.1.0/openupgrade_analysis_work.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| ---Fields in module 'procurement'--- | ||
| procurement / procurement.order / message_follower_ids (many2many) : not a function anymore | ||
| procurement / procurement.order / message_follower_ids (many2many) : relation is now 'mail.followers' ('res.partner') | ||
| procurement / procurement.order / message_follower_ids (many2many) : type is now 'one2many' ('many2many') | ||
| # Concerns module Mail (has to be done in another migration script specifically for that module) ---> Nothing to do | ||
|
|
||
| procurement / procurement.order / message_channel_ids (many2many) : NEW relation: mail.channel | ||
| # New field ---> Nothing to do | ||
|
|
||
| procurement / procurement.order / message_needaction (boolean) : NEW | ||
| # New field ---> Nothing to do | ||
|
|
||
| procurement / procurement.order / message_needaction_counter (integer) : NEW | ||
| # New field ---> Nothing to do | ||
|
|
||
| procurement / procurement.order / message_partner_ids (many2many) : NEW relation: res.partner | ||
| # New field ---> Nothing to do | ||
|
|
||
| procurement / procurement.order / message_summary (text) : DEL | ||
| # Nothing to do | ||
|
|
||
| procurement / procurement.order / message_unread_counter (integer) : NEW | ||
| # New field ---> Nothing to do | ||
|
|
||
| procurement / procurement.order / product_uos (many2one) : DEL relation: product.uom | ||
| procurement / procurement.order / product_uos_qty (float) : DEL | ||
| # Nothing to do | ||
|
|
||
| procurement / procurement.order / website_message_ids (one2many) : NEW relation: mail.message | ||
| # New field ---> Nothing to do | ||
|
|
||
| ---XML records in module 'procurement'--- | ||
| NEW ir.actions.act_window: procurement.procurement_order_action_exceptions | ||
| NEW ir.actions.act_window: procurement.procurement_order_action_product_product_stat | ||
| NEW ir.actions.act_window: procurement.procurement_order_action_product_template_stat | ||
| DEL ir.actions.act_window: procurement.procurement_exceptions | ||
| NEW ir.actions.server: procurement.procurement_order_server_action | ||
| # ir.actions.* ---> Nothing to do | ||
|
|
||
| DEL ir.sequence.type: procurement.sequence_proc_group_type | ||
| # Nothing to do | ||
|
|
||
| NEW ir.ui.view: procurement.product_product_view_form_procurement_button | ||
| NEW ir.ui.view: procurement.product_template_view_form_procurement_button | ||
| NEW ir.ui.view: procurement.view_procurement_rule_filter | ||
| # ir.ui.* ---> Nothing to do | ||
|
|
||
| NEW ir.values: procurement.run_procurement_order_action | ||
| # Nothing to do | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this dissapears, maybe now
product_uosandproduct_uos_qtyof the sales orders are put directly inproduct_uomandproduct_uom_qty. If so, then you should include a script for copying "uos" values (in pre-migration) to "uom" when "uos" is present. Please check the behavior in v8 and v9 when you put sales units and tell me back.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not.
product_uos and product_uos_qty dissapear:
https://github.com/OCA/OpenUpgrade/blob/9.0/addons/sale/sale.py#L557
and product_uom is setted with product_uom and product_uom_qty.
I'm right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, correct, then nothing to do on this.