summaryrefslogtreecommitdiff
path: root/addons/web/controllers/main.py
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2015-05-13 11:36:04 +0200
committerDenis Ledoux <dle@odoo.com>2015-05-13 11:42:09 +0200
commitacd61f8f0efe0c1da2a0640ec65bfc48d6714645 (patch)
treeaf03c43bff661b5a2b3d146126b889909e509d28 /addons/web/controllers/main.py
parent242e61796b9d4f5d1e396148571ab26020ed8129 (diff)
[FIX] purchase: deletion of PO lines in states other than approved/done
This is related to revision 65d7cc524d9f3a5dc833cb483ccaaf86fab4819d The `order_line` field of `purchase.order` is readonly within states aprroved, done. See the field definition. This means it should be possible to remove lines of a `purchase.order` when the PO is in any other state than approved or done. Therefore, the deletion of lines shouldn't be prevented when the PO is not in state approved or done opw-634538
Diffstat (limited to 'addons/web/controllers/main.py')
0 files changed, 0 insertions, 0 deletions