Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] mrp_stock_info: cleared code #106

Merged
merged 1 commit into from
Nov 16, 2015
Merged

Conversation

oihane
Copy link
Contributor

@oihane oihane commented Nov 16, 2015

with this module you can now see which lots have already been selected in products to consume

def _compute_selected_lots(self):
for record in self:
record.selected_lots = ', '.join(
record.mapped('reserved_quant_ids.lot_id.name'))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hay otro campo que es el reserved_lot_id que es previo a reservar los quants.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pero ese campo es el que se "obliga" a coger, no el que se ha cogido

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claro, pero dependiendo la fase, puede ser necesario también verlo

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lo hace visible el modulo mrp_lot_reserve, ehm... igual debería pasar esto a aquel modulo?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pues igual sí...

@oihane oihane changed the title [IMP] mrp_stock_info: added reserved lots to product to consume view [IMP] mrp_stock_info: cleared code Nov 16, 2015
oihane added a commit that referenced this pull request Nov 16, 2015
[IMP] mrp_stock_info: cleared code
@oihane oihane merged commit a1a147f into odoomrp:8.0 Nov 16, 2015
@oihane oihane deleted the 8.0-stock_info branch November 16, 2015 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants