Skip to main content
All CollectionsPartners & Referrals
Download modules in one package
Download modules in one package
Max Li avatar
Written by Max Li
Updated over a week ago

Download

For better user experience we created a download page where all public modules can be download as one archive. This page is available under the following URLs:

It's also possible to specify additional options that will be preset in the target page and package:

  • product: asterisk_plus

  • version: Odoo version, for example, 17.0.

  • via: partner code, that will be added into asterisk_plus module so that when this package is installed partner_code is preset and hidden from the user view.

  • c: discount_code, the same as above.

Example of URL that is ready to be shared among the possible customers:

It is also possible to download modules from the command line using the following command:

curl -X POST -o asterisk_plus.zip 'https://odoopbx.com/download_service?product=asterisk_plus&version=17.0&via=qweasd'

Configure the command and set the required version and partner code (if necessary).

How it works

  1. The download WEB service checks out the latest version of all public Asterisk Plus modules from the code repository.

  2. It creates a special ref.xml file where it puts the partner code and discount code and also sets show_partner_code and show_discount_code values to False and thus hides these fields from the UI, and no partner code or discount code is shown in the PBX => Settings => Billing menu so it is not obvious for the target user that he has a referral.

  3. This ref.xml is put in data folder of the Asterisk Plus module. So you can always checkout this file and see if it works :)

Did this answer your question?