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

This commit is contained in:
Fabien BOURGEOIS 2018-08-27 12:24:00 +02:00
parent 29792a7712
commit 66567045c6
4 changed files with 6 additions and 4 deletions

View File

@ -19,7 +19,7 @@
'name': 'GOLEM activities', 'name': 'GOLEM activities',
'summary': 'Extends Odoo products for multi-activity', 'summary': 'Extends Odoo products for multi-activity',
'description': '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', 'category': 'GOLEM',
'author': 'Fabien Bourgeois, Michel Dessenne', 'author': 'Fabien Bourgeois, Michel Dessenne',
'license': 'AGPL-3', 'license': 'AGPL-3',

View File

@ -38,7 +38,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</div> </div>
<group> <group>
<group> <group>
<field name="season_id" required="True" /> <field name="season_id" required="True"
options="{'no_create': True}" />
<field name="animator_id" /> <field name="animator_id" />
<field name="type_id" required="True" <field name="type_id" required="True"
options="{'no_create': True}" /> options="{'no_create': True}" />

View File

@ -20,7 +20,7 @@
'name': 'GOLEM non-profit members', 'name': 'GOLEM non-profit members',
'summary': 'Extends Odoo contacts for MJC', 'summary': 'Extends Odoo contacts for MJC',
'description': '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', 'category': 'GOLEM',
'author': 'Fabien Bourgeois, Michel Dessenne', 'author': 'Fabien Bourgeois, Michel Dessenne',
'license': 'AGPL-3', 'license': 'AGPL-3',

View File

@ -61,7 +61,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</div> </div>
<div class="oe_right oe_button_box" name="buttons" /> <div class="oe_right oe_button_box" name="buttons" />
<group> <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" <field name="category_id" widget="many2many_tags"
placeholder="Tags..."/> placeholder="Tags..."/>
</group> </group>