[MIG] mail_restrict_follower_selection: Migrated to 10.0

pull/512/head
Damien Bouvy 2016-10-14 19:40:18 +02:00 committed by Enric Tobella
parent a321af1068
commit 5f71e274b6
5 changed files with 22 additions and 26 deletions

View File

@ -19,7 +19,7 @@ Usage
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
: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:

View File

@ -20,7 +20,7 @@
##############################################################################
{
"name": "Restrict follower selection",
"version": "8.0.1.0.0",
"version": "10.0.1.0.0",
"author": "Therp BV,Odoo Community Association (OCA)",
"license": "AGPL-3",
"category": "Social Network",
@ -33,7 +33,7 @@
"data/ir_actions.xml",
],
"auto_install": False,
'installable': False,
'installable': True,
"application": False,
"external_dependencies": {
'python': [],

View File

@ -1,15 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<act_window id="action_setup" res_model="ir.config_parameter"
name="Configure the restriction on followers" view_mode="form" />
<record id="action_setup" model="ir.actions.act_window">
<field name="res_id" ref="parameter_domain" />
</record>
<record id="todo_setup" model="ir.actions.todo">
<field name="name">Configure the restriction on followers</field>
<field name="type">automatic</field>
<field name="action_id" ref="action_setup" />
</record>
</data>
</openerp>
<odoo>
<act_window id="action_setup" res_model="ir.config_parameter"
name="Configure the restriction on followers" view_mode="form" />
<record id="action_setup" model="ir.actions.act_window">
<field name="res_id" ref="parameter_domain" />
</record>
<record id="todo_setup" model="ir.actions.todo">
<field name="name">Configure the restriction on followers</field>
<field name="type">automatic</field>
<field name="action_id" ref="action_setup" />
</record>
</odoo>

View File

@ -1,9 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data noupdate="1">
<record id="parameter_domain" model="ir.config_parameter">
<field name="key">mail_restrict_follower_selection.domain</field>
<field name="value">[('customer', '=', True)]</field>
</record>
</data>
</openerp>
<odoo noupdate="1">
<record id="parameter_domain" model="ir.config_parameter">
<field name="key">mail_restrict_follower_selection.domain</field>
<field name="value">[('customer', '=', True)]</field>
</record>
</odoo>

View File

@ -18,7 +18,7 @@
#
##############################################################################
from lxml import etree
from openerp import models, api
from odoo import models, api
class MailWizardInvite(models.TransientModel):