Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
4 Risposte
1731 Visualizzazioni

Hello all


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

Avatar
Abbandona
Risposta migliore

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:


Avatar
Abbandona
Risposta migliore

Hi 

Choose Type Execute Code in the Server Action

Avatar
Abbandona
Autore

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

Risposta migliore

Hi,

Please refer the below tutorial.


Hope it helps!

Avatar
Abbandona
Autore Risposta migliore

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


Avatar
Abbandona

Click Create Contextual Action and Check

Post correlati Risposte Visualizzazioni Attività
4
ott 24
7840
0
gen 22
2189
0
ott 20
2538