Skip to content

Commit

Permalink
[FIX] pricelist: Fixed the pricelist
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeschwa authored and vava-odoo committed Oct 1, 2024
1 parent da78eb2 commit e5cf46b
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 20 deletions.
1 change: 1 addition & 0 deletions fitness/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
'demo/website_theme_apply.xml',
'demo/website_page.xml',
'demo/website_menu.xml',
'demo/product_pricelist.xml',
'demo/payment_provider_demo_post.xml',
],
'license': 'OPL-1',
Expand Down
3 changes: 3 additions & 0 deletions fitness/data/product_pricelist.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<?xml version='1.0' encoding='UTF-8'?>
<odoo noupdate="1">
<record id="product_pricelist_1" model="product.pricelist">
<field name="name">Default Website Pricelist</field>
</record>
<record id="product_pricelist_2" model="product.pricelist">
<field name="name">Free courses</field>
<field name="item_ids" eval="[(0, 0, {
Expand Down
6 changes: 6 additions & 0 deletions fitness/demo/product_pricelist.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<odoo noupdate="1">
<record id="product_pricelist_1" model="product.pricelist">
<field name="website_id" ref="website.default_website"/>
</record>
</odoo>
37 changes: 17 additions & 20 deletions fitness/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
<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">
<i class="o_editor_banner_icon mb-3 fst-normal" aria-label="Banner Warning">🟢</i>
<div class="w-100 px-3" data-oe-protected="false" contenteditable="true">
<h2><strong>Odoo for&nbsp;Fitness Center</strong></h2>
<p>This industry package includes everything you need to run your fitness center efficiently with Odoo.</p>
<h3><strong>Basics</strong></h3>
<ul>
<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>
<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>
<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>
<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>
<li>Leverage the <strong><font class="text-o-color-1">Planning app</font></strong> to organize staff schedules, class timetables, and facility maintenance.</li>
<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>
</ul>
<h3><strong>Included customizations</strong></h3>
<p>A special pricelist for free courses is automatically applied to active subscription members, allowing them to book appointments at no cost.</p>
<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>
<p>Another automated action removes the free course pricelist when a member's subscription expires, reverting them to standard pricing.</p>
<p>The attendees selection field is set to 1 by default and hidden on the Appointment form.</p>
</div>
<div class="w-100 px-3" data-oe-protected="false" contenteditable="true">
<h2><strong>Odoo for&nbsp;Fitness Center</strong></h2>
<p>This industry package includes everything you need to run your fitness center efficiently with Odoo.</p>
<h3><strong>Basics</strong></h3>
<ul>
<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>
<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>
<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>
<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>
<li>Leverage the <strong><font class="text-o-color-1">Planning app</font></strong> to organize staff schedules, class timetables, and facility maintenance.</li>
<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>
</ul>
<h3><strong>Included customizations</strong></h3>
<p>A special pricelist for free courses is automatically applied to active subscription members, allowing them to book appointments at no cost.</p>
<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>
<p>Another automated action removes the free course pricelist when a member's subscription expires, reverting them to standard pricing.</p>
<p>The attendees selection field is set to 1 by default and hidden on the Appointment form.</p>
</div>

0 comments on commit e5cf46b

Please sign in to comment.