๐งฎ Price by Formula Calculator
Build a state-of-the-art measurement & options pricing calculator. One module that powers both the backend (Sales quotations) and the frontend (eCommerce product pages) at the same time, with a single shared rule & formula engine. For Odoo 18 & 19.
One Engine โ Backend & Frontend at Once
The same calculator rules and formulas drive price computation in backend Sales orders and on the eCommerce storefront โ configure once, use everywhere.
๐ฅ๏ธ Backend Sales
An Edit options dialog on the quotation/order line computes the unit price from the customer's measurements & options.
๐ eCommerce (Website)
A live calculator on the product page computes the price and adds the configured product to the cart.
Backend + Frontend
Both contexts at the same time, one shared engine
Custom Formulas
Use + - * / ( ) and functions to build any price calculation
Unlimited Fields
Number, text, select, radio, checkbox, multi-select & more
Conditional Groups
Change the formula based on user input or running results
Features
๐ Formula Builder
- Custom formulas with +, -, *, /, parentheses
- Functions: round, ceil, floor, sqrt, min, max, abs, pow
- Variables: your field codes, qty, price, result
- Multiple formulas per rule, evaluated top to bottom
- Conditional formula groups (e.g. length > 10)
๐งฉ Option Fields
- Add as many fields per rule as you need
- Number, text, text area, select, radio, checkbox, multi-select
- Required or optional; help text & placeholders
- Images for radio options
- Numeric value per option used in formulas
๐ Measurement & Rounding
- Sell by any unit: kg, meter, square meter, cubic yardโฆ
- Replace or add to the product base price
- Round / round up / round down with custom precision
- Optionally hide the default quantity field
๐ Sales & eCommerce
- Live calculator on the eCommerce product page
- Backend calculator dialog on quotation lines
- Chosen options shown on cart, checkout, order & PDF
- Preview a calculator from the backend
- Create multiple rules for various products
Screenshots
Module Specifications
| Property | Details |
|---|---|
| Module Name | product_price_formula |
| Odoo Versions | 18.0 and 19.0 |
| License | OPL-1 |
| Category | Sales |
| Dependencies | sale_management, website_sale |
| Models | product.price.formula.rule / .field / .field.option / .line |
Installation Guide
- Copy product_price_formula into your Odoo addons directory.
- Update the Apps List and install Product Price by Formula Calculator.
- Hard refresh the browser (Ctrl+Shift+R).
- Open Price Calculators to create a rule with fields & formulas.
- Apply the rule to products/categories โ the calculator appears on quotations and product pages.
Price Anything, Your Way
Install the Price by Formula Calculator and turn measurements & options into accurate prices.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Sales (sale_management)
• eCommerce (website_sale) • Discuss (mail) • Invoicing (account) • Website (website) |
| Lines of code | 1189 |
| Technical Name |
product_price_formula |
| License | OPL-1 |
| Website | https://www.odoo.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