Refactor pricing mechanics and move to plugins #8607
Labels
Platform UI
Related to the React based User Interface
roadmap
This is a roadmap feature with no immediate plans for implementation
Milestone
Problem statment
The current state of pricing is mostly coded into InvenTree's code base. This makes part pricing more complicated than necessary for hobby users and lacks the nuance needed for business users.
Vision
Plugins should be the primary way to handle prices. The default system should provide a simple pricing setup that only considers BoM part costs.
Breakdown
General goals:
a. Plugins should be able to add or subtract values and add metadata that can be added to reports, the UI etc.
b. Plugins should be aware of currencies and time
a. Move settings for internal pricing to plugin
b. Move variant pricing overrides to the plugin
c. Move supplier pricing to the plugin ([FR] Packaging and shipment cost #7765, [FR] Inbound shipping/logistics costs #3928, [FR] Assembly pricing calculation without consumables #7603)
a. Pass through metadata and part parameters
b. Enable pricing customisable types via states (for example shipping, packaging, handling fees, taxes, discounts, allowance)
a. BoM cost
b. General Handling cost
c. Per build order cost
d. Per part cost
e. Possibly depending on worker steps (could be very usable to asses currently sunken cost per build)
Plugin design ideas:
Open questions:
Warning
This is a draft and would be a major amount of work. This will probably require a major release and intense testing and UI/UX design. Do not expect this to be done fast.
The text was updated successfully, but these errors were encountered: