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
Please verify that this feature request has NOT been suggested before.
I checked and didn't find a similar feature request
Problem statement
Hi, I need some help on something I'm currently working on.
I'm doing a template for future purchase orders and I wish to add extra info, that is custom to each PO.
In this case, it will usually be either lead time (number of weeks), delivery type (DDP, EXW, etc.) and/or payment terms.
It's similar to the existing feature of custom parts parameters. With multiple ways to store the value (value, checkbox, list). But I can't find a way to do the same for POs. If it's not yet implemented, I would love to have that feature
Thank you in advance for your time !
Suggested solution
Adding custom field parameters to POs like the feature for custom part parameters
Describe alternatives you've considered
(Trying to find it)
As a potential temporary solution (or something else that is proposed by someone more knowledgeable than me): Is it possible to use the notes section in a PO to be exported into the document when generated with the template ?
Examples of other systems
No response
Do you want to develop this?
I want to develop this.
Activity
ghost added
enhancementThis is an suggested enhancement or new feature
Parameters are only on parts / categories right now. Expanding them to a more generic system like metadata or custom states would be very interesting.
Main thing to watch out for is to cleanly separate the mechanism from parts and improve inline docs to enable devs of InvenTree or plugins correct usage in models. This could either be bound to specific models or one could use generic content type based m2m foreign key
You can write to the notes field whatever you like.The notes field is accessible from the report engine.
I do not understand you point with variable name and link on.
Activity
matmair commentedon Feb 26, 2025
Parameters are only on parts / categories right now. Expanding them to a more generic system like metadata or custom states would be very interesting.
Main thing to watch out for is to cleanly separate the mechanism from parts and improve inline docs to enable devs of InvenTree or plugins correct usage in models. This could either be bound to specific models or one could use generic content type based m2m foreign key
SergeoLacruz commentedon Feb 26, 2025
You can always add additional data into the metadata field. This is accessible from the reporting system too.
You can have a look at the plugin for additional build order data. It does exactly this
https://github.com/SergeoLacruz/inventree-build-data/tree/main
SergeoLacruz commentedon Feb 27, 2025
You can write to the notes field whatever you like.The notes field is accessible from the report engine.
I do not understand you point with variable name and link on.
SergeoLacruz commentedon Feb 27, 2025
Try the context variable "notes". It should do the job. See example here:
https://docs.inventree.org/en/stable/report/samples/#purchase-order
SergeoLacruz commentedon Feb 28, 2025
try order.notes
matmair commentedon Mar 4, 2025
@asnreadily3d are you working on this or is this up for dev by someone else?
matmair commentedon Mar 5, 2025
So I can assign you to this issue - you will submit a patch that enables usage of parameters in purchase orders?
[-][FR] Adding custom parameters to POs[/-][+][FR] Adding parameters to POs[/+]