a736d3278bff80275f72dd8d2fa644895436dab9
Add in feature to allow auto-printing of package label when "Put in Pack" button is pushed. Note there are 2 choices for package labels and these choices are hardcoded in as selection options to avoid complexity of finding all relevant reports (i.e. custom report labels won't be auto-printable) and exclude the irrelevant reports. Unfortunately since there are different flows for "Put in Pack", a separate "_post_put_in_pack_hook" method is needed to manually be called in some of these cases and additional future use cases will also require it to be called if this feature is desired in that case. Additionally clean up _put_in_pack() since it was only called by methods with ensure_one(), but was semi-designed to handle multiple pickings (but only returned 1 package in the end, which didn't make sense + had other errors in it). Part of task: 3046178 - At package creation (put in pack) Part-of: odoo/odoo#126791
…
…
…
…
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%