Skip to content

[FR] Adding parameters to POs #9192

Closed

Description

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

  1. ghost added
    enhancement
    on Feb 26, 2025
  2. ghost added
    triage:not-checked
    on Feb 26, 2025
  3. removed
    triage:not-checked
    on Feb 26, 2025
  4. matmair commented on Feb 26, 2025

    @matmair
    Member

    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

  5. SergeoLacruz commented on Feb 26, 2025

    @SergeoLacruz
    Contributor

    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

  6. SergeoLacruz commented on Feb 27, 2025

    @SergeoLacruz
    Contributor

    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.

  7. SergeoLacruz commented on Feb 27, 2025

    @SergeoLacruz
    Contributor
  8. SergeoLacruz commented on Feb 28, 2025

    @SergeoLacruz
    Contributor

    try order.notes

  9. matmair commented on Mar 4, 2025

    @matmair
    Member

    @asnreadily3d are you working on this or is this up for dev by someone else?

  10. matmair commented on Mar 5, 2025

    @matmair
    Member

    So I can assign you to this issue - you will submit a patch that enables usage of parameters in purchase orders?

  11. self-assigned this
    on Mar 5, 2025
  12. added
    Seeking Funding
    on Mar 5, 2025
  13. changed the title [-][FR] Adding custom parameters to POs[/-] [+][FR] Adding parameters to POs[/+] on Mar 5, 2025
  14. added this to the 1.0.0 milestone on Mar 5, 2025
  15. removed
    Seeking Funding
    on Mar 21, 2025
  16. added
    Seeking Funding
    on Apr 18, 2025
  17. modified the milestones: 1.0.0, horizon on Apr 20, 2025
  18. modified the milestones: horizon, 1.0.0 on Apr 21, 2025
  19. modified the milestones: 1.0.0, horizon on Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Seeking Fundingenhancement

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions