committed by
skeller1
4 changed files with 42 additions and 43 deletions
-
21portal_partner_select_all/__manifest__.py
-
31portal_partner_select_all/tests/test_portal_partner_select_all.py
-
16portal_partner_select_all/wizard/portal_wizard.py
-
17portal_partner_select_all/wizard/portal_wizard.xml
@ -1,18 +1,13 @@ |
|||||
# Copyright 2018 Tecnativa - David Vidal |
# Copyright 2018 Tecnativa - David Vidal |
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). |
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). |
||||
{ |
{ |
||||
'name': 'Portal Partner Select All', |
|
||||
'version': '12.0.1.0.2', |
|
||||
'category': 'Custom', |
|
||||
'author': 'Tecnativa,' |
|
||||
'Odoo Community Association (OCA)', |
|
||||
'website': 'https://www.github.com/OCA/partner-contact', |
|
||||
|
"name": "Portal Partner Select All", |
||||
|
"version": "12.0.1.0.2", |
||||
|
"category": "Custom", |
||||
|
"author": "Tecnativa," "Odoo Community Association (OCA)", |
||||
|
"website": "https://www.github.com/OCA/partner-contact", |
||||
"license": "AGPL-3", |
"license": "AGPL-3", |
||||
'depends': [ |
|
||||
'portal', |
|
||||
], |
|
||||
'data': [ |
|
||||
'wizard/portal_wizard.xml', |
|
||||
], |
|
||||
'installable': True, |
|
||||
|
"depends": ["portal",], |
||||
|
"data": ["wizard/portal_wizard.xml",], |
||||
|
"installable": True, |
||||
} |
} |
@ -1,21 +1,24 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
|
<?xml version="1.0" encoding="utf-8" ?> |
||||
<odoo> |
<odoo> |
||||
|
|
||||
<record model="ir.ui.view" id="portal_wizard"> |
<record model="ir.ui.view" id="portal_wizard"> |
||||
<field name="model">portal.wizard</field> |
<field name="model">portal.wizard</field> |
||||
<field name="inherit_id" ref="portal.wizard_view"/> |
|
||||
|
<field name="inherit_id" ref="portal.wizard_view" /> |
||||
<field name="arch" type="xml"> |
<field name="arch" type="xml"> |
||||
<field name="user_ids" position="before"> |
<field name="user_ids" position="before"> |
||||
<group> |
<group> |
||||
<field name="set_all_users" string="Invite all the contacts"/> |
|
||||
|
<field name="set_all_users" string="Invite all the contacts" /> |
||||
</group> |
</group> |
||||
<div class="card bg-warning mb8" attrs="{'invisible': [('set_all_users', '=', False)]}"> |
|
||||
|
<div |
||||
|
class="card bg-warning mb8" |
||||
|
attrs="{'invisible': [('set_all_users', '=', False)]}" |
||||
|
> |
||||
<div class="card-body bg-warning"> |
<div class="card-body bg-warning"> |
||||
<i class="fa fa-warning"/> You're about to invite to portal all the contacts list below. |
|
||||
|
<i |
||||
|
class="fa fa-warning" |
||||
|
/> You're about to invite to portal all the contacts list below. |
||||
</div> |
</div> |
||||
</div> |
</div> |
||||
</field> |
</field> |
||||
</field> |
</field> |
||||
</record> |
</record> |
||||
|
|
||||
</odoo> |
</odoo> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue