Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Website
  3. Website Sale Module Dependency v 18.0
  4. Sales Conditions FAQ

Website Sale Module Dependency

by Ganemo https://www.ganemo.co
Odoo

$ 649.01

v 18.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • eCommerce (website_sale)
• Website (website)
• Invoicing (account)
• Discuss (mail)
Lines of code 592
Technical Name website_sale_module_dependency
LicenseOPL-1
Websitehttps://www.ganemo.co
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • eCommerce (website_sale)
• Website (website)
• Invoicing (account)
• Discuss (mail)
Lines of code 592
Technical Name website_sale_module_dependency
LicenseOPL-1
Websitehttps://www.ganemo.co
  • Description
  • License

Technical Specification for AI & LLM

This Odoo module 'website_sale_module_dependency' auto-adds module dependencies to the eCommerce cart. It extends product.template with is_odoo_module (Boolean), technical_module_name (Char), dependency_ids (Many2many reflexive), total_price_with_deps (computed recursive), and overrides sale.order._cart_update() to inject missing dependencies as separate cart lines. Frontend QWeb templates display total price with dependencies on catalog and product pages. Supports recursive dependency chains with cycle protection. Unpublished dependencies are displayed with a lock icon and "Not available" label but their price is still counted in the total; they are NOT auto-added to the frontend cart. Orphan dependency lines are automatically removed from the cart when the parent module is removed. sale.order.line has a computed dependency_parent_name field showing which module requires each line. Backend: salespersons can one-click "Add Dependencies" on any quotation to auto-fill missing deps. The button is automatically disabled on locked or cancelled orders. Compatible with Odoo 18 (Enterprise, Odoo.SH, Ganemo Online). Multi-language support for English and Spanish included.

Enterprise (Odoo.SH, Ganemo Online or Ganemo.SH)
English & Spanish Included

Module Dependency

Auto-Add Dependencies to Your eCommerce Cart

Replicate the Odoo App Store experience. When a customer adds a module to their cart, all required dependencies are automatically included as separate, removable lines. Show total prices with dependencies on your catalog and product pages.

What We're Solving

----------------

Recursive Dependency Resolution

If Module A depends on B, and B depends on C, adding A to the cart automatically adds both B and C. The system resolves the entire dependency tree, no matter how deep, with built-in cycle protection to prevent infinite loops.

Smart Cart Management

Dependencies are added as independent cart lines, each with its own price. Customers can freely remove dependencies they already own. If a dependency is already in the cart, no duplicates are created.

Total Price on Catalog

On the /shop catalog page, modules with dependencies display a "Total with dependencies" price below the regular price. Customers see the full investment upfront before clicking.

Dependency Breakdown on Product Page

Each module's product page shows a clear breakdown: every dependency with its individual price, followed by a highlighted total price (module + all dependencies). Full transparency for buyers.

Unpublished Dependency Protection

Dependencies not yet published on the website are displayed with a lock icon and a "Not available" label, but their price is still visible and counted in the total. Customers see the full investment upfront. Unpublished deps are never auto-added to the cart.

Auto-Cleanup on Removal

When a module is removed from the cart, its orphan dependencies are automatically removed too — unless another module in the cart still requires them. Shared dependencies are intelligently preserved, keeping the cart accurate at all times.

Backend: Add Dependencies Button

Salespeople creating quotations manually can one-click "🧩 Add Dependencies" to auto-fill all missing module dependencies. Variant-aware, recursive, and with a notification summary of what was added — including warnings for unpublished items.

"Required by" Traceability

Each dependency line on a quotation shows a "Required by (Module)" column, making it clear which parent module demands each dependency. Salespeople instantly understand the composition of complex orders.

Setup & User Manual

Step-by-Step implementation

1. Configuration Guide

Set up your module products in 3 simple steps:

  • Go to Sales > Products > Products.
  • Select a product and check "Is Odoo Module".
  • Go to the Module Dependencies tab.
  • Add dependency products using the tags widget. Only products marked as "Is Odoo Module" appear.
Pro Tip: The Total Price (with Dependencies) and Dependency Count fields update automatically as you add dependencies. They include the full recursive tree.

2. How It Works (Customer View)

Here's what your customers experience:

Catalog View (/shop)

Modules with dependencies display a subtle "Total with dependencies: $X.XX" label below the regular price. Customers see the full cost at a glance.

Product Page

A detailed dependency block lists every required module with its individual price, followed by the highlighted total. Full transparency before clicking "Add to cart".

