Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
925 Vizualizări

One of our requirements is to be able to trigger the Purchase Order "Send By Email" prompt/wizard automatically when clicking the "Confirm Order" button.


In other words the requirement is to combine the two functions.  Therefore each time a user Confirms the PO, the Send By Email prompt will also be triggered to ensure that the user remembers to send the email.


I am unable to find any apps or documentation that suggests this functionality is possible without customisation.  Obviously wanting to avoid customisation if can be helped.


Any help would be appreciated.


Thanks,
Damien

Imagine profil
Abandonează
Cel mai bun răspuns

Hi,
How about showing the confirm button only in the RFQ sent state ? doing so, user has to send the email first to confirm the order.

* To do so, using the studio, just change the button visibility of Confirm to show only in RFQ sent state

Thanks

Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

To achieve this functionality you need to make customization in your code.

If you need to work the functionality of send by email button on clicking on confirm order, you need to inherit the module purchase.order and need to override the function "def button_confirm(self)",

You can super this function and include the functionalities of "action_rfq_snd" in it. Then you can call the function "action_send_mail" to send the mail


Hope it helps

Imagine profil
Abandonează