コンテンツへスキップ
メニュー
この質問にフラグが付けられました
4 返信
1457 ビュー

Hello all


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

アバター
破棄
最善の回答

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:


アバター
破棄
最善の回答

Hi 

Choose Type Execute Code in the Server Action

アバター
破棄
著作者

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

最善の回答

Hi,

Please refer the below tutorial.


Hope it helps!

アバター
破棄
著作者 最善の回答

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


アバター
破棄

Click Create Contextual Action and Check

関連投稿 返信 ビュー 活動
4
10月 24
6837
0
1月 22
2098
0
10月 20
2342