Browse Source
[MIG] mail_restrict_follower_selection: Migrated to 10.0
pull/110/head
Damien Bouvy
8 years ago
No known key found for this signature in database
GPG Key ID: 1D0AB759B4B928E3
5 changed files with
22 additions and
26 deletions
-
mail_restrict_follower_selection/README.rst
-
mail_restrict_follower_selection/__manifest__.py
-
mail_restrict_follower_selection/data/ir_actions.xml
-
mail_restrict_follower_selection/data/ir_config_parameter.xml
-
mail_restrict_follower_selection/models/mail_wizard_invite.py
|
@ -19,7 +19,7 @@ Usage |
|
|
|
|
|
|
|
|
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas |
|
|
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas |
|
|
:alt: Try me on Runbot |
|
|
:alt: Try me on Runbot |
|
|
:target: https://runbot.odoo-community.org/runbot/205/8.0 |
|
|
|
|
|
|
|
|
:target: https://runbot.odoo-community.org/runbot/205/10.0 |
|
|
|
|
|
|
|
|
For further information, please visit: |
|
|
For further information, please visit: |
|
|
|
|
|
|
|
|
|
@ -20,7 +20,7 @@ |
|
|
############################################################################## |
|
|
############################################################################## |
|
|
{ |
|
|
{ |
|
|
"name": "Restrict follower selection", |
|
|
"name": "Restrict follower selection", |
|
|
"version": "8.0.1.0.0", |
|
|
|
|
|
|
|
|
"version": "10.0.1.0.0", |
|
|
"author": "Therp BV,Odoo Community Association (OCA)", |
|
|
"author": "Therp BV,Odoo Community Association (OCA)", |
|
|
"license": "AGPL-3", |
|
|
"license": "AGPL-3", |
|
|
"category": "Social Network", |
|
|
"category": "Social Network", |
|
@ -33,7 +33,7 @@ |
|
|
"data/ir_actions.xml", |
|
|
"data/ir_actions.xml", |
|
|
], |
|
|
], |
|
|
"auto_install": False, |
|
|
"auto_install": False, |
|
|
'installable': False, |
|
|
|
|
|
|
|
|
'installable': True, |
|
|
"application": False, |
|
|
"application": False, |
|
|
"external_dependencies": { |
|
|
"external_dependencies": { |
|
|
'python': [], |
|
|
'python': [], |
|
|
|
@ -1,6 +1,5 @@ |
|
|
<?xml version="1.0" encoding="UTF-8"?> |
|
|
<?xml version="1.0" encoding="UTF-8"?> |
|
|
<openerp> |
|
|
|
|
|
<data> |
|
|
|
|
|
|
|
|
<odoo> |
|
|
<act_window id="action_setup" res_model="ir.config_parameter" |
|
|
<act_window id="action_setup" res_model="ir.config_parameter" |
|
|
name="Configure the restriction on followers" view_mode="form" /> |
|
|
name="Configure the restriction on followers" view_mode="form" /> |
|
|
<record id="action_setup" model="ir.actions.act_window"> |
|
|
<record id="action_setup" model="ir.actions.act_window"> |
|
@ -11,5 +10,4 @@ |
|
|
<field name="type">automatic</field> |
|
|
<field name="type">automatic</field> |
|
|
<field name="action_id" ref="action_setup" /> |
|
|
<field name="action_id" ref="action_setup" /> |
|
|
</record> |
|
|
</record> |
|
|
</data> |
|
|
|
|
|
</openerp> |
|
|
|
|
|
|
|
|
</odoo> |
|
@ -1,9 +1,7 @@ |
|
|
<?xml version="1.0" encoding="UTF-8"?> |
|
|
<?xml version="1.0" encoding="UTF-8"?> |
|
|
<openerp> |
|
|
|
|
|
<data noupdate="1"> |
|
|
|
|
|
|
|
|
<odoo noupdate="1"> |
|
|
<record id="parameter_domain" model="ir.config_parameter"> |
|
|
<record id="parameter_domain" model="ir.config_parameter"> |
|
|
<field name="key">mail_restrict_follower_selection.domain</field> |
|
|
<field name="key">mail_restrict_follower_selection.domain</field> |
|
|
<field name="value">[('customer', '=', True)]</field> |
|
|
<field name="value">[('customer', '=', True)]</field> |
|
|
</record> |
|
|
</record> |
|
|
</data> |
|
|
|
|
|
</openerp> |
|
|
|
|
|
|
|
|
</odoo> |
|
@ -18,7 +18,7 @@ |
|
|
# |
|
|
# |
|
|
############################################################################## |
|
|
############################################################################## |
|
|
from lxml import etree |
|
|
from lxml import etree |
|
|
from openerp import models, api |
|
|
|
|
|
|
|
|
from odoo import models, api |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class MailWizardInvite(models.TransientModel): |
|
|
class MailWizardInvite(models.TransientModel): |
|
|