I work with this opensource ERP named Odoo and I am very interest in integrate with Kicad.
To me it is very easy to create the data model inside the ERP, but I have no clue on how to tell to Kicad that he must search for components inside the database or even trough some RPC call to the Odoo.
Can someone point me to any related work, bye the way, Odoo is developed in python, so maybe this make things less harder!
KiCad doesn’t really have any API for communicating with external software, all the data is accessed via text files. There is a github plugin for footprints, but really all that does is pull text files off github which are then accessed locally.
There are some Python bindings for the layout editor (pcbnew), but I don’t think that gives any access to libraries (I am sure someone will chime in if there is).
There are several third party tools that work with KiCad data files, but there is not any integration as such.
My idea was to populate all info from a component, like Datasheet, vendor code, MPM and if possible the ASCII information and save inside the PostgreSQL database, where Odoo can link with other information, like last price pay for that component, from who we buy and even how many are in the local stock, so the workflow for buy new units can start.
I want to integrate Kicad so when one project is approved to prototype or production the ERP can start the MRP workflow.
So will be a module in Odoo that processes the information provide from Kicad, also Odoo will provide the Private Part Number of each component to Kicad.
We will be able to integrate all the BOM, Price List and the Kicad libraries files my have only the components really used in the project, all others devices will remain inside the database.
As Odoo is very modular and very light to run, even solo users may beneficies from install both in the same machine!
On this scenario all the integrations can be performance in the ERP side, making the develop of Kicad independence from to much external variations.