2013-09-09 14:51:09 |
Brendan Clune (Logic Supply) |
bug |
|
|
added bug |
2013-09-09 14:51:09 |
Brendan Clune (Logic Supply) |
attachment added |
|
e-commerce-addons-confirm-workflow.diff https://bugs.launchpad.net/bugs/1222867/+attachment/3811136/+files/e-commerce-addons-confirm-workflow.diff |
|
2013-09-09 14:51:47 |
Brendan Clune (Logic Supply) |
description |
When attempting to confirm a draft sales order that raises connector exceptions, the user must first ignore the exceptions, then attempt to confirm the sales order again. This seems unnecessary to me, because the exceptions are only visible when attempting to confirm the order in the first place. That is, if a user chooses to ignore exceptions, he or she has already expressed intent to confirm the order.
Firing the workflow in the sale exception wizard eliminates the need for extra button presses and streamlines the sale confirmation dialog:
if form.ignore:
self.pool.get('sale.order').write(cr, uid, form.sale_id.id,
{'ignore_exceptions': True}, context=context)
+ wf_service = netsvc.LocalService('workflow')
+ wf_service.trg_validate(uid, 'sale.order', form.sale_id.id, 'order_confirm', cr)
return {'type': 'ir.actions.act_window_close'}
A patch is attached. |
When attempting to confirm a draft sales order that raises connector exceptions, the user must first ignore the exceptions, then attempt to confirm the sales order again. This seems unnecessary to me, because the exceptions are only visible when attempting to confirm the order in the first place. That is, if a user chooses to ignore exceptions, he or she has already expressed intent to confirm the order.
Firing the workflow in the sale exception wizard eliminates the need for extra button presses and streamlines the sale confirmation dialog:
if form.ignore:
self.pool.get('sale.order').write(cr, uid, form.sale_id.id,
{'ignore_exceptions': True}, context=context)
+ wf_service = netsvc.LocalService('workflow')
+ wf_service.trg_validate(uid, 'sale.order', form.sale_id.id, 'order_confirm', cr)
return {'type': 'ir.actions.act_window_close'}
A patch is attached. |
|
2013-09-09 14:52:12 |
Brendan Clune (Logic Supply) |
description |
When attempting to confirm a draft sales order that raises connector exceptions, the user must first ignore the exceptions, then attempt to confirm the sales order again. This seems unnecessary to me, because the exceptions are only visible when attempting to confirm the order in the first place. That is, if a user chooses to ignore exceptions, he or she has already expressed intent to confirm the order.
Firing the workflow in the sale exception wizard eliminates the need for extra button presses and streamlines the sale confirmation dialog:
if form.ignore:
self.pool.get('sale.order').write(cr, uid, form.sale_id.id,
{'ignore_exceptions': True}, context=context)
+ wf_service = netsvc.LocalService('workflow')
+ wf_service.trg_validate(uid, 'sale.order', form.sale_id.id, 'order_confirm', cr)
return {'type': 'ir.actions.act_window_close'}
A patch is attached. |
When attempting to confirm a draft sales order that raises connector exceptions, the user must first ignore the exceptions, then attempt to confirm the sales order again. This seems unnecessary to me, because the exceptions are only visible when attempting to confirm the order in the first place. That is, if a user chooses to ignore exceptions, he or she has already expressed intent to confirm the order.
Firing the workflow in the sale exception wizard eliminates the need for extra button presses and streamlines the sale confirmation dialog:
if form.ignore:
self.pool.get('sale.order').write(cr, uid, form.sale_id.id,
{'ignore_exceptions': True}, context=context)
wf_service = netsvc.LocalService('workflow')
wf_service.trg_validate(uid, 'sale.order', form.sale_id.id, 'order_confirm', cr)
return {'type': 'ir.actions.act_window_close'}
A patch is attached. |
|
2013-09-09 20:11:37 |
Brendan Clune (Logic Supply) |
attachment added |
|
e-commerce-addons-context-patch.diff https://bugs.launchpad.net/openerp-connector/+bug/1222867/+attachment/3811678/+files/e-commerce-addons-context-patch.diff |
|
2013-11-06 08:25:23 |
Guewen Baconnier @ Camptocamp |
information type |
Embargoed |
Public |
|
2013-11-06 10:45:05 |
Guewen Baconnier @ Camptocamp |
affects |
openerp-connector |
openerp-connector-magento |
|
2013-11-06 10:45:17 |
Guewen Baconnier @ Camptocamp |
affects |
openerp-connector-magento |
e-commerce-addons |
|