one of my basic every day tasks is to monitor my stock levels.
Sergi once advised me to set up a workflow, but to be honest: It does not work for me, because it needs more attention than I can grant.
So what I would like to have - and I guess I may not be alone with this - that at the Tryton home screen, a list is displayd with shows:
Item name | current stock | order threshold
and preferably highlighted in orange when the stock level is approaching the order threshold, and highlighted in red when the order threshold is reached.
And there should be options
to sort the display in descending order of the most urgent orders,
mark products with ongoing orders,
to actually create orders.
Can such be achieved with Tryton onboard equipment ? - Maybe the dashboard module? - If not, do more people think itâs a desired feature?
As you donât explain/link the workflow you tried and why it asks so much of your time resources, we may be answering the same recommendation workflow without knowing.
What you are asking exactly does not exist. For what youâve explained the easiest solution is to setup stock rules (order points) and you will have purchase request generated for the threshold defined.
Thank you, AdriĂ . Yes, Iâm using automated purchase requests, but as Iâm ordering bigger quantities from CN once a year, order logics are more complex than just âstock under threshold > orderâ.
A cheap win would be if I simply could get stock location window opened at client launch, perfect would be with a search request carried out. Is that possible? To be honest, I have no idea how âactionsâ or such may workâŠ
Thank you for pointing me to this info. But AFAIS, it does not cover my question:
Is it possible to display stock level info at Tryton client start page ?
To open a window on Tryton start just put the Window Action inside Administration / Users / Users. Select the user you want this window to be started as and add the action under Actions tab.
My question is how to open a window with custom search/records.
I have for a long time suspected that the right way is to create a new Window Action just for this purpose, and change the parameters of the action window. Then use this action window to launch on start-up. Could this be the best way, or is there a simpler way to do it?
Hey great, there seems to be an approach I added the âproducts by locationâ action to my user and after a relaunch it appears. Fine. Unluckily, it shows all values by âzeroâ, reload does not change that.
In the header, it does not mention the actual location, as it does if I call it over the menu. So I guess I need to pass that as a parameter⊠- How would I do so?
You should create a new action and set in the context the ids of the locations you want to check.
If you look at the original action there is an Eval('active_ids') which should be replaced with [id] where id is the internal id of the locations you want to check. You should use the id of the warehouse or the storage location.
Thank you for taking care.
Unluckily, I donât know how to proceed. Trying to create a new action, I went to Administration > User Interface > Action. Correct?
Now, where would I find Eval('active_ids'), I cannot see it.
with â17â being the ID which reads from âprotocolâ when my warehouse location is selected.
Actually, I get a window, but with zero quantity for every item. Whatâs wrong now?
Yesss! - That works, great! An really improves my life, thank you very much indeed.
Now a nice-to-have would be an idea how to do a search request. The search line is products: SKR | SB | PU | APR | KU
but neither of the variants my dear friend @mstma tried, actually worked, such as [['product', '', 'SKR']] or similar.
It seems like you are missing the operator.
Here you probably want the like operator.
Do not forget to use the wildcards such as % if the product name is not an exact match.
If it is an exact match then you could use the operator â=â.