hiramvillarreal / iotpos

IotPOS, an open source Point of Sale software.
GNU General Public License v2.0
145 stars 77 forks source link

Raw product #4

Open dov29 opened 7 years ago

dov29 commented 7 years ago

Hi,

Is there any workaround to do that ? e.g : For stock, we need to be able to order 1 glass of wine (125ml or 1/6) from a bottle (750ml) and get either 625ml or 5 units remaining in the bottle from the stock.

Thanks,

hiramvillarreal commented 7 years ago

If you mean to sell fraction of units (other than piece) create more units like liters kilograms etc. When you select a unit of the item make double clic in the line below and a window asking for decimal will open.

You can use this 0.5*code to get 0.5 of that product unit.

Any other but unit Pc or piece can be fractionated.

Enviado desde mi Samsung Mobile de Telcel

-------- Mensaje original -------- De: dov29 notifications@github.com Fecha: 06/12/2016 9:09 PM (GMT-07:00) A: hiramvillarreal/iotpos iotpos@noreply.github.com Asunto: [hiramvillarreal/iotpos] Raw product (#4)

Hi,

Is there any workaround to do that ? e.g : For stock, we need to be able to order 1 glass of wine (125ml or 1/6) from a bottle (750ml) and get either 625ml or 5 units remaining in the bottle from the stock.

Thanks,

- You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/hiramvillarreal/iotpos/issues/4, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKFJWJ693AD8VMpj5DnUEr8BHBaiQhK3ks5rFjGUgaJpZM4LGLaZ.

dov29 commented 7 years ago

Thanks your quick answer. I got your point, I can indeed input decimal when order an item. But my need is for a bar where we cannot trust the staff to do that well.

What would be great is to create this bottle as raw product and this glass as a sale item linked to this product. When we order a glass, it has to fraction the bottle.

dov29 commented 7 years ago

@hiramvillarreal a work around could be

hiramvillarreal commented 7 years ago

For a strange reason the code on lemonPos (from where IotPos was deririvated) the author doesn’t allow to add Raw products to packages, here is his explanation found on an old blog for lemonPOS, I will like to change that as you said will be great to add raw products to packages’, could you help me to understand the reason he did that way?

Here is some explanations from the author of lemonPOs about this topic:

It is due to the fact that you marked (checked) the product as "Raw Product". uncheck the "It's a raw product" on the product properties.

Raw Products are products that are not available as sellables alone. This are "raw materials" for creating other products called Special Orders. Special Orders are orders of products that are going to be "manufactured" or "assembled" or "cooked", and are produced using raw products.

Check these links too:

https://sourceforge.net/p/lemonpos/mailman/message/27435360/

dov29 commented 7 years ago

It would be great to do that way: To use raw products that indeed are going to be "manufactured" or "assembled" or "cooked" to create "Special Orders" as a cocktail, a meal, a glass of wine... But there is nowhere to create "Special Orders"!

Without this "special orders" function, a workaround would be to be able to add raw products to a croup/package (that is possible with the hack I explained above) but the sale cost of a group is calculated automatically that doesn't answer the need.

Hope I am clear enough... ;)

dov29 commented 7 years ago

Any feedback @hiramvillarreal ?

hiramvillarreal commented 7 years ago

Heyt buddy, been I little bussy these days, this weekend I will give you some ideas doing a test with your needs.

dov29 commented 7 years ago

Thanks buddy !