跳至內容
選單
此問題已被標幟
1 回覆
1333 瀏覽次數

I am currently using Odoo 18 SaaS.

We have a loyalty program that is only for specific clients, but the general public should not be included in the program.

How can I exclude those clients?

I have tried using automation rules, but the rule is not working.

Any suggestions? Thanks!


Automation Rule: Prevent Loyalty Points
 
Trigger:
     Runs "On Save" (When the record is saved).

Conditions:
   Before updating:   The rule applies if all records match (currently 1 record). 
   
   Apply to:  Only if the Loyalty Card is in a specific list, in this case, the Public General card      (0448-bbb9-40b7).

 Action: 
   update: points 
   New value: 0  Force the balance to always be zero
   

頭像
捨棄
最佳答案

You may want to try using the pricelist. The loyalty program is linked to the pricelist. You just have to assign the pricelist to the specific users and the loyalty program should only work for them.

Good Luck!

Eva P.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
4月 25
673
1
11月 24
1585
0
7月 25
474
1
5月 25
1085
3
7月 25
1554