[MIG] procurement module migration scripts - #672
Conversation
* completed analysys * added analysis_work file
| procurement / procurement.order / product_uos (many2one) : DEL relation: product.uom | ||
| procurement / procurement.order / product_uos_qty (float) : DEL | ||
| procurement / procurement.order / website_message_ids (one2many): NEW relation: mail.message | ||
| procurement / procurement.order / message_follower_ids (many2many) : not a function anymore |
There was a problem hiding this comment.
Why have you changed this file?
There was a problem hiding this comment.
To add some analysis of fields/views that are missing in initial analysis.
There was a problem hiding this comment.
Two things about this:
- Don't change lines although the indentation is not so good for not increasing the diff.
- Why they are not included? Maybe we should improve the analysis method. Anyway, don't include here that extra lines, but it _work file.
|
You have to update documentation in https://github.com/OCA/OpenUpgrade/blob/9.0/openerp/openupgrade/doc/source/modules80-90.rst |
| procurement / procurement.order / message_unread_counter (integer) : NEW | ||
| # New field ---> Nothing to do | ||
|
|
||
| procurement / procurement.order / product_uos (many2one) : DEL relation: product.uom |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
OK, correct, then nothing to do on this.
| |pos_restaurant | | | ||
| +-----------------------------------+-----------------------------------+ | ||
| |procurement | | | ||
| |procurement | Done | |
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr