Dynamic Variant Percentage Pricing
by Odoo DevHouse https://apps.odoo.com/apps/modules/browse?author=Odoo%20DevHouse$ 45.67
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 94 |
| Technical Name |
product_variant_att_percent_price |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/modules/browse?author=Odoo%20DevHouse |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 94 |
| Technical Name |
product_variant_att_percent_price |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/modules/browse?author=Odoo%20DevHouse |
| Versions | 18.0 19.0 |
Product Variant Percentage Pricing
This Odoo Product module enables percentage-based pricing for product variants. Define attribute value extras as percentages of the base product price instead of fixed amounts. Automatically updates variant prices when the base price changes - perfect for businesses with dynamic pricing strategies or frequent price adjustments.
- Percentage-Based Pricing: Set variant extras as percentages of base price
- Automatic Price Updates: Variant prices auto-adjust when base price changes
- Bidirectional Synchronization: Keep fixed and percentage extras in sync
- Seamless Integration: Works with existing Odoo product variant system
- User-Friendly Interface: Clear percentage field next to existing extra price
- Smart Calculations: Accurate price computations with precision handling
1. View Product Attributes
Navigate to Products --> Attributes --> Attribute Values to see the new "Extra (%)" field.
2. Set Percentage Extra
Edit an attribute value and set the "Extra (%)" field. Example: 10 = +10% of base price.
3. Automatic Price Calculation
The system automatically calculates the fixed price extra based on the percentage and base price.
4. Base Price Changes
When you change the product's base price, all percentage-based extras are automatically recalculated.
Installation & Configuration
- Install the Module: Install through Odoo Apps or manually via command line
- Access Product Attributes: Go to Products Attributes Attribute Values
- Set Percentage Extras: Edit attribute values and use the new "Extra (%)" field
- Update Base Prices: Change product base prices - percentage extras auto-update
- View Variant Prices: Check product variants to see calculated prices
- Mixed Usage: Use both fixed and percentage extras simultaneously
Install the Module
After installation, you will see the new "Extra (%)" field in the Attribute Values form and tree views.
Setting Percentage Extras
Navigate to Products Attributes Attribute Values.
Edit any attribute value (like "Large" for size or "Red" for color).
You'll see two fields: "Extra Price" (fixed amount) and "Extra (%)" (percentage).
How Calculations Work
Percentage to Fixed: When you set "Extra (%)" to 10, the system calculates:
Fixed Extra = Product Base Price à (10 ÷ 100)
The "Extra Price" field updates automatically.
Fixed to Percentage: If you edit the "Extra Price" field instead, the system calculates:
Percentage = (Fixed Extra ÷ Product Base Price) à 100
The "Extra (%)" field updates automatically.
Base Price Changes
When you change a product's base price (list_price):
1. All attribute values with percentage extras are identified
2. Their fixed extras are recalculated based on the new base price
3. Variant prices are automatically updated
This happens automatically when you save the product template.
Priority Rules
Create/Edit Priority:
- If you set both percentage and fixed extra: Percentage wins
- If you set only percentage: Fixed extra is calculated
- If you set only fixed extra: Percentage is calculated
Zero Values: Setting percentage to 0 doesn't change fixed extra, allowing mixed strategies.
Pro Tip
Use percentage extras when you have products where variant pricing should scale with the base price. Example: Premium materials that should always cost 15% more than standard, regardless of base price changes.
Frequent Price Adjustments
Businesses that regularly update base prices - percentage extras auto-adjust
Scaled Pricing Strategies
Premium variants that should maintain consistent markup percentages
Multi-Currency Environments
Businesses operating in multiple currencies with proportional variant pricing
Time Savings
Eliminate manual recalculations when base prices change across multiple variants
Consistent Margins
Maintain consistent profit margins across price changes with percentage-based extras
Pricing Accuracy
Reduce human error in variant price calculations with automated updates
Flexible Strategy
Mix fixed and percentage extras for different attributes as needed
Do You Need Assistance or Have a Feature Request?
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