Project:
View Revisions: Issue #40657 | [ Back to Issue ] | ||
Summary | 0040657: Duplicated documentno warning activates when original order was finally not saved | ||
Revision | 2019-05-08 13:24 by marvintm | ||
Steps To Reproduce | 1. Log into a terminal with this duplicated documentno warning functionality 2. (Quick way to reproduce it) Add this hook in order to simulate an error while saving. Execute it in chrome console. OB.UTIL.HookManager.registerHook('OBPOS_PreOrderSave', function (args, callbacks) { args.cancellation = true; OB.UTIL.HookManager.callbackExecutor(args, callbacks); }); 3. Try to complete an order (the order is not saved). 4. Try to complete it again. 5. Error is shown (attached image) |
||
Revision | 2019-04-25 14:50 by marvintm | ||
Steps To Reproduce | 1. Log into a terminal with this duplicated documentno warning functionality 2. (Quick way to reproduce it) Add this hook in order to simulate an error while saving. Execute it in chrome console. OB.UTIL.HookManager.registerHook('OBPOS_PreOrderSave', function (args, callbacks) { args.cancellation = true; OB.UTIL.HookManager.callbackExecutor(args, callbacks); }); 3. Try to complete an order (the order is not saved). 4. Try to complete it again. 5. Error is shown (attached image) |
Copyright © 2000 - 2009 MantisBT Group |