GithubHelp home page GithubHelp logo

lavissawow / inventree-ipn-generator Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 32 KB

Plugin for InvenTree that auto-generates internal part numbers

License: MIT License

Python 100.00%
inventree inventreeplugins

inventree-ipn-generator's People

Contributors

lavissawow avatar

Stargazers

 avatar  avatar

Watchers

 avatar

inventree-ipn-generator's Issues

Plugin doesn't work in local setup/expected behavior unclear

Hello. First of all thank you very much for developing this Plugin!

Unfortunately I cannot get it running with my local setup. At the same time I don't really know what exact behavior to expect, meaning if the IPN will be visible in the "Create Part" panel already or if the IPN will be filled in upon saving the new part. Either way, with the plugin enabled, pattern set and all other settings activated, no generated IPN appears when creating/saving the part.

Setup:

  • Inventree 0.14.5 Docker install, Django 4.2.11, Python 3.11.9, API Version 180
  • inventree-ipn-generator installed through the inventree web-interface (by pasting "inventree-ipn-generator" as package name into the "Install Plugin" panel)
  • Plugin info:
    image

Editing the pattern does not seem to update the pattern setting 0.14.5 in docker

Thank you for developing this plugin, seems like plugin for everyone to use.

I tried to change the pattern multiple times.

Then I noticed, that even though the newer value is visible in the settings, if I press the edit value button by the IPN pattern I still get the previous pattern appearing:

image

Expected:
I should see the editor pop up with the SAME value as is visible at the settings table below.

(Note: I was unable to get

DS-001-0001 ... DS-001-9999 kind of pattern with (DS-){3}(-){4} which should work in theory. Maybe the dash - sign is treated as a negative zero number?)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.