-
-
Notifications
You must be signed in to change notification settings - Fork 364
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
[16.0][ADD] delivery_package_sscc #902
Conversation
693c003
to
3bc1a8f
Compare
This module allows to generate SSCC codes for packages automatically.
3bc1a8f
to
e18b372
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.
Nice addition, but should not this module lands in https://github.com/OCA/stock-logistics-tracking or https://github.com/OCA/stock-logistics-barcode ?
It's not linked directly to delivery carriers IMO, so the module should be renamed stock_quant_package_sscc
for instance.
Co-authored-by: Sébastien Alix <sebalix@users.noreply.github.com>
@sebalix You're probably right, I was confused as to where to place it myself. It seems to be linked to delivery in my mind because it's a tracking code for the packages that get sent out. Which of the two would you suggest to put it? |
I would go for the tracking one, but let ask others opinions |
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.
Thanks for the contribution. Looks good.
Move to tracking and rename like sebalix suggested
This module allows to generate SSCC codes for packages automatically.
Eg
stock.quant.package.name
changes from PACK000001..000002 etc to an actual valid SSCC code, taken from a range that can be configured.This also makes Odoo's stock.quant.package.valid_sscc flag True for any newly created package.