Browse Source

📖 change version according to the update and cleanup

pull/339/head
Denis Mudarisov 3 years ago
parent
commit
c11da959b5
No known key found for this signature in database GPG Key ID: B9AD74DAFB7B53DA
  1. 4
      mail_multi_website/__init__.py
  2. 13
      mail_multi_website/__manifest__.py
  3. 5
      mail_multi_website/doc/changelog.rst

4
mail_multi_website/__init__.py

@ -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 IF NOT EXISTS 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([]):

13
mail_multi_website/__manifest__.py

@ -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",
# ]
}

5
mail_multi_website/doc/changelog.rst

@ -1,3 +1,8 @@
`1.0.1`
-------
**Fix:** bug after reinstallation
`1.0.0`
-------

Loading…
Cancel
Save