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

Update tier_validation.py #870

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from

Conversation

DMopen2s
Copy link

@DMopen2s DMopen2s commented May 1, 2024

When adding a validation in a model that in its confirmation process makes an update to a field other than the _state_field, it was left in a loop that needs a validation, when the validation was already applied previously, that is, there is no validation only when This is the field defined in the _state_field, this was tested in a custom module that was added for the validations prior to carrying out an inventory write-off with the stock.scrap model. Additionally, it is detected that the sequences are skipped every time you click on the confirm button and it has not yet been approved, which is not corrected in this push.

When adding a validation in a model that in its confirmation process makes an update to a field other than the _state_field, it was left in a loop that needs a validation, when the validation was already applied previously, that is, there is no validation only when This is the field defined in the _state_field, this was tested in a custom module that was added for the validations prior to carrying out an inventory write-off with the stock.scrap model. Additionally, it is detected that the sequences are skipped every time you click on the confirm button and it has not yet been approved, which is not corrected in this push.
@OCA-git-bot
Copy link
Contributor

Hi @LoisRForgeFlow,
some modules you are maintaining are being modified, check this out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants