Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] pricelist_refactor: support discounts and formula in pricelists for subscription and rental products #646

Draft
wants to merge 4 commits into
base: 18.0
Choose a base branch
from

Conversation

vrgo-odoo
Copy link

Description of the feature this PR addresses:

  • Enhances pricelist handling by introducing discount and formula support for subscription and rental products.

Current behavior before PR:
1.Subscription and rental products did not support discount and formula-based pricing in pricelists.
2.No dedicated pricing page existed for rental products in the product form view.

Desired behavior after PR
1.Discount and formula is added for subscription and rental products in pricelists.
2.A new dedicated pricing page is added to the product form for rental and subscription pricing.

…scription

In this commit
Introduced discount and formula-based pricelist rules for subscription products.

1.Adding a subscription price rule opens a new form view, requiring a recurring
plan.
2.Adding a rental price rule opens a new form view, requiring recurrence.
3.Sale order line price calculation updated to follow the new subscription rules.
4.Product template page updated for both sale products and subscription products
In this commit
1.pricelist calulation for rental product is added.
2.new page pricing is added in product page.
In this commit
1.Implemented logic to update rental prices based on the renting period and
applicable price list.
2.Added discount-related computations to ensure correct price adjustments.
3.Applied code formatting improvements.
…ducts

In this commit
1.Test cases are added to ensure correct price computation based on subscription
plans and pricelists.
2.Test cases are added to verify price calculation across different rental
durations and pricelists.
@robodoo
Copy link

robodoo commented Mar 19, 2025

Pull request status dashboard

@vrgo-odoo vrgo-odoo changed the title [IMP] pricelist_refactor: Support discounts and formulas in pricelists for subscription and rental products [IMP] pricelist_refactor: support discounts and formulas in pricelists for subscription and rental products Mar 19, 2025
@vrgo-odoo vrgo-odoo changed the title [IMP] pricelist_refactor: support discounts and formulas in pricelists for subscription and rental products [IMP] pricelist_refactor: support discounts and formula in pricelists for subscription and rental products Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants