Commit 66567045 authored by Yakulu's avatar Yakulu

[IMP]GOLEM Activity / Member : do not allow direct season creation

parent 29792a77
......@@ -19,7 +19,7 @@
'name': 'GOLEM activities',
'summary': 'Extends Odoo products for multi-activity',
'description': 'Extends Odoo products for multi-activity',
'version': '10.0.2.6.0',
'version': '10.0.2.6.1',
'category': 'GOLEM',
'author': 'Fabien Bourgeois, Michel Dessenne',
'license': 'AGPL-3',
......
......@@ -38,7 +38,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</div>
<group>
<group>
<field name="season_id" required="True" />
<field name="season_id" required="True"
options="{'no_create': True}" />
<field name="animator_id" />
<field name="type_id" required="True"
options="{'no_create': True}" />
......
......@@ -20,7 +20,7 @@
'name': 'GOLEM non-profit members',
'summary': 'Extends Odoo contacts for MJC',
'description': 'Extends Odoo contacts for MJC',
'version': '10.0.2.3.4',
'version': '10.0.2.3.5',
'category': 'GOLEM',
'author': 'Fabien Bourgeois, Michel Dessenne',
'license': 'AGPL-3',
......
......@@ -61,7 +61,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</div>
<div class="oe_right oe_button_box" name="buttons" />
<group>
<field name="season_ids" widget="many2many_tags" />
<field name="season_ids" widget="many2many_tags"
options="{'no_create': True}" />
<field name="category_id" widget="many2many_tags"
placeholder="Tags..."/>
</group>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment