Browse Source
Merge pull request #181 from KolushovAlexandr/12.0-mail_multi_website-uninstallation_issue
🚑 mail_multi_website issue related to module uninstallation
pull/185/head
Ivan Yelizariev
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
11 additions and
6 deletions
-
mail_multi_website/__init__.py
-
mail_multi_website/__manifest__.py
-
mail_multi_website/doc/changelog.rst
|
|
@ -26,11 +26,11 @@ def uninstall_hook(cr, registry): |
|
|
|
|
|
|
|
# remove properties |
|
|
|
field_ids = [ |
|
|
|
env.ref('base.field_res_users_email').id, |
|
|
|
env.ref('base.field_res_users_signature').id, |
|
|
|
env.ref('mail.field_mail_template_body_html').id, |
|
|
|
env.ref('mail.field_mail_template_mail_server_id').id, |
|
|
|
env.ref('mail.field_mail_template_report_template').id, |
|
|
|
env.ref('base.field_res_users__email').id, |
|
|
|
env.ref('base.field_res_users__signature').id, |
|
|
|
env.ref('mail.field_mail_template__body_html').id, |
|
|
|
env.ref('mail.field_mail_template__mail_server_id').id, |
|
|
|
env.ref('mail.field_mail_template__report_template').id, |
|
|
|
] |
|
|
|
env['ir.property'].search([('fields_id', 'in', field_ids)]).unlink() |
|
|
|
|
|
|
|
|
|
@ -7,7 +7,7 @@ |
|
|
|
"category": "Discuss", |
|
|
|
"live_test_url": "http://apps.it-projects.info/shop/product/website-multi-company?version=11.0", |
|
|
|
"images": ["images/main.jpg"], |
|
|
|
"version": "12.0.1.0.0", |
|
|
|
"version": "12.0.1.0.1", |
|
|
|
"application": False, |
|
|
|
|
|
|
|
"author": "IT-Projects LLC, Ivan Yelizariev", |
|
|
|
|
|
@ -1,3 +1,8 @@ |
|
|
|
`1.0.1` |
|
|
|
------- |
|
|
|
|
|
|
|
- **Fix:** Issue related to module uninstallation |
|
|
|
|
|
|
|
`1.0.0` |
|
|
|
------- |
|
|
|
|
|
|
|