natuan9
natuan9
Hi @kobros-tech thanks for your review Removing the reward line is an on purpose feature of odoo itself, that removes all rewards on order cancellation https://github.com/odoo/odoo/blob/18.0/addons/sale_loyalty/models/sale_order.py#L157
@kobros-tech In your screenshot, I see that the chatter logs indicate the sales order was canceled. Could you please record your testing process and share it with me? 
Hi @kobros-tech , I have investigated and found that this issue is caused by the sale_loyalty_order_suggestion module. Reward lines disappear after running [this line](https://github.com/OCA/sale-promotion/blob/16.0/sale_loyalty_order_suggestion/models/sale_order.py#L29). This issue occurs not only when...
Thanks @kobros-tech , The [sale_loyalty_auto_refresh](https://github.com/OCA/sale-promotion/tree/16.0/sale_loyalty_auto_refresh) module meets these expectations and is compatible with `sale_loyalty_general_discount_promo_code` module
Hi @wlin-kencove , thanks for review, I have added a default value for `mail_template_id` to resolve this issue
This PR was not done correctly, so I created a new PR for this module - #3241
Hi @BhaveshHeliconia , I create this PR to adds a smart button in the loyalty program form view to open related sale orders, enhancing traceability and management of related sales...
Hi, thanks for your review! I've just made a small change. Most users don't have access to the `res.user` form, so we also need to display `default_company_ids` field in the...
Hi @ivantodorovich , I added some test cases for this module.
Hi @grindtildeath , I resolved issue