Auto-Add to Cart

Clicking "Add to cart" adds the module AND all its dependencies as separate lines. Each line has its own price and can be removed independently.

Zero Impact on Normal Products

Products not marked as "Is Odoo Module" are completely unaffected. The module is transparent to your regular eCommerce store.

Unpublished Deps: Visible but Safe

Unpublished dependencies show a 🔒 lock icon and "Not available" label with their price still displayed. They are not auto-added to the customer's cart.

Smart Removal

When a customer removes a module from the cart, its orphan dependencies are automatically cleaned up. Shared dependencies needed by other modules stay in the cart.

3. Backend: Add Dependencies to Quotations

Salespeople can add all missing module dependencies with one click:

One-Click Button

Open any quotation (draft or sent), add your module products, then click "🧩 Add Dependencies" below the order lines. All missing recursive dependencies are added instantly.

Smart Notifications

After clicking, a toast notification shows exactly which dependencies were added. If any are unpublished on the website, a ⚠ warning is included. If everything is already satisfied, you get a ✓ confirmation.

Variant-Aware

If your module has version variants (e.g., 17.0, 18.0), the button matches the correct dependency variant automatically based on the parent module's attributes.

Full Control

Unlike the frontend, the backend button adds all dependencies — including unpublished ones. The salesperson has full visibility and control over the quotation.

"Required by" Column

After adding dependencies, each line shows a "Required by" label identifying which parent module demands it. This gives salespeople clear traceability on complex orders.

Safe on Locked Orders

The "Add Dependencies" button is automatically disabled on confirmed/locked and cancelled orders, preventing accidental modifications to finalized quotations.

Global Ready | Multi-Language Support

This module is fully translated into English and Spanish (en_US, es_ES, es_PE, es_MX), ensuring a professional experience for international organizations.

English Spanish

Why Choose Ganemo?

----------------

Ganemo is the world's leading Odoo App developer and a multi-award-winning Gold Partner. For over 5 years, we have been recognized as the #1 seller of high-quality apps on the Odoo App Store. Trusted as the "Best Partner" in USA, Mexico, Chile, Spain, Colombia, Ecuador, and Peru, we deliver robust, secure, and localization-compliant solutions for global businesses.

Get a Quote & Resolve Commercial Doubts

Join thousands of satisfied clients on Odoo. Contact our sales team directly.

QR WhatsApp

Official WhatsApp

Fastest response time.

COPY
LINK
https://wa.me/18286726150

+1 (828) 672-6150

QR Sales Email

Sales Email

For commercial inquiries.

COPY
ADDR
leads@ganemo.com

leads@ganemo.com

QR Book Demo

Book a Demo

Let's explore your needs.

COPY
LINK
ganemo.co/appointment/5

Schedule Meeting

Need More? We Do It All

Professional Odoo Services

ERP Implementation

Transform your business with a full Odoo implementation. We analyze, configure, and train your team to maximize productivity. From Accounting to Inventory, we handle the complexity so you can focus on growth.

Module Dev & Migration

Need a custom feature? Or stuck on an older version? We develop high-performance custom modules and migrate your existing code to Odoo 18 with zero data loss. Expert developers at your service.

QA / User Testing Scenarios

Enterprise Validation Plan

Scenario 1: Setup Dependencies

  1. Create 3 service products: "Module A" ($100), "Module B" ($50), "Module C" ($25).
  2. Check "Is Odoo Module" on all three.
  3. Set Module A's dependencies to B. Set Module B's dependencies to C.
  4. Verify: Module A's "Total Price with Dependencies" shows $175 (100+50+25).
  5. Verify: Module A's "Dependency Count" shows 2.

Scenario 2: Cart Auto-Add

  1. Publish Module A, B, and C on the website.
  2. Navigate to /shop and find Module A.
  3. Click "Add to Cart".
  4. Verify: Cart contains 3 lines: Module A, Module B, Module C.
  5. Verify: Each line has its own individual price.

Scenario 3: No Duplicate Dependencies

  1. First, add Module B to the cart (should add B + C = 2 lines).
  2. Then, add Module A to the cart.
  3. Verify: Cart has exactly 3 lines (A + B + C), NOT 5.
  4. Verify: B and C were not duplicated.

Scenario 4: Regular Products Unaffected

  1. Create a regular product "Laptop" ($999), leave "Is Odoo Module" unchecked.
  2. Add "Laptop" to the cart.
  3. Verify: Cart has exactly 1 line with the Laptop.
  4. Verify: No dependency logic was triggered.

