-
-
Notifications
You must be signed in to change notification settings - Fork 744
[18.0][MIG] product_packaging_type_pallet: Migration to 18.0 #1802
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
Closed
trisdoan
wants to merge
21
commits into
OCA:18.0
from
trisdoan:18.0-mig-product_packaging_type_pallet
Closed
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
6f3f117
Add product_packaging_type_pallet
grindtildeath f97c610
[IMP] product_packaging_type_pallet: black, isort
grindtildeath 73369ae
[MIG] product_packaging_type_pallet : Migration to 13.0
grindtildeath 813814f
[IMP] product_packaging_type_pallet: black, isort
grindtildeath 9b5b851
[UPD] Update product_packaging_type_pallet.pot
oca-travis d0b43fc
[UPD] README.rst
OCA-git-bot 44d2938
[ADD] icon.png
OCA-git-bot f25c156
Added translation using Weblate (Spanish)
claudiagn d1be84a
Translated using Weblate (Spanish)
claudiagn 03c4e81
[MIG] product_packaging_type_pallet: Migration to 14.0
dzungtran89 19176dc
[UPD] Update product_packaging_type_pallet.pot
oca-travis e5f2a2c
product_packaging_type_pallet 14.0.1.0.1
OCA-git-bot 48da50d
[UPD] README.rst
OCA-git-bot 1ebccb2
Update translation files
weblate ae95bb5
Added translation using Weblate (Italian)
mymage b65a260
Translated using Weblate (Italian)
mymage 05d8fd7
Translated using Weblate (Italian)
mymage aa79546
Translated using Weblate (Spanish)
Ivorra78 081c0a5
[IMP] product_packaging_type_pallet: pre-commit auto fixes
trisdoan ea3f260
[MIG] product_packaging_type_pallet: Migration to 18.0
trisdoan b5c1dee
[DON'T MERGE] test-requirements.txt
trisdoan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,6 +62,15 @@ Contributors | |
Trobz | ||
|
||
- Dung Tran <[email protected]> | ||
- Tris Doan <[email protected]> | ||
|
||
Other credits | ||
------------- | ||
|
||
The migration from 14.0 to 18.0 of this module has been financially | ||
supported by: | ||
|
||
- Camptocamp | ||
|
||
Maintainers | ||
----------- | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
Trobz | ||
|
||
- Dung Tran \<<[email protected]>\> | ||
- Tris Doan \<<[email protected]>\> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
The migration from 14.0 to 18.0 of this module has been financially supported by: | ||
|
||
- Camptocamp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 5 additions & 8 deletions
13
product_packaging_type_pallet/views/product_packaging_type.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<odoo> | ||
<record id="view_product_packaging_type_form_inherit" model="ir.ui.view"> | ||
<field name="name">product.packaging.type.form.inherit</field> | ||
<field name="model">product.packaging.type</field> | ||
<field | ||
name="inherit_id" | ||
ref="product_packaging_type.view_product_packaging_type_form" | ||
/> | ||
<field name="name">stock.package.type.form.inherit</field> | ||
<field name="model">stock.package.type</field> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would rename the file |
||
<field name="inherit_id" ref="stock.stock_package_type_form" /> | ||
<field name="arch" type="xml"> | ||
<group name="codes" position="inside"> | ||
<field name="barcode" position="after"> | ||
<field name="is_pallet" /> | ||
</group> | ||
</field> | ||
</field> | ||
</record> | ||
</odoo> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Because of this, should we rename the module
product_packaging_type_pallet
tostock_package_type_pallet
?We also have already some
stock_package_type_*
modules (in v16) hosted in OCA/stock-logistics-warehouse. Should it be moved there?@jbaudoux @rousseldenis what do you think?
Uh oh!
There was an error while loading. Please reload this page.
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.
@sebalix This module is obsolete. It was a dependency of the reception screen but this is being replaced by shopfloor_reception. At least, that's the plan. And we need to make this configurable on the package type https://github.com/OCA/wms/blob/14.0/shopfloor_reception_packaging_dimension/services/reception.py#L26
so that you can configure on pallet that you only want the height without width/length