Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: Manufacturing advice needed - materials of measured units being consumed partially
by
MoaHub, Graeme Gellatly
Hi,
Yes. It is a well known problem. The 2D PaperCutting Problem, a lot less complex than the 3D one, aka Travelling Salesperson.
As for where it goes. I don't know. As I say, I solved differently. Using Unbuild style you start from the raw material so it was never an issue. But to start you can just use a rule of thumb.
On Thu, Jan 27, 2022 at 9:37 PM Radovan Skolnik <radovan@skolnik.info> wrote:
Graeme,
this is what I was looking for and sort of confirms my suspicion that without
special handling Odoo would sum contents of all lots of same kind into one
(which perfectly makes sense when dealing with units, weights, volumes and
such that can be added/joined).
Question though if I may: where should that pseudo-code fit in? Is that
supposed to be extension somewhere in MRP BoM process where appropriate
materials are being looked for when manufacturing the final product? Dumb
question maybe but haven't had much experience with MRP yet.
Your algorithm actually reminds me very much of a thing I was doing just not a
year ago as a favour to a friend who builds pergolas using alluminium joists
of certain fixed size. From the design you receive required cutting sizes and
you need to optimize how to cut the source material with the least waste.
But that was written in Excel and Visual Basic :-) However it is basically the
same as what you have outlined.
Best regards
Radovan
P.S.: BTW, have you had a chance to have a look at my comment regarding
variant_seller_ids for product.[template|product]? Is till consider that thing
broken and not following the desired design...
On štvrtok 27. januára 2022 9:17:06 CET Graeme Gellatly wrote:
Reference
-
Manufacturing advice needed - materials of measured units being consumed partially
byData Dance s.r.o., Radovan Skolnik-
Re: Manufacturing advice needed - materials of measured units being consumed partially
byMoaHub, Graeme Gellatly -
Re: Manufacturing advice needed - materials of measured units being consumed partially
byData Dance s.r.o., Radovan Skolnik -
Re: Manufacturing advice needed - materials of measured units being consumed partially
byMoaHub, Graeme Gellatly -
Re: Manufacturing advice needed - materials of measured units being consumed partially
byData Dance s.r.o., Radovan Skolnik -
Re: Manufacturing advice needed - materials of measured units being consumed partially
byponkhi403 -
Re: Manufacturing advice needed - materials of measured units being consumed partially
byLuNel, Inc, James Dominy -
Re: Manufacturing advice needed - materials of measured units being consumed partially
byLandis Arnold -
Re: Manufacturing advice needed - materials of measured units being consumed partially
byData Dance s.r.o., Radovan Skolnik -
Re: Manufacturing advice needed - materials of measured units being consumed partially
byClosingAp Open Source Integrators Europe, LDA, Daniel Reis
-