How to activate modules

Hi Folks,

Loged on as Administrator, I see “Modules” in the menu. There is a list:

“Unactivated”:

account_asset
account_invoice
account_payment
account_product
account_statement
bank
company
country
currency
party
product

“Mark for Upgrade”:

ir|Activated|
res|Activated|

Conveniently, there is a “Perform Pending Activation/Upgrade” entry on the menu, but when I select this, the list of targets appears to be empty, consequently, nothing happens.

I’m pretty sure that this is my next step, but I seem to be going nowhere. Any advice?

Thanks for the help,

Chris.

After installing a module (for example by using pip), make sure that you restart trytond.
Trytond needs to load the modules, which happens only at start-up (unless you are running trytond with the --dev option)

I am not running “–dev”, and if you only knew how many times I have restarted trytond since installing those modules … (-:

I am left mystified. I see the modules listed and I see the indication that they are not activated, but I find no way to activate them.

Thanks for the help,

Chris.

There are two ways to activate a module:
Through the client

or you can do it using trytond-admin like this:
trytond-admin -v -c trytond.conf -d databasename -u modulename --activate-dependencies
Maybe the commandline will at least tell you in text form which is easier to share if there is a problem.

In the following example I am activating production_routing module:

If you are using the tryton client to activate a module, be sure to click on Mark for Activation.
After this the State column should write To be activated.
Like this:

After that run the Perform Pending Activation wizard, which should look something like this:
Untitled1

Which of these steps is failing in your case?

BEPKAC. I was unaware the I needed to click on the empty space to request activation.

Maybe, as a suggestion, that empty space should say something like, “Click here, on this erstwhile empty space, to activate this module.

As usual, thanks for the help,

Chris.

Glad to help!

Anyone may contribute: Tryton - Get Involved

Keep in mind that it is documented here.
If you look at the module using the form view (press Ctrl+L, press the arrow buttons on the left upper side of the interface, or enter) I think it is pretty obvious how to mark the module for activation.

Maybe it would be more obvious if the columns were sized right from the beginning so that all the text Mark for activation would be visible.

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.