Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How validations should work by sequence ? #1706

Open
maisim opened this issue Apr 16, 2024 · 0 comments
Open

How validations should work by sequence ? #1706

maisim opened this issue Apr 16, 2024 · 0 comments
Labels

Comments

@maisim
Copy link

maisim commented Apr 16, 2024

Module

account_move_tier_validation

Describe the bug

Validation don't wait the validation of the previous ones to be asked
How validations should work by sequence ?

To Reproduce

Affected versions:

Steps to reproduce the behavior:

  1. Create a first tier validation on move with a sequence number (30) and check approve_by_sequence
  2. Create a second tier validation on move with a greater number (31) and check approve_by_sequence
  3. Go to an invoice then ask for validation

image

image

image

Mitchell is asked to carry out the 2nd validation while Marc has not yet carried out the first :
image

Expected behavior

Validations should not be requested until previous ones have been validated

Additional context
Tested on odoo 12 (account_invoice_tier_validation), odoo 14 (account_move_tier_validation)

@maisim maisim added the bug label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant