Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
8290 Lượt xem

I wanted to add validation state to default purchase order workflow. I tried to add it the same way as it is showed in openerp 6.1 functional demo. I created Validation state, then connected from Confirmed state to Validation. In this transition added condition, that when amount_total > 1000, ask for validation and also added required access group to be purchases manager. And from validation state connected transition to router and in that transition added signal button 'purchase_approve'. Also in default transition from Confirmed state (or Node if you can name it) o Router, changed condition from 'True' to amount_total <= 1000. So when I create purchase order, it always shows that validation is required, no matter what is amount_total. Also when I press approve button, nothing happens (does not matter if that user has purchases manager rights or not).

Is there something new in openerp 7 with workflows that I don't know and should have in mind?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

If you've since upgraded to odoo 8, the module purchase_double_validation does this for you.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

same problem here! any hints or maybe already solved?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 10 15
5698
0
thg 3 15
4167
1
thg 8 25
430
2
thg 7 25
608
1
thg 7 25
553