[FIX]GOLEM Activity Registration : do not allow activity price edit

In activity lines, default price should not be editable : it brings
confusion with registration prices.
This commit is contained in:
Fabien BOURGEOIS 2019-02-05 10:17:14 +01:00
parent cbb4c92b5a
commit cd2afd3b22
2 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@
{ {
'name': 'GOLEM Activity Member Registrations', 'name': 'GOLEM Activity Member Registrations',
'summary': 'GOLEM Activities Member Registrations management', 'summary': 'GOLEM Activities Member Registrations management',
'version': '10.0.1.6.2', 'version': '10.0.1.6.3',
'category': 'GOLEM', 'category': 'GOLEM',
'author': 'Fabien Bourgeois, Michel Dessenne', 'author': 'Fabien Bourgeois, Michel Dessenne',
'license': 'AGPL-3', 'license': 'AGPL-3',

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- <!--
Copyright 2017-2018 Fabien Bourgeois <fabien@yaltik.com> Copyright 2017-2019 Fabien Bourgeois <fabien@yaltik.com>
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by it under the terms of the GNU Affero General Public License as published by
@ -53,7 +53,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<field name="activity_id" domain="[('is_default', '=', True)]" <field name="activity_id" domain="[('is_default', '=', True)]"
invisible="not context.get('activity_show', 1)" /> invisible="not context.get('activity_show', 1)" />
<field name="activity_price" string="Base price" sum="Total" <field name="activity_price" string="Base price" sum="Total"
invisible="not context.get('activity_show', 1)" /> invisible="not context.get('activity_show', 1)" readonly="1" />
</tree> </tree>
</field> </field>
</record> </record>