Integration of Ralph Inventory Extension

Dear Ralph team,

I am a member of the team developing the inventory and stocktaking extension for Ralph as the diploma project “Capentory”, see our initial forum post https://ralph.discourse.group/t/ralph-inventory-extension/131.

The intent of this post is to inform you that we are on the verge of having a finished product and making last preparations for a pull-request.
There are a couple of things, concerning the server-changes, we need to know beforehand:

  1. There are 2 packages/apps we have developed: “stocktaking” and “capentory”. The latter contains models and other functionality related only to our institution, i.e. only the asset-models we need in our school. Question being: Do you want this package included with the pull-request or only the stocktaking-feature?

  2. We have created a “demo” implementation of the views required to perform stocktaking via our mobile App for the model “BackOfficeAsset”. We will include this in the pull-request for your convenience. Just keep this in mind when merging: When implementing your own stocktaking-views, please review the “stocktake_client_views.py” file for any methods you want to override and customize.

With this in mind, I am looking forward to hearing from you and am always open for any questions.

Best regards

2 Likes

I think the smaller and more “generic” changes, the better.

Before this patch land, I think we need to discuss:

  • Is it possible to play around with the demo app somewhere? If not, how can we install this today ?

  • Maintainership - I think this part of code should have dedicated maintainers, which knows this piece of code. Are you open to support this?

  • I’m thinking about making this package optional. Then, we can have both worlds - Ralph core and “community-plugins” under new “ralph-community” repository. We could use DJANGO_INSTALLED_APPS to enable and disable it. Do you think it’s possible? We could than make stocktaking optional with something like apt-get install ralph-stocktaking

Optional packages

We already use separate Ralph packages for internal (Allegro) tools hooked under “setup.py” entry points.

Once again, thank you for great job pushing Ralph community forward!

Thanks for the reply!

  1. Take a look at your Email. You can try the App today :wink:
  2. We do not plan on continuing develepment on our software after our project is finished. However, we might still push patches once in a while (but definitely to a much lesser extent than now)
  3. Our solution is just a package, so you can just remove/add it to INSTALLED_APPS, so that is definitely possible. (Please keep in mind that the bug I posted few weeks ago needs to be fixed in order for our solution to be integrable (Ralph bug))
1 Like

New Update: You can install our App directly from the Play Store. The public IP Adress has changed (Take another look at your Emails).

PS: Do you have any other channel that we can use to faster communicate? (e.g. Discord)

Bye :innocent:

1 Like

Congrats! Can you paste link here?

Yes, you can join our chat here: https://gitter.im/allegro/ralph

1 Like

Thanks :innocent:

The link (you can also search for “capentory” in Play Store): https://play.google.com/store/apps/details?id=com.capentory.capentory_client&gl=AT

After installing the app you will need to change some settings (namely the Server-IP-Adress & Port, I included both in my last email).

PS: Our entire team has received an A for our diploma thesis :smiling_face_with_three_hearts: