Code Monkey home page Code Monkey logo

Comments (2)

anajuaristi avatar anajuaristi commented on August 15, 2024

It's not an error, since the lot-number/lot-name is defined by product and it can be changed manually when you want.
System is creating a lot number for product A and lot number for product C. It's not posible to be the same lot id since the relationship between lot and product is many2one. It's creating 2 ids with the same name, related each one to a different product
If you take a look to internal lot_id, for sure, they are 2 different Ids. You can set the name you want to each one.
I close the bug since from my point of view, it's not a bug but expected behavior.

from odoomrp-wip.

AntMoreno avatar AntMoreno commented on August 15, 2024

Hello Ana, thank you for your prompt reply.

I think maybe I didn't explain very well, maybe due to my poor english ;)

Precisely I don't expect the system to create the same lot number, I expect it (and supposed it was going to) create two different lot_ids, one for each product. Yes, with the same name, thats ok, but they should be two ids (records) in the stock_production_lot model. Actually the addon is creating just one lot id, not two as you say, in stock_production_lot, and two quants in stock_quants. So if you think, as I do, that there should be created 2 different lot ids for Product A and Product C, then there's obviously a bug.

A way to understand the problem that produces the current behaviour is to make a manufacturing order as described, and then once produced and with lot created (say lot AAAA) try to make a picking of product C with lot AAAA. In the transfer details form you won't be able to select the lot AAAA because that lot was only created for Product A, and the drop-down lot list can't show it since it doesn't exists for Product C.

from odoomrp-wip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.