odoo install plug-ins developed tutorial tips

Installation Odoo plug- and sometimes can be very cumbersome and prone to an unknown error. When Odoo error message appears. You need in-depth inquiry kernel module, install other dependent plug-in, download all the plug-ins, place them in the proper location, the installation point, and then handle the error, and then test again until everything is ready. If either a proficient odoo development programmer, you will find that every time progress are difficult. ODU software Tip: Easy way to install the plug-in is to use odoo pypi way.odoo plug

  At the same time, Python ecosystem There are many tools to create, distribute and install the package. These tools are configured version of the resolution to rely on management information systems. E.g. setuptools and wheel-pack, or using pypi wheelhouses distribution and installation files.

  odoo can now use pip install all of the OCA adoons, without worrying about the git repository and interdependence.

  This is because Odoo announced a plug-in automatically detects available plug-ins: odoo-autodiscover.

  1. Install autodiscover

 

 long-install odoo autodiscover

  

  2. now ready to install the plugin.

  Suppose we want to OCA / account in the financial statements 'mis_builder', and OCA / server-tools in the 'shell':

  pip install odoo10-addon-mis_builder odoo8-addon-shell --no-index,

In this way, all the essential interdependence will be installed automatically.odoo

  All plug-ins can be used as python package OCA Application: Simply "addoo10-addon-" plus plug-in before the name can be. Each OCA repository metadata files, you can install all the plug-ins together

Herein by reference.

Guess you like

Origin www.cnblogs.com/odooyun/p/11613614.html