natuan9

Results 35 comments of 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? ![image](https://github.com/user-attachments/assets/255d7f43-f325-41b0-9d98-c2caa7479ebf)

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.