Odoo Help


dialog box with value from py file

on 6/27/13, 2:59 AM 1,836 views

Hi friendz,

       I am trying out buttons in OpenERP 7 in which I need to display the value of the result in a dialog box.

For Example,

      Now I am trying to transfer money from one account to another account, when the transaction is done through clicking the button "Transfer money".  I need to get a dialog box as 

              Transaction Complete 
              Your current balance is 3000

     Help me with my situation.

Sudhir Arya (ERP Harbor Consulting Services)

--Sudhir Arya (ERP Harbor Consulting Services)--
| 6 8 8
Ahmedabad, India
--Sudhir Arya (ERP Harbor Consulting Services)--

• Co-Founder & Co-Owner at ERP Harbor Consulting Services

• ERP Consultant / ERP Customization / TechnoFunctional Expert

• Sound knowledge in Python, Odoo (Open ERP), XML, PostgreSQL

• Domain knowledge of Sale Management, Purchase Management, Warehouse Management, Manufacturing, Multi Company Configuration & Management, HR Management, Medical Management, Construction Management, Education Management, Point of Sale, Third Party Integrations

• Positive attitude and quick Learner

• Good analytical skill, quick bug and issue tracing and find the solution

• Good knowledge and experience in payment gateway integration with Odoo

• Ready to accept new challenges

• Active Memeber On Stackoverflow 




Sudhir Arya
ERP Harbor Consulting Services
Sudhir Arya (ERP Harbor Consulting Services)
On 6/29/13, 5:14 PM

There is a way that you can create one wizard and show the message when transaction is done.

You need to call that wizard from py after transaction is completed successfully.


def my_transaction_done_method(... 
    #Your code
    return {
        'name': 'Transaction Confirmation',
        'view_type': 'form',
        'view_mode': 'form',
        'res_model': 'your_wizard_object_name',
       'type': 'ir.actions.act_window',
        'nodestroy': True,
        'target': 'new',

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 6/27/13, 2:59 AM
Seen: 1836 times
Last updated: 3/16/15, 8:10 AM