summaryrefslogtreecommitdiff
path: root/setup/setup_dev.py
diff options
context:
space:
mode:
authorJesusZapata <jesus@vauxoo.com>2017-05-26 21:45:55 +0000
committerYannick Tivisse <yti@odoo.com>2017-06-23 15:32:43 +0200
commit6a732fd2c9de26ee7c4ec03990419cb4c7682454 (patch)
tree552259441ac979edc526caf8b02590cd29d703ed /setup/setup_dev.py
parent1a57cccc0db640e6af66b833e3e6f7d9c775ebc6 (diff)
[FIX] stock: Prevent to reset a 'done' picking in 'draft' state
This change will prevent the document from going from Done to Draft In some cases a user may make that error functionally. It is only to have an additional validation In the past, we didn't need this validations because the workflow didn't allow the use of a transition that is not defined on the correct state but since that we don't have workflow so we need manage this inconsistent action from original method in order to avoid a wrong transition.
Diffstat (limited to 'setup/setup_dev.py')
0 files changed, 0 insertions, 0 deletions