Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8204323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T07:51:51+00:00 2026-06-07T07:51:51+00:00

I can easily install new modules in OpenERP v6.1 using XML-RPC from a Python

  • 0

I can easily install new modules in OpenERP v6.1 using XML-RPC from a Python script:

response = sock.execute(db, uid, pwd, 'ir.module.module', 'button_immediate_install', module_ids)

sometimes response is just False (eg. edi module), sometimes it’s just an indication to refresh the web client (eg. product module). That’s easy, I’ve got nothing to do.

But sometimes the newly installed module asks the client for some configuration (eg. the sales module or one of its dependencies asking to choose a Chart of Accounts template to import). When that happens the response is a big dictionary and I can guess at the values it’s asking me and the multiple choices for those values, but how can I respond back via XML-RPC?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T07:51:53+00:00Added an answer on June 7, 2026 at 7:51 am

    In case anyone else finds this, it took me a long time to work out how to successfully install modules via XML-RPC.

    Here is what I ended up with:

    # A list of module ids to install:
    module_ids = (
        59, #account_accountant
        104, # account_asset
        7, # account_voucher
        47, # crm
        23, # crm_todo
        119, # hr
        115, # hr_timesheet_sheet
        14, # knowledge
        191, # purchase
        175, # stock
    )
    
    #send request to server
    response = sock.execute(dbname, uid, pwd, 'ir.module.module', 'button_immediate_install', module_ids)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We can easily alert anything in java script. Is it possible to get this
From Eclipse I can easily run all the JUnit tests in my application. I
Using scons I can easily set my include paths: env.Append( CPPPATH=['foo'] ) This passes
If I have a new install of SQL Server Standard on one machine, can
This file name must be recognisable like README/INSTALL/AUTHORS/COPING/etc. So user can easily found them
I can easily check IP addresses programmatically, but is there any way to set
I can easily calculate the age of a lead in minutes with a formula
I can easily ascend the class hierarchy in Ruby: String.ancestors # [String, Enumerable, Comparable,
You can easily swap two deployments between staging and production environment in the Azure
In F# I can easily do let a = [1 .. 10];; Then why

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.