Skip to content

an Inventree plugin that handles additional data needed for external manufacturing

License

Notifications You must be signed in to change notification settings

SergeoLacruz/build_plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License: MIT

Build plugin

This is plugin for InvenTree, which provides support additional build data. It adds a panel to the build details view. In this panel you can add relevant data that are needed in case you wand to have PCBs manufactured by an external partner. Other production relevant figures are extracted from the InvenTree database, e.g. number of different components in the BOM.

build_plugin

All data is stored in the metadata area of the build when tie Save button is pressed. When the panel is initialized all data is loaded from the metadata field and available for panel and report. So the panel always shows the actual data when it is displayed.

All parameters are exported to the report context using the report mixin. So a report can be created. A report template is provided that creates a request for quotation that can be sent out to the external partner. This RFQ is based on data in the InvenTree database and on additional data from the plugin. So for the report to work you need to setup companies with addresses and contacts.

request fpr quotation

Actually this is not finished but a good example for panel UI, data storage and reporting.

Installation

Just copy python and templates to src/inventree/plugins and load the report template.

Configuration Options

PK of our Company

Here you can chose your company from the IvenTree database. This is used ad a sender in the RFQ report.

About

an Inventree plugin that handles additional data needed for external manufacturing

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published