[17.0][MIG] loyalty_criteria_multi_product: Migration to 17.0 #240
[17.0][MIG] loyalty_criteria_multi_product: Migration to 17.0 #240BhaveshHeliconia wants to merge 12 commits into
Conversation
aad513a to
1521d52
Compare
1521d52 to
811066a
Compare
811066a to
ed46a1d
Compare
ed46a1d to
fdbdfb8
Compare
|
Hey @OCA/crm-sales-marketing-maintainers would be great if someone could have a look at this module. |
|
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
fdbdfb8 to
4d65605
Compare
4d65605 to
0fe8841
Compare
|
Hey @OCA/crm-sales-marketing-maintainers would be great if someone could have a look at this module. |
|
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
…loyalty_criteria_multi_product
…16.0 - Migration scripts - Adapt views and tests - Set correct permissions - Move loyalty.criteria(coupon.criteria) model from loyalty.program to loyalty.rule TT44317
Currently translated at 100.0% (21 of 21 strings) Translation: sale-promotion-16.0/sale-promotion-16.0-loyalty_criteria_multi_product Translate-URL: https://translation.odoo-community.org/projects/sale-promotion-16-0/sale-promotion-16-0-loyalty_criteria_multi_product/it/
They should bne hosted in a version numbered folder.
…iteria + repeat_product - It should be VARCHAR, not CHAR. - Remove the condition for assigning the rule (as there can be m2m linked products although there criteria selection is another). - Do the product m2m handle. - Do the repeat_product handlement by SQL + fix it.
The loyalty_criteria field data, previously in the loyalty_program table (coupon_program) must be moved completely, both the value 'multi_product' and 'domain' to the loyalty_rule table where this data must now be stored. Otherwise the data 'domain' will be lost. TT44317
…oduct promotion criteria When setting up a multi-product promotion, you should not set a minimum spend amount because if one rule passes, they will all pass. To avoid misconfiguration, the field is hidden for promotions with multi-product criteria. In addition, the rule data is cleared when the criterion is changed so that the promotion is applied correctly in case of promotion modifications.
0fe8841 to
1fb7e65
Compare
No description provided.