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

[IMP] stock_exception: method exception #2172

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

Conversation

mav-adhoc
Copy link
Contributor

@mav-adhoc mav-adhoc commented Oct 8, 2024

This PR aims to add exceptions to the methods. Today,we can only apply exceptions by domain or by python code, but with his improve, also when running a method the exception can be validated, which helps users to make simpler and more precise exceptions in certain cases.
Only two methods were added. action_confirm, which runs when a picking is created, and button_validate, which runs when a picking is validated. Both from stock.picking model

@mav-adhoc mav-adhoc force-pushed the 16.0-t-42177-mav branch 3 times, most recently from 12167df to 3414e16 Compare October 8, 2024 15:08
@rousseldenis rousseldenis added this to the 16.0 milestone Oct 15, 2024
@rousseldenis
Copy link
Contributor

@mav-adhoc Could you describe a little what you try to fix here? Thanks

@mav-adhoc
Copy link
Contributor Author

@rousseldenis Done!

@mav-adhoc mav-adhoc force-pushed the 16.0-t-42177-mav branch 2 times, most recently from 9cac351 to c8d1e26 Compare December 5, 2024 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants