Odoo using all of an item in a automatic manufacturing order - odoo

As I am attempting to set up a new installation of Odoo I am trying to figure out how to use the manufacturing tool correctly.
What I am trying to do is take a roll of material and cut it down to sheets. In this case one roll equals 30 sheets.
Is there a way to tell Odoo that when I request 10 sheets that it should use the entire roll and create 30 sheets so that I'm not left with a fraction of a roll?
EDIT: I figured out that i can set the product rounding of the consumed item to be set to one full item. But now i have a different problem. If I ask Odoo to produce say 40 items it will produce exactly 40 and use 2 rolls, which means im missing 20 items. Is there a way to set the produced quantity to a factor of the amount of items i can get out of the roll?

You could create:
A product called sheet-Unit
Then in the BOM page of the sheet-unit you write 40 units under quantity and you put your roll as BOM. Basically you're saying that 40 unit of sheet-unit = BOM
Sheet for sales (your sales product) BOM = 1 sheet-unit
Then test it.
When you sell a sheet-sales-product and a sheet-unit is needed according with your settings (make to order - manufacturing - minimum qantity in stock-etc) a MO for 40 sheet should start.

Related

How to display top 5 along with custom in Tableau?

I am creating a dashboard which will display sales of top 5 products along with particular product in a category as per the filters. I have created top 5 category list using rank basis sales but am not able to club top 5 along with one specific category. This dashboard's objective is to compare industry vs our product in the category. Our product may or may not be in top 5.
I have tried using two different sheets and clubbing it together but it is not getting along properly.
For eg. The filters are set on TV.
Highest selling top 5 TVs will be displayed along with the in-house product as rows and column is sales. Can someone help.

Automated action to update the qty in hand instead of forecast qty

We are working on several Sales Platform (e.g. Prime Minister, Ebay) that generate an excel to import in our Odoo 11 SAAS server.
As there are hundred of orders, we created an automated action to update the quote to sale after importing from excel.
At that point I am able to search the action for confirming the sales in a odoo studio video.
How to update the qty on hand or change the done qty for the product and delivery?
We searched for days and still didn't get a clear answer.
As you confirmed the sale order by your program, forecasted qty will be decreased. Now on hand qty will be updated when you will process the delivery orders for that.

How to set custom price for products on the basis of quantity in shopify?

Greetings.
I am working on a eCommerce website based on shopify. And for product I want to set a custom price. For example, The standard price of product is $500 but price will vary if user increased the quantity i.e. On 5 - 10 it will cost $450, On 11 - 15 it will cost $400 and on 20+ quantity it will cost $300.
I have searched module for this and also found a module i.e. https://apps.shopify.com/quantity-breaks. But its working on the basis of "Percent" that I don't need. Because I want to place price manually on the basis of quantity.
So please help me out from this and provide your valuable thoughts on the same.
Thanks in advance.
The way this is generally done in Shopify is to create variants where the option values are the price breaks. You have to modify your theme so that when a Qty > price break is entered the product page selects the variant that corresponds to that price level.
Other than the coding portion of this the main issue becomes inventory management since Shopify treats each variant as a separate inventory item but if you use variants to manage price breaks they are not actually separate items.
I think the easiest way to do this would be with a Shopify App. There are many that have price breaks etc. and they are usually easier to set up than using variants as the price break amounts.

Calculate available inventory in OpenERP

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.

Shopify / Multiple tracking numbers per fulfillment

Using the Shopify API, I am able to successfully pull down orders from a shop, and also post fulfillments to that shop. However, when I update that fulfillment with a tracking number(s), I can't figure out how to add more than 1 tracking number per line-item. I can update a single tracking number at the order level, or just one at each individual line-item level. This can cause an issue when the line item needs to be broken up into different shipments.
For example, say a store sells just one type of hat, with sku 1234. An order comes in for 10 hats.
The order has one line item, with qty 10.
Since I only have boxes that can fit 4 hats each,
I need to send this order in 3 different boxes:
Box 1 - 4 hats, sku 1234, tracking number 700
Box 2 - 4 hats, sku 1234, tracking number 800
Box 3 - 2 hats, sku 1234, tracking number 900
In this scenario I am currently doing a PUT to update the tracking with the 3 tracking numbers comma separated into the single tracking-number element,
<fulfillment>
<tracking-number>700,800,900</tracking-number>
<id type="integer">255858046</id>
</fulfillment>
But it would be preferable to be able to distinguish them as 3 different tracking numbers:
<fulfillment>
<tracking-number>700</tracking-number>
<tracking-number>800</tracking-number>
<tracking-number>900</tracking-number>
<id type="integer">255858046</id>
</fulfillment>
Using the Shopify API, is there a way to get all 3 of these tracking numbers separately tacked onto the fulfillment at either the order level, or line-item level?
This is a known issue and actually messes with some 3rd party integrations we have. There is a patch being worked on ATM that should make it possible to do for both that integration as well as your situation.
All that to say, currently it is not possible. I'd suggest doing 3 separate fulfillments as a work around, but that only works if these items aren't all the same product variant.