Mitchell Admin
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
9 additions and
13 deletions
-
mail_multi_website/__init__.py
-
mail_multi_website/__manifest__.py
-
mail_multi_website/doc/changelog.rst
|
|
@ -10,7 +10,9 @@ def post_init_hook(cr, registry): |
|
|
|
|
|
|
|
env = api.Environment(cr, SUPERUSER_ID, {}) |
|
|
|
|
|
|
|
env.cr.execute("ALTER TABLE res_users ADD COLUMN email_multi_website VARCHAR") |
|
|
|
env.cr.execute( |
|
|
|
"ALTER TABLE res_users ADD COLUMN IF NOT EXISTS email_multi_website VARCHAR" |
|
|
|
) |
|
|
|
|
|
|
|
# fill new email column with values from partner |
|
|
|
for user in env["res.users"].with_context(active_test=False).search([]): |
|
|
|
|
|
@ -4,9 +4,8 @@ |
|
|
|
"name": """Multi-Brand Mailing""", |
|
|
|
"summary": """Use single Backend to manage several Websites""", |
|
|
|
"category": "Discuss", |
|
|
|
# "live_test_url": "http://apps.it-projects.info/shop/product/website-multi-company?version=11.0", |
|
|
|
"images": ["images/main.jpg"], |
|
|
|
"version": "11.0.1.0.0", |
|
|
|
"version": "11.0.1.0.1", |
|
|
|
"application": False, |
|
|
|
"author": "IT-Projects LLC, Ivan Yelizariev", |
|
|
|
"support": "apps@itpp.dev", |
|
|
@ -25,14 +24,4 @@ |
|
|
|
"uninstall_hook": "uninstall_hook", |
|
|
|
"auto_install": False, |
|
|
|
"installable": True, |
|
|
|
# "demo_title": "Email Addresses per Website", |
|
|
|
# "demo_addons": [ |
|
|
|
# ], |
|
|
|
# "demo_addons_hidden": [ |
|
|
|
# ], |
|
|
|
# "demo_url": "DEMO-URL", |
|
|
|
# "demo_summary": "Use single Backend to manage several Websites", |
|
|
|
# "demo_images": [ |
|
|
|
# "images/MAIN_IMAGE", |
|
|
|
# ] |
|
|
|
} |
|
|
@ -1,3 +1,8 @@ |
|
|
|
`1.0.1` |
|
|
|
------- |
|
|
|
|
|
|
|
**Fix:** bug after reinstallation |
|
|
|
|
|
|
|
`1.0.0` |
|
|
|
------- |
|
|
|
|
|
|
|