Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

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.

If this dissapears, maybe now product_uos and product_uos_qty of the sales orders are put directly in product_uom and product_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.

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.

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?

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.

OK, correct, then nothing to do on this.

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

2 changes: 1 addition & 1 deletion openerp/openupgrade/doc/source/modules80-90.rst
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ Status :
+-----------------------------------+-----------------------------------+
|pos_restaurant | |
+-----------------------------------+-----------------------------------+
|procurement | |
|procurement | Nothing to do |
+-----------------------------------+-----------------------------------+
|procurement_jit | |
+-----------------------------------+-----------------------------------+
Expand Down