mirror of
https://gitlab.com/sonalarora/tra_backend.git
synced 2025-12-17 10:19:09 +02:00
resolve issues
This commit is contained in:
@@ -7,4 +7,19 @@
|
|||||||
web_icon="project,static/description/icon.png"
|
web_icon="project,static/description/icon.png"
|
||||||
sequence="50"/>
|
sequence="50"/>
|
||||||
|
|
||||||
|
<!--Configuration menu -->
|
||||||
|
<menuitem
|
||||||
|
id="menu_Configuration"
|
||||||
|
name="Configuration"
|
||||||
|
parent="menu_workout_main"
|
||||||
|
groups='gym.group_gym_operator'/>
|
||||||
|
|
||||||
|
<!-- Menu of the exercise_type -->
|
||||||
|
<menuitem id="menu_exercise" action="gym.action_exercise"
|
||||||
|
parent="menu_Configuration" sequence="2"/>
|
||||||
|
|
||||||
|
<!-- Menu of the Exercises -->
|
||||||
|
<menuitem id="menu_exercise_exercise" action="gym.action_exercise_exercise"
|
||||||
|
parent="menu_Configuration" sequence="3"/>`
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
@@ -31,15 +31,15 @@
|
|||||||
'data/exercise_for_demo.xml',
|
'data/exercise_for_demo.xml',
|
||||||
'data/exercise_demo.xml',
|
'data/exercise_demo.xml',
|
||||||
'data/mail_templates.xml',
|
'data/mail_templates.xml',
|
||||||
# 'views/menuitem_hide.xml',
|
'views/menuitem_hide.xml',
|
||||||
# 'views/product_template.xml',
|
'views/product_template.xml',
|
||||||
# 'views/membership_view.xml',
|
'views/membership_view.xml',
|
||||||
# 'views/project_task_view.xml',
|
'views/project_task_view.xml',
|
||||||
# 'views/member_view.xml',
|
'views/member_view.xml',
|
||||||
# 'views/trainer_view.xml',
|
'views/trainer_view.xml',
|
||||||
# 'views/workout_view.xml',
|
'views/workout_view.xml',
|
||||||
# 'views/company_view.xml',
|
'views/company_view.xml',
|
||||||
# 'views/gym_skills_view.xml',
|
'views/gym_skills_view.xml',
|
||||||
],
|
],
|
||||||
|
|
||||||
'demo': [
|
'demo': [
|
||||||
|
|||||||
@@ -69,6 +69,7 @@
|
|||||||
<field name="zip" placeholder="ZIP" class="o_address_zip" attrs="{'readonly': [('type', '=', 'contact'),('parent_id', '!=', False)]}"/>
|
<field name="zip" placeholder="ZIP" class="o_address_zip" attrs="{'readonly': [('type', '=', 'contact'),('parent_id', '!=', False)]}"/>
|
||||||
<field name="country_id" placeholder="Country" class="o_address_country" options="{"no_open": True, "no_create": True}" attrs="{'readonly': [('type', '=', 'contact'),('parent_id', '!=', False)]}"/>
|
<field name="country_id" placeholder="Country" class="o_address_country" options="{"no_open": True, "no_create": True}" attrs="{'readonly': [('type', '=', 'contact'),('parent_id', '!=', False)]}"/>
|
||||||
</div>
|
</div>
|
||||||
|
<field name="is_member" invisible="1"/>
|
||||||
<field name="vat" placeholder="e.g. BE0477472701" attrs="{'readonly': [('parent_id','!=',False)]}"/>
|
<field name="vat" placeholder="e.g. BE0477472701" attrs="{'readonly': [('parent_id','!=',False)]}"/>
|
||||||
<field name="marketing_source"/>
|
<field name="marketing_source"/>
|
||||||
<field name="account_manager_id"/>
|
<field name="account_manager_id"/>
|
||||||
|
|||||||
@@ -5,13 +5,6 @@
|
|||||||
web_icon="gym,static/description/icon.png"
|
web_icon="gym,static/description/icon.png"
|
||||||
name="Gym Management"/>
|
name="Gym Management"/>
|
||||||
|
|
||||||
<!--Configuration menu -->
|
|
||||||
<menuitem
|
|
||||||
id="menu_Configuration"
|
|
||||||
name="Configuration"
|
|
||||||
parent="workout_template.menu_workout_main"
|
|
||||||
groups='gym.group_gym_operator'/>
|
|
||||||
|
|
||||||
<!-- Inherited view of product -->
|
<!-- Inherited view of product -->
|
||||||
<record id="view_equipments_form_view" model="ir.ui.view">
|
<record id="view_equipments_form_view" model="ir.ui.view">
|
||||||
<field name="name">view.equipments.form.view</field>
|
<field name="name">view.equipments.form.view</field>
|
||||||
@@ -225,10 +218,6 @@
|
|||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<!-- Menu of the exercise_type -->
|
|
||||||
<menuitem id="menu_exercise" action="action_exercise"
|
|
||||||
parent="gym.menu_Configuration" sequence="2"/>
|
|
||||||
|
|
||||||
<record id="view_service_form_inherit" model="ir.ui.view">
|
<record id="view_service_form_inherit" model="ir.ui.view">
|
||||||
<field name="name">view.service.form.inherit</field>
|
<field name="name">view.service.form.inherit</field>
|
||||||
<field name="model">product.template</field>
|
<field name="model">product.template</field>
|
||||||
|
|||||||
@@ -163,9 +163,4 @@
|
|||||||
</p>
|
</p>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<!-- Menu of the Exercises -->
|
|
||||||
<menuitem id="menu_exercise_exercise" action="action_exercise_exercise"
|
|
||||||
parent="gym.menu_Configuration" sequence="3"/>
|
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
Reference in New Issue
Block a user