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

Hello all


anyone having an idea about how to Confirm purchase order in bulk (Status from RFQ TO Purchase order) by Selecting checkbox ?

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

If you activate Developer Mode, and hover over the CONFIRM ORDER button, you can see it calls a Python Method in the purchase.order model / class / object called "button_confirm":


You can create a Server Action that calls this same button for the list of selected records:


Click CREATE CONTEXTUAL ACTION so that you see this Server Action in the ACTION Menu once you have selected multiple RFQ's:


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

Hi 

Choose Type Execute Code in the Server Action

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

Hello

As per your guidance selected Execute code button

and also added below highlighted font in Code field as per your last reply

Did You Click on Create Contextual Action

Câu trả lời hay nhất

Hi,

Please refer the below tutorial.


Hope it helps!

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

Hello 


added same per your mail



but still button not visible in purchase order page

=========================

Please check the below screenshot of server action

where Action to do option not visible in odoo 17 page



please help me so that I can move ahead and add confirm button for the purchase order confirmation 

thanks


Ảnh đại diện
Huỷ bỏ

Click Create Contextual Action and Check

Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 10 24
6843
0
thg 1 22
2099
0
thg 10 20
2342