Skip to content

Commit e5cf46b

Browse files
jaeschwavava-odoo
authored andcommitted
[FIX] pricelist: Fixed the pricelist
1 parent da78eb2 commit e5cf46b

File tree

4 files changed

+27
-20
lines changed

4 files changed

+27
-20
lines changed

fitness/__manifest__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
'demo/website_theme_apply.xml',
6767
'demo/website_page.xml',
6868
'demo/website_menu.xml',
69+
'demo/product_pricelist.xml',
6970
'demo/payment_provider_demo_post.xml',
7071
],
7172
'license': 'OPL-1',

fitness/data/product_pricelist.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?xml version='1.0' encoding='UTF-8'?>
22
<odoo noupdate="1">
3+
<record id="product_pricelist_1" model="product.pricelist">
4+
<field name="name">Default Website Pricelist</field>
5+
</record>
36
<record id="product_pricelist_2" model="product.pricelist">
47
<field name="name">Free courses</field>
58
<field name="item_ids" eval="[(0, 0, {

fitness/demo/product_pricelist.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<odoo noupdate="1">
3+
<record id="product_pricelist_1" model="product.pricelist">
4+
<field name="website_id" ref="website.default_website"/>
5+
</record>
6+
</odoo>
Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
1-
<div class="o_editor_banner o_not_editable lh-1 d-flex align-items-center alert alert-warning pb-0 pt-3" role="status" data-oe-protected="true" contenteditable="false">
2-
<i class="o_editor_banner_icon mb-3 fst-normal" aria-label="Banner Warning">🟢</i>
3-
<div class="w-100 px-3" data-oe-protected="false" contenteditable="true">
4-
<h2><strong>Odoo for&nbsp;Fitness Center</strong></h2>
5-
<p>This industry package includes everything you need to run your fitness center efficiently with Odoo.</p>
6-
<h3><strong>Basics</strong></h3>
7-
<ul>
8-
<li>Use the <strong><font class="text-o-color-1">Sales &amp; Subscriptions app</font></strong> to manage memberships, create custom fitness packages, and handle client sign-ups.</li>
9-
<li>Use the <strong><font class="text-o-color-1">Appointments app</font></strong> to schedule personal training sessions, group classes, and equipment orientations.</li>
10-
<li>Employ the <strong><font class="text-o-color-1">Point of Sale system</font></strong> for quick transactions, including membership payments, merchandise sales, and supplement purchases.</li>
11-
<li>Use the <strong><font class="text-o-color-1">Inventory app</font></strong> to manage your fitness equipment, merchandise stock, and supplement supplies.</li>
12-
<li>Leverage the <strong><font class="text-o-color-1">Planning app</font></strong> to organize staff schedules, class timetables, and facility maintenance.</li>
13-
<li>Use the <strong><font class="text-o-color-1">Invoicing app</font></strong> to handle all financial transactions, from membership dues to equipment purchases.</li>
14-
</ul>
15-
<h3><strong>Included customizations</strong></h3>
16-
<p>A special pricelist for free courses is automatically applied to active subscription members, allowing them to book appointments at no cost.</p>
17-
<p>An automated action sets the booking fee to 0 when an active subscription member registers for a course, ensuring they aren't charged extra.</p>
18-
<p>Another automated action removes the free course pricelist when a member's subscription expires, reverting them to standard pricing.</p>
19-
<p>The attendees selection field is set to 1 by default and hidden on the Appointment form.</p>
20-
</div>
1+
<div class="w-100 px-3" data-oe-protected="false" contenteditable="true">
2+
<h2><strong>Odoo for&nbsp;Fitness Center</strong></h2>
3+
<p>This industry package includes everything you need to run your fitness center efficiently with Odoo.</p>
4+
<h3><strong>Basics</strong></h3>
5+
<ul>
6+
<li>Use the <strong><font class="text-o-color-1">Sales &amp; Subscriptions app</font></strong> to manage memberships, create custom fitness packages, and handle client sign-ups.</li>
7+
<li>Use the <strong><font class="text-o-color-1">Appointments app</font></strong> to schedule personal training sessions, group classes, and equipment orientations.</li>
8+
<li>Employ the <strong><font class="text-o-color-1">Point of Sale system</font></strong> for quick transactions, including membership payments, merchandise sales, and supplement purchases.</li>
9+
<li>Use the <strong><font class="text-o-color-1">Inventory app</font></strong> to manage your fitness equipment, merchandise stock, and supplement supplies.</li>
10+
<li>Leverage the <strong><font class="text-o-color-1">Planning app</font></strong> to organize staff schedules, class timetables, and facility maintenance.</li>
11+
<li>Use the <strong><font class="text-o-color-1">Invoicing app</font></strong> to handle all financial transactions, from membership dues to equipment purchases.</li>
12+
</ul>
13+
<h3><strong>Included customizations</strong></h3>
14+
<p>A special pricelist for free courses is automatically applied to active subscription members, allowing them to book appointments at no cost.</p>
15+
<p>An automated action sets the booking fee to 0 when an active subscription member registers for a course, ensuring they aren't charged extra.</p>
16+
<p>Another automated action removes the free course pricelist when a member's subscription expires, reverting them to standard pricing.</p>
17+
<p>The attendees selection field is set to 1 by default and hidden on the Appointment form.</p>
2118
</div>

0 commit comments

Comments
 (0)