Browse Source

[IMP] portal_partner_select_all: black, isort, prettier

14.0
skeller1 4 years ago
parent
commit
1e443fdb62
  1. 2
      portal_partner_select_all/__manifest__.py
  2. 5
      portal_partner_select_all/wizard/portal_wizard.py
  3. 1
      setup/portal_partner_select_all/odoo/addons/portal_partner_select_all
  4. 6
      setup/portal_partner_select_all/setup.py

2
portal_partner_select_all/__manifest__.py

@ -5,7 +5,7 @@
"version": "13.0.1.0.1",
"category": "Custom",
"author": "Tecnativa, Odoo Community Association (OCA)",
"website": "https://www.github.com/OCA/partner-contact",
"website": "https://github.com/OCA/partner-contact",
"license": "AGPL-3",
"depends": ["portal"],
"data": ["wizard/portal_wizard.xml"],

5
portal_partner_select_all/wizard/portal_wizard.py

@ -6,7 +6,10 @@ from odoo import api, fields, models
class PortalWizard(models.TransientModel):
_inherit = "portal.wizard"
set_all_users = fields.Boolean(string="Invite all the contacts", default=False,)
set_all_users = fields.Boolean(
string="Invite all the contacts",
default=False,
)
@api.onchange("set_all_users")
def onchange_set_all_users(self):

1
setup/portal_partner_select_all/odoo/addons/portal_partner_select_all

@ -0,0 +1 @@
../../../../portal_partner_select_all

6
setup/portal_partner_select_all/setup.py

@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
Loading…
Cancel
Save