-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
logistic order: more readonly states #79
Conversation
actually I am adding a few more similar fixes in this branch. for that reason the WIP label. |
...done |
The dependency is the other way round. Duplicate the states, then.
20579fa
to
a2fd384
Compare
this needs review now. Thanks! |
@@ -30,10 +33,6 @@ | |||
class logistic_requisition(orm.Model): | |||
_inherit = "logistic.requisition" | |||
|
|||
REQ_STATES = {'confirmed': [('readonly', True)], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we sur no other addons use this one. Shouldn't we create a local valiable that alias the one in logistic requisition?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not aware of any @nbessi. If there are any we will find out soon enough (that should break on installation) and fix immediately.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lepistone never forget that there might be unpublished code or code outside OCA used out there 👅 .
But well I won't consider as blocking
because logistic_order depends on logistic_consignee
3e5dadb
to
555cf39
Compare
👍 |
2 similar comments
👍 |
👍 |
logistic order: more readonly states
No description provided.