-
-
Notifications
You must be signed in to change notification settings - Fork 729
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
[Alpha][13.0] Add stock_cubiscan #826
Conversation
ffabef8
to
e7f58dc
Compare
677f940
to
5d54c06
Compare
5d54c06
to
d50dbd9
Compare
d50dbd9
to
0e9a7d7
Compare
stock_cubiscan/models/stock.py
Outdated
|
||
class ProductPackaging(models.Model): | ||
_inherit = "product.packaging" | ||
# FIXME: move this in product_packaging_type |
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.
@guewen still the case?
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.
yes, it should be in this module IMO OCA/product-attribute#536
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.
can you update the comment w/ a link to https://github.com/OCA/product-attribute/tree/13.0/product_packaging_type ?
ad41bef
to
5b3d046
Compare
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.
LGTM, just need to fix the dependencies to make Travis happy
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.
Functional review ok on my side
5b3d046
to
6a1daba
Compare
@p-tombez the dependency (OCA/web#1480) has been merged, I amended the last commit to trigger travis and runbot builds |
6a1daba
to
c411ae9
Compare
tests are 🔴 |
c411ae9
to
ba64ab5
Compare
* was using a link to product.template in the wizard instead of product.product * use product.packaging.type instead of the name of the packaging * update product_packaging_type from OCA * fix the numbe of digits of the volume
d840877
to
ed69537
Compare
@simahawk fixed |
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.
@guewen 2 little questions. LG anyway.
stock_cubiscan/models/stock.py
Outdated
|
||
class ProductPackaging(models.Model): | ||
_inherit = "product.packaging" | ||
# FIXME: move this in product_packaging_type |
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.
can you update the comment w/ a link to https://github.com/OCA/product-attribute/tree/13.0/product_packaging_type ?
The module product_packaging_type creates a packaging type "Default Type" with sequence 1. In the test, the "unit" is created with sequence 1 too, which makes the ordering of the packagings in the test "test_cubiscan_measures" undeterministic. Note: "unit" should not be a packaging type, although the wizard should allow to change the width, length and weight of the product too.
ed69537
to
f9a146a
Compare
@simahawk yes, you are right, I amended the migration commit with your 2 remarks |
/ocabot merge |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at de625ae. Thanks a lot for contributing to OCA. ❤️ |
Cubiscan are dimensioners for cubing and weighing in
warehouses. This module implements the communication with the dimensioners as
well as a screen to measure and weight packaging of the products.