Skip to Content

Welcome!

Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

Sign up

You need to be registered to interact with the community.
This question has been flagged
1 Reply
96 Views

Hello,

New to Odoo, I have a case where the customer has complex quote documents. He manually  produces them with Powerpoint or Word.

How can I setup the quotes process so that he can move from "quotation" to "quotation sent" without having to click on "send by email" or, at least, without having a generated PDF attached to the email? This seems to happen enven without a selected quote template. 

Thanks in advance!

Damien

Avatar
Discard

Hey,

You need to make Send by email button invisible or replace existing button and add a custom new button. 

Inherit sale.order class and form view to python and xml respectively.

Python:

    @api.multi

    def action_quotation_sent_without_mail(self):

        return self.write({'state': 'sent'})

XML:

    <xpath expr="//button[@name='action_quotation_send']" position="after">

            <button name="action_quotation_sent_without_mail" string="Quotation Sent" type="object" states="draft" class="btn-primary"/>

    </xpath>

Avatar
Discard

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!