-
-
Notifications
You must be signed in to change notification settings - Fork 729
[18.0][MIG] stock move forced lot #2156
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
base: 18.0
Are you sure you want to change the base?
Conversation
Currently translated at 100.0% (6 of 6 strings) Translation: stock-logistics-workflow-14.0/stock-logistics-workflow-14.0-stock_move_forced_lot Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-14-0/stock-logistics-workflow-14-0-stock_move_forced_lot/it/
Currently translated at 100.0% (6 of 6 strings) Translation: stock-logistics-workflow-14.0/stock-logistics-workflow-14.0-stock_move_forced_lot Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-14-0/stock-logistics-workflow-14-0-stock_move_forced_lot/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: stock-logistics-workflow-17.0/stock-logistics-workflow-17.0-stock_move_forced_lot Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-17-0/stock-logistics-workflow-17-0-stock_move_forced_lot/
1dda8cb to
a79d7de
Compare
eduezerouali-tecnativa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to adjust few thing, everything else looks good to me.
| cls.product = cls.env["product.product"].create( | ||
| { | ||
| "name": "Test Product 1", | ||
| "type": "coonsu", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "type": "coonsu", | |
| "type": "consu", | |
| "is_storable": True, |
| # Copyright 2022 ForgeFlow S.L. | ||
| # License LGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) | ||
|
|
||
| from odoo.tests.common import TransactionCase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| from odoo.tests.common import TransactionCase | |
| from odoo import Command | |
| from odoo.addons.base.tests.common import BaseCommon |
| from odoo.tests.common import TransactionCase | ||
|
|
||
|
|
||
| class TestStockMoveForcedLot(TransactionCase): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| class TestStockMoveForcedLot(TransactionCase): | |
| class TestStockMoveForcedLot(BaseCommon): |
| "name": "Test Product 1", | ||
| "type": "coonsu", | ||
| "tracking": "serial", | ||
| "route_ids": [(6, 0, [route_auto.id])], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "route_ids": [(6, 0, [route_auto.id])], | |
| "route_ids": [Command.create(route_auto.id)], |
No description provided.