Event addon migration - #29
Conversation
XML ID migration complete
…Upgrade into product-v8-migration
Now a fields.property so the prices are moved to properties. Also, entries for the prices will be created in product_price_history.
|
Forgot to say in #20: |
|
@bwrsandman I've added it |
|
@komsas Thank you! |
|
Added generic function that can convert text value to HTML. |
|
@komsas nice function, but wouldn't it be more useful to put it in |
|
Firstly we should decide if it's worth to put there. Needs to check if there more places where it could be used. |
|
…to legalsylvain-base Conflicts: openerp/addons/base/migrations/8.0.1.3/pre-migration.py
Update travis pep8 checking to cover migration files starting in pre- and pro-
[REF] openupgrade_records: sorting key can be a tuple
Base migration finished, based on work from legalsylvain
[ADD] Product v8 migration
|
Agree with @bwrsandman remarks. |
Don't write to a temp file Use `load_module` instead of `load_source` This allows the use of breakpoints in IDEs and in pdb Signed-off-by: Sandy Carter <sandy.carter@savoirfairelinux.com>
Simplify migration calling, fix breakpoint use
|
As it is already refactored out, we might as well have it in the API. I would make that openupgrade.py (not openupgrade_80.py) because this is not particularly 8.0 specific. |
|
@StefanRijnhart in such case I'll try to move it to API |
[IMP] ignore models with _auto = False
Conflicts: openerp/openupgrade/openupgrade.py
|
Sorry, looks by mistake I've merged 8.0 while resolving conflict, but this pull request points to master. I'll prepare a new clean pull request to 8.0. |
Add new context manager allow_pgcodes.
Related #20