Monday, January 23, 2023
1 change
Resolved issues and error corrections
The pricing list opened from a subscription quotation template now keeps users focused on rules for the selected product and recurrence. This reduces confusion and prevents accidental creation or editing of unrelated pricing rules, while moving related template fields into the proper subscription pricing module.
Original PR description
When clicking on the button "prices" for a product from a subscription plan (quotation template), the user lands on the list of time based price rules that are compatible with the recurrence of the quotation template. The problem is that from there it is possible to create and edit rules for other products (even non recurring one), other recurrence, ... which is confusing and error prone. New behaviour : From that list it should only be possible: - Edit the price or the pricelist of an existing rule - Create new rules for the "selected product" (product.product) and the "recurrence" of the template (these should be readonly) This PR also move SO template field related to sale_temporal from sale_subscription to sale_temporal. task-id : 3076793