跳至内容
菜单
此问题已终结
1 回复
6420 查看

context: v7, Sales Order form view

We have encountered a few situations where a user:

1) accidentally clicked 'Cancel Order' button on a Sales Order in 'progress' / 'manual' state, resulting in the Sales Order being advanced through the workflow into 'cancel' state.

2) mistakenly clicked 'Ignore Exception' button on a Sales Order in 'except' state, resulting in the Sales Order being advanced through the workflow into 'done' state.

Since, in realities, these are Confirmed Sales Orders with valid completed/active order lines, we want to revive their states back into their respective original states rather than making a copy as a new Quotation.

Can anyone suggest on how to go about doing that? We have had a few-months-worth-of implementing our own addons modules to augment/modify openerp modules such as sale, project, res.partner, etc., so please feel free to get into technical / coding details.

Thank you.

PS. Moving forward, we'll be enabling the 'confirm' option on most risky buttons as suggested in help.openerp.com/question/8623/warn-user-before-cancelling-a-quotation/

形象
丢弃
最佳答案

If I'm not mistaken, this was possible by default in OpenERP v6.1. The mandatory "copy as a new quotation" was introduced in v7 by a pretty simple workflow edition. What you could probably do is to look at the workflow in v6.1 and change the one of v7 to reflect this behavior. But again, it's a supposition; I didn't look myself. Consider it just as a lead (pun intended).

形象
丢弃
相关帖文 回复 查看 活动
1
11月 24
1235
0
10月 15
4495
1
1月 20
4970
2
3月 15
6572
1
5月 25
1098