You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have developed a module to resolve the asterisks in the addons.yaml file. I don't know if it can be interesting for others and where it could be published.
Currently the module is for 15.0, but it should not be complicated to make it work in other versions.
For the issue of resolving the repository of the module, the installation path of the module is used and not what the manifest may indicate (this is why it is necessary to install).
The module also creates the pip.txt file with the detected dependencies. This is not perfect because in the manifest the name used is the import name, which does not always match the package name (e.g. stdnum vs python-stdum). But at least it serves as a guide and usually matches the name in 99% of the cases.
The module only makes sense to use it to 'convert' a doodba using asterisks to one without asterisks.
Once you have the module installed, to get the information you would do something like this: poetry run python3 ./gen_addons.py --host myodoo.com --database prod --user admin --no-core --use-ssl
** The script 'gen_addon.py' is included in the module folder.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I have developed a module to resolve the asterisks in the addons.yaml file. I don't know if it can be interesting for others and where it could be published.
Currently the module is for 15.0, but it should not be complicated to make it work in other versions.
For the issue of resolving the repository of the module, the installation path of the module is used and not what the manifest may indicate (this is why it is necessary to install).
The module also creates the pip.txt file with the detected dependencies. This is not perfect because in the manifest the name used is the import name, which does not always match the package name (e.g. stdnum vs python-stdum). But at least it serves as a guide and usually matches the name in 99% of the cases.
The module only makes sense to use it to 'convert' a doodba using asterisks to one without asterisks.
Once you have the module installed, to get the information you would do something like this:
poetry run python3 ./gen_addons.py --host myodoo.com --database prod --user admin --no-core --use-ssl
** The script 'gen_addon.py' is included in the module folder.
Beta Was this translation helpful? Give feedback.
All reactions