I want to show product out of stock manually using hybris through HMC.Is there any way through which we can make it out of stock?Any help would be appreciated?
Please follow these steps to make a product out of stock via hMC.
Go to hMC->Catalogs->Products and open the desired product.
Under the "Stock" tab, click on "Find stocks levels for this product".
Now you will have a list of warehouses in which the product is available in stock.
Right click on the warehouse in which you want to make to product out of stock and click "Edit in new window".
Now either change the value of the variable "Available amount" to zero or change the "In stock status" to 'forceOutOfStock'.
Hope this helps.
I'm a hybris fresher. Regarding this idea , what I have seen in my project and several other products is,
Go to hMC->Catalogs->Products and open the desired product... under the "Extended attributes" menu , I am able to see an attribute namely , EAN (could vary) which holds either "Y/N". when made to Y, it changes the product to outofstock. I dont know if this could be of any help, but just wanted to extend the answer. Thanks
Related
Is there an easy way to automate the sale order process ?
I have customer whose salesman will create Sale orders for every sim he creates.
Once Sale order is closed both DC and Invoice should be created and validated automatically, there is no need for stock picking/packing concepts.
Could someone have any idea on doing it without affecting the default flow ?
Or should I call every function related to that process in my module ?
I tried calling the functions in stock picking and then tried validating DC. I got the odoo Warning as
'You have a difference between quantity on the operation and the quantities specified for the lots'
Could you please suggest me which particular function picks the product from stock in stock.picking ?
Hi Nirmalraj Rethinasabapathi,
Yes, I think I have done it for my project.
I can map What I have done to achieve that:
Added two boolean fields in Warehouse form.
One for "Auto Validate Invoice" and another one is for "Automation In Delivery"
Override sales confirmation button action and bypass all the function you want.
It is working perfectly for me.
This is my problem:
I have a product set up in my catalogue - it does contain stock
I want to duplicate the product to use most of the data and create a
new product, so I 'duplicate' it on the 'products' page of the
catalogue
As soon as I have done this the new product (on the
products page of the catalogue) shows a red circle containing a zero
in the 'quantity' column (so the product always shows as 'put of stock)
There is nothing I can do to change this stock level - I have tried ALL of the following:
changing the product 'reference' number
adding stock in the 'Stock Management' page under the 'Stock' menu (after doing so the 'Quantity' column on the 'Stock Management' page DOES include the new stock figure, but that stock never gets added to the 'Quantity' column on the 'Products' page of the catalogue)
I'm now stuck !!
This is the detailed set-up of my shop:
I'm using Advanced Stock Management
I have a warehouse called 'Warehouse1' (already set-up)
I have a carrier called 'Carrier1' (already set-up)
I have a product called 'Product1' (already set-up)
'Product1' has been associated with 'Warehouse1' (and 'Carrier1',
though that isn't stated as being mandatory)
'Warehouse1' has been associated with 'Carrier1'
'Warehouse1' has been associated with my shop
(i.e. all 'associations' ARE done as defined here)
Any help gratefully received!
I've found the solution:
I spotted that when I'd been changing adding in stock to the (new) duplicated product I had "All shops" selected at the the top which meant it didn't work (even though I did want to apply the new stock level to ALL of my shops).
The way around it was to come down a level and select "Default group" in the top menu - that did then work. In hindsight this makes sense, as I read somewhere that the Adv Stock Management only shares across those stores inside a group, not across groups.
When I open the location structure of the warehouse and check the current inventory of a particular location, it shows me all products (even when stock is 0).
Is there a way to hide the products that are not in stock in that particular location (or remove them from being able to show in that location)?
To achieve this functionality, you have to customize addons side code of stock and product,
You have to implement funt_search method in qty_available function of product, to search product based on codition.
And in the wizard you have to pass domain, of qty_avalable > 0 at wizard,.
For refrence you can see in openerp latest trunk stock module code.
Hope this help
I got one odd things to do on product-detail-page: I want to display some information (image + description 'atleast') for every product. Available options are 'related products' and 'Cross selling' but these are already in use so i need to know something like "YOU MAY ALSO LIKE" products.
Looking for its solution. Any help and suggestion would be great help
The cross selling module when installed displays a list of products also bought by existing customers and displays "customers who bought this product also bought". you could translate by going to localization/ translations/ installed modules translations and selecting your theme then search for "customers who bought this product also bought" and translate to "You may also like these products". It would make sense that new customers would 'also like' what existing customers 'also bought'. hope this helps.
I am developing a custom module for OpenERP 7 that will track hardware installed in various venues. I have the total stock levels recorded in the Warehouse module, but I want to be able to calculate and display amount of each product that is available and the amount that is currently deployed. I'm having trouble figuring out how to do this. I have been looking at this rent module and they seem to do something with stock picking and workflows, but I'm new to OpenERP and not really sure how that works.
The other way I was thinking of was to loop through the deployments and simply calculate the amount of each item, and use functional fields to display it, but I'm not sure if that would even work, or how to do it without hard-coding all the various items.
Have a look at product.py in the stock module, specifically the get_product_available method. This allows you to pack various filter parameters into the context and then it calculates and returns stock as the net of inbound and outbound stock moves.
This method also gets used in the functional fields qty_available, virtual_available, incoming_qty and outgoing_qty. There is reasonably good explanations in the help comments in the module.
In OpenERP, something is in your stock when there's a stock move (object stock.move) with that product to your physical location as destination location, defined on Warehouse object for "Inventory Location" field. Let's say you have recorded 2 moves:
Move 1
Source Location: Supplier
Destination Location: Stock
Qty: 2
Move 2
Source Location: Stock
Destination Location: Deployed Products
Qty: 1
If you open your products list you'll see that you have 1qty of your product available. OpenERP sums all the moves for that product to and from your Stock location. So if you have no other specific needs, recording moves to some sort "Deployed Products" location should be enough.