Skip to content

No able to confirm record with loyalty app installed after being approved by tier validaiton. #1090

@MakramElAhmadye

Description

@MakramElAhmadye

The name of the module that has a bug.
base_tier_validation

Describe the bug

When the 'loyalty' is activated in Odoo, confirming an approved sales order is leading to a validation error as below

"
You are not allowed to write those fields under validation.

  • Manually Applied Coupons

Only those fields can be modified:

  • Followers
  • Security Token
    "

To Reproduce

Affected versions:

Steps to reproduce the behavior:
1.install tier_defintion and loyalty
2.install sale_tier_validation
3.Create a new tier definition by searching for it form the main home page of Odoo
4.Select the sales order as the model and any group or specific user (preferrable:you should not be part of the group or the user)
5.Create a domain (e.g. total > 1)
6.Create a loyalty program (any one)
7.Create a sales order and specify any product and add the unit price to any value above 1 so that the total sales order is > 1 --> Save.
8. Click on Request validation.
9. login behalf of the user who is reviewer and validate (all should be fine)
10. Try to approve / confirm the sales order.

Expected behavior
The sales order shall be confirmed without any problem.

Additional context
This is happening on all purchase/sales/stock move/ invoice..........

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugstalePR/Issue without recent activity, it'll be soon closed automatically.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions