| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• eCommerce (website_sale) • Discuss (mail) • Invoicing (account) • Website (website) |
| Lines of code | 110 |
| Technical Name |
deltatech_sale_add_extra_line |
| License | LGPL-3 |
| Website | https://www.terrabit.ro |
| Versions | 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• eCommerce (website_sale) • Discuss (mail) • Invoicing (account) • Website (website) |
| Lines of code | 110 |
| Technical Name |
deltatech_sale_add_extra_line |
| License | LGPL-3 |
| Website | https://www.terrabit.ro |
| Versions | 17.0 18.0 19.0 |
Sale Add Extra Line
Sale Add Extra Line
Sale Add Extra Line Module
The deltatech_sale_add_extra_line module is an Odoo addon that provides automated functionality for adding extra product lines to sale orders based on the products being sold.
Features
- Automatic Extra Line AdditionAutomatically adds an extra line for configured products in sale orders
- Product ConfigurationThe product added in the extra line can be configured in the product template
- Smart Price CalculationThe unit price of the extra line is computed from the percent configured in the product. If the percent is zero, the price will be the list price of the added product
- Quantity-based CalculationThe quantity of the extra product is calculated based on the quantity of the main product and a configurable multiplier
- Point of Sale IntegrationWorks seamlessly with both regular sale orders and Point of Sale transactions
How It Works
- Product Configuration: In the product template, you can
configure:
- An extra product that should be automatically added
- A percentage for price calculation
- A quantity multiplier for the extra product
- Automatic Addition: When a product with extra product
configuration is added to a sale order, the system automatically:
- Adds the configured extra product as a new line
- Calculates the appropriate quantity based on the main product quantity
- Sets the price based on the configured percentage or list price
- Dynamic Updates: When quantities of main products are modified, the extra product quantities are automatically recalculated and updated accordingly
Use Cases
This module is particularly useful for:
- Service ChargesAutomatically adding service fees based on product sales
- Mandatory AccessoriesAdding required accessories or complementary products
- Packaging MaterialsAdding packaging costs based on product quantities
- Installation ServicesAdding installation or setup services for certain products
- Warranty ExtensionsAutomatically including warranty products
Technical Implementation
The module extends the standard Odoo sale order functionality by:
- ✓Adding fields to product templates for extra product configuration
- ✓Overriding sale order line creation methods to trigger extra line addition
- ✓Implementing quantity and price calculation logic
- ✓Providing Point of Sale integration through JavaScript patches
This automation helps businesses ensure consistency in their sales processes and reduces manual errors when adding related products or services to customer orders.
Bug Tracker
Bugs are tracked on Terrabit Issues. In case of trouble, please check there if your issue has already been reported.
Do not contact contributors directly about support or help with technical issues.
Credits
Authors
- Terrabit
- Dorin Hongu
Maintainers
Current maintainer:

This module is part of the dhongu/deltatech project on GitHub.
You are welcome to contribute.
Need help getting started?
We are an Odoo partner building apps for the Romanian market (SAGA & WinMentor export; Romanian accounting localization in progress). Direct support from the team that built the module.
Contact Terrabit →
Please log in to comment on this module