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

Just import bulk of sales orders, but realized the Confirm Action is not available in the Action menu. Is there another way to confirm the order list in bulk?

Avatar
Abbandona
Autore Risposta migliore

Hello Nikhil

Thanks for the response. I had added the code, but it still isn't available in the Actions drop down menu.

Is there further configuration to be done?


Avatar
Abbandona

can you check latest answer

click on Create Contextual Action button on server action you make

Risposta migliore

Hi Dwalo Ariaro,

Go to Setting -> Enable developer mode -> Technical -> Server Actions

Now here you can create action for bulk order to confirm based on code execute.

check below image.

Create Contextual Action button click after see.

After save this action show in your tree view of (sale order list) you can select quotations and convert into confirm state.

Thanks.


Avatar
Abbandona


for record in records:
if record.state == 'draft':
record.action_confirm()
code section add above three line.