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

Invoices have draft, open, paid stages now. How can i add "approve" activity in between draft and open activities in openerp version 7.0?. I want to inherit the model "account.invoice".

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

Hi samba,

Basically you would have to: 
1. Modify workflows of account.invoice to add that stage 
2. Modify the state field of account.invoice to add that state 
3. Modify the view of invoice and add the corresponding buttons

Regards,

Juan José - Ing ADHOC

Ảnh đại diện
Huỷ bỏ
Tác giả

I can inherit the model and modify the state field. The problem i am facing is inheriting work flow. If i want to add "approve" in between "draft" and "open" these two Activities, and transitions and work flow should available in inherited view. It's not enough if we write only "approve" activity and transition. I believe that the transition of "draft" to "open" need to change like "draft" to "approve" and need to write new transition for "approve" to "open". We should write these two transitions, but it is asking for "workflow", "activities" . For the time being i had write these in inherited view. Does this write way?

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 15
3262
1
thg 8 25
396
2
thg 7 25
565
1
thg 7 25
514
2
thg 7 25
540