Scenario 5: Unpublished Dependency Display

  1. Create Module D ($60) and mark as "Is Odoo Module". Do NOT publish it on the website.
  2. Set Module A's dependencies to include Module D.
  3. Navigate to Module A's product page on /shop.
  4. Verify: Module D appears in the dependency list with a 🔒 lock icon and "Not available" label.
  5. Verify: Module D's price is still visible and included in the total.
  6. Add Module A to cart.
  7. Verify: Module D is NOT added to the cart (only published dependencies are auto-added).

Scenario 6: Backend Add Dependencies Button

  1. Go to Sales > Orders > Quotations and create a new quotation.
  2. Add Module A as an order line.
  3. Click the "🧩 Add Dependencies" button below the order lines.
  4. Verify: Module B and Module C are added as new order lines.
  5. Verify: A notification toast lists the added dependencies.
  6. Click the button again.
  7. Verify: The notification says "All dependencies are already satisfied. ✓".

Scenario 7: Orphan Dependency Auto-Cleanup

  1. Add Module A to the cart (should add A + B + C = 3 lines).
  2. Remove Module A from the cart.
  3. Verify: Module B and Module C are also removed automatically.
  4. Now add Module A AND Module D (where D also depends on C).
  5. Remove Module A from the cart.
  6. Verify: Module C stays in the cart (still needed by Module D), but Module B is removed.

Scenario 8: "Required by" Traceability on Quotations

  1. Create a quotation and add Module A as an order line.
  2. Click "🧩 Add Dependencies".
  3. Verify: Module B's order line shows "Required by: Module A" in the "Required by" column.
  4. Verify: Module C's order line shows "Required by: Module B" (or Module A, since A depends on C transitively).

FAQ & Troubleshooting

Common Resolutions

Dependencies not appearing in the cart?

Reason: The product might not be marked as "Is Odoo Module" or has no dependencies set.

Fix: Check the product form. Enable "Is Odoo Module" and add dependencies in the "Module Dependencies" tab.

Total price not showing on /shop?

Reason: The product must have at least one dependency for the total price to display.

Fix: Ensure dependency_ids is populated and the dependency products also have "Is Odoo Module" checked.

Can I create circular dependencies?

Answer: Technically yes, but the system handles it safely.

Detail: The dependency resolution algorithm uses cycle detection. It will resolve A→B→C even if C→A creates a cycle, without infinite loops.

Does this affect non-module products?

Answer: No!

Detail: All logic is gated behind the "Is Odoo Module" boolean. Normal products flow through the standard cart logic without any modification.

What happens with unpublished dependencies?

Answer: They are shown in the dependency list with a 🔒 lock icon and "Not available" label.

Detail: Their price is still visible and counted in the total, so the customer sees the full investment. However, they are NOT auto-added to the cart. In the backend, salespeople CAN add them via the "Add Dependencies" button.

Can I add dependencies from the backend?

Answer: Yes! Use the "🧩 Add Dependencies" button on any draft/sent quotation.

Detail: The button scans all module lines, resolves recursive dependencies, matches the correct variant, and adds missing ones as new order lines. It shows a summary notification of what was added.

What happens when I remove a module from the cart?

Answer: Its orphan dependencies are automatically removed too.

Detail: If another module in the cart still needs a shared dependency, it is preserved. Only truly orphan lines (not needed by any remaining module) are cleaned up.

What does the "Required by" column show?

Answer: It shows which parent module requires each dependency line on a quotation.

Detail: This computed field scans other order lines to find the first module that lists this product as a dependency. It helps salespeople understand why each line was added.

Commercial & Sales

For inquiries about licenses, demos, or partnerships.

QR WhatsApp
Official WhatsApp

Fastest response time.

COPY
LINK
https://wa.me/18286726150

+1 (828) 672-6150

QR Sales Email
Sales Email

For commercial inquiries.

COPY
ADDR
leads@ganemo.com
QR Book Demo
Book a Demo

Let's explore your needs.

COPY
LINK
ganemo.co/appointment/5

Technical Support

Existing customers regarding module functionality.

QR Technical Support
Help Desk

Exclusive channel for technical assistance and bug reports.

COPY
ADDR
ayuda@ganemo.com

© 2026 Ganemo. All rights reserved. visit ganemo.com

Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with