forked from Yaltik/golem
[FIX]GOLEM Activity Registration : activity price
Users should not be able to edit activity price form registrations.
This commit is contained in:
parent
893bfcd79b
commit
ce55580bf7
@ -18,7 +18,7 @@
|
||||
{
|
||||
'name': 'GOLEM Activity Member Registrations',
|
||||
'summary': 'GOLEM Activities Member Registrations management',
|
||||
'version': '10.0.1.3.3',
|
||||
'version': '10.0.1.3.4',
|
||||
'category': 'GOLEM',
|
||||
'author': 'Fabien Bourgeois, Michel Dessenne',
|
||||
'license': 'AGPL-3',
|
||||
|
@ -38,8 +38,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<tree editable="top">
|
||||
<field name="member_id"
|
||||
domain="[('season_ids', '=', season_id)]" />
|
||||
<field name="activity_id" readonly="1" />
|
||||
<field name="season_id" readonly="1" />
|
||||
<field name="activity_id" invisible="1" />
|
||||
<field name="season_id" invisible="1" />
|
||||
</tree>
|
||||
</field>
|
||||
</group>
|
||||
|
@ -37,7 +37,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
domain="[('is_default', '=', True)]" />
|
||||
<field name="season_id" readonly="1" />
|
||||
<field name="member_id" readonly="1" invisible="1" />
|
||||
<field name="activity_price" string="Base price" sum="Total" />
|
||||
<field name="activity_price" string="Base price" sum="Total"
|
||||
readonly="1" />
|
||||
</tree>
|
||||
</field>
|
||||
<field name="activity_registration_all_ids" readonly="1">
|
||||
|
Loading…
Reference in New Issue
Block a user