- 03 Oct, 2017 1 commit
-
-
Moisés López authored
-
- 01 Aug, 2017 3 commits
-
-
Pedro M. Baeza authored
Added suggestion for latest version install in docs
-
Pedro M. Baeza authored
[FIX] when renaming/deleting a module, rename/delete its xmlid
-
Holger Brunn authored
fixes OCA/OpenUpgrade#934
-
- 04 Jul, 2017 1 commit
-
-
Paul Catinean authored
-
- 04 Jun, 2017 2 commits
-
-
Pedro M. Baeza authored
[FIX] support versions without _fields
-
Holger Brunn authored
-
- 24 May, 2017 1 commit
-
-
Pedro M. Baeza authored
[FIX] m2o_to_x2m: Compatible with Odoo v10
-
- 23 May, 2017 1 commit
-
-
Pedro M. Baeza authored
* _columns doesn't exist on v10 * _sql_names dissapears also * On >= 8.0, env is available for getting classes objects
-
- 01 May, 2017 1 commit
-
-
Pedro M. Baeza authored
-
- 15 Apr, 2017 1 commit
-
-
Stefan Rijnhart (Opener) authored
[ADD] protect openerp imports
-
- 14 Apr, 2017 1 commit
-
-
Sylvain LE GAL authored
-
- 13 Apr, 2017 3 commits
-
-
Holger Brunn authored
-
Pedro M. Baeza authored
[FIX] Adapt code to docstring by passing env by default starting from 10.0
-
Stefan Rijnhart authored
-
- 23 Jan, 2017 2 commits
-
-
Stefan Rijnhart authored
-
Stefan Rijnhart (Opener) authored
[ADD] convert_binary_field_to_attachment
-
- 21 Jan, 2017 1 commit
-
-
Pedro M. Baeza authored
This method converts the 8.0 binary fields to attachments like Odoo 9.0 makes with the new attachment=True attribute. It has to be called on post-migration script, as there's a call to get the res_name of the target model, which is not yet loaded on pre-migration. You need to rename the involved column in pre-migration script if you don't want to lose your data in the process. This method also removes after the conversion the source column for avoiding data duplication. This is done through Odoo ORM, because there's a lot of logic associated with guessing MIME type, format and length, file saving in store... that is doesn't worth to recreate it via SQL as there's not too much performance problem. :param env: Odoo environment :param field_spec: A dictionary with the ORM model name as key, and as dictionary values a tuple with: * field name to be converted as attachment as first element. * SQL column name that contains actual data as second element. If the second element is None, then the column name is taken calling `get_legacy_name` method, which is the typical technique. * field name to be converted as attachment as first element. * SQL column name that contains actual data as second element. If the second element is None, then the column name is taken calling `get_legacy_name` method.
-
- 10 Jan, 2017 1 commit
-
-
Pedro M. Baeza authored
Leaving untouched the non update ir.model.data entries, there are problems loading the database when the migration ends, as some of the related records can be assets, views... Renaming the entries to an unique name (generated from ID), we assure Odoo's update process removed them when updating the target module. If we would remove it them instead, we will need to remove manually the related resources as well, so this is the best strategy.
-
- 29 Dec, 2016 1 commit
-
-
Pedro M. Baeza authored
For acknowledge of the need of calling rename_tables also.
-
- 27 Dec, 2016 5 commits
-
-
Pedro M. Baeza authored
-
Pedro M. Baeza authored
[IMP] update_module_names: Add merge option
-
Pedro M. Baeza authored
With these minimal changes, we allow to reallocate all the resources related to a module that has been merged into others in later versions. For example, email_template in version 8 that has been integrated in mail module in version 9.
-
Pedro M. Baeza authored
[FIX] Travis
-
Pedro M. Baeza authored
Due to https://gitlab.com/pycqa/flake8/issues/268, we cannot use last flake8 version, so we lock it in requirements.txt
-
- 02 Dec, 2016 1 commit
-
-
Stéphane Bidoul (ACSONE) authored
unless strictly necessary In this case, the problem is that installing openupgradelib would downgrade the wheel package, which is undesirable.
-
- 07 Nov, 2016 1 commit
-
-
Stefan Rijnhart authored
-
- 17 Oct, 2016 2 commits
-
-
Pedro M. Baeza authored
[FIX] Fix argument name in migrate __doc__ to actual argument.
-
Ronald Portier authored
-
- 11 Oct, 2016 1 commit
-
-
Holger Brunn authored
[FIX] make openupgradelib 1.2.0 work with openupgrade 8 [ADD] Tests
-
- 10 Oct, 2016 1 commit
-
-
Stefan Rijnhart authored
-
- 09 Oct, 2016 1 commit
-
-
Pedro M. Baeza authored
[MIG] 10.0 imports
-
- 08 Oct, 2016 1 commit
-
-
Stefan Rijnhart authored
-
- 07 Oct, 2016 3 commits
-
-
Sylvain LE GAL authored
[RFR] Move column_exists so it can be used during loading
-
Stefan Rijnhart authored
-
Stefan Rijnhart (Opener) authored
[ADD] rename_property
-
- 26 Aug, 2016 2 commits
-
-
Pedro M. Baeza authored
-
Pedro M. Baeza authored
-
- 29 Jul, 2016 1 commit
-
-
David Arnold authored
- Clarify that some fields are not supported. (it is implicit in columns != fields, but explicitly is more friendly)
-
- 28 Jul, 2016 1 commit
-
-
Holger Brunn authored
-