Daily updates from Odoo
Navigate
Branch
Monday, October 8, 2018
5 changes
Enhancements to existing features
Fleet vehicle brands and models are now loaded as standard data instead of demo-only content. This makes the fleet module more useful in regular installations because key vehicle reference information is available without enabling demo data.
Original PR description
Purpose ======= In the fleet module, Models & Brand are in demo data. It should be loaded as regular data. TaskID: 1881780
This update streamlines part of Odoo's messaging system by removing an unnecessary internal step when tracking changes. It helps keep activity updates more reliable and efficient without changing how users interact with the system.
Original PR description
Task: https://www.odoo.com/web#id=1832037&view_type=form&model=project.task&action=333&active_id=965&menu_id=4720
Resolved issues and error corrections
The web request handling now avoids a failure that could block custom pages when URLs contain special characters. This improves reliability for installations using custom controllers or links with non-standard encoded text.
Original PR description
SharedDataMiddleware expects the encoding in the URL be the same on the file system. See the issue mitsuhiko/werkzeug#379 For custom controllers where portions of the URL may contain components…
SharedDataMiddleware expects the encoding in the URL be the same on the file system. See the issue mitsuhiko/werkzeug#379 For custom controllers where portions of the URL may contain components otherwise encoded this assumption won't hold. Furthermore custom controllers won't even get the change to try themselves up to the task ;) We'll see the following error: ``` UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 38: ordinal not in range(128) File "openerp/service/wsgi_server.py", line 203, in application_unproxied result = handler(environ, start_response) File "openerp/http.py", line 1292, in __call__ return self.dispatch(environ, start_response) File "openerp/http.py", line 1266, in __call__ return self.app(environ, start_wrapped) File "werkzeug/wsgi.py", line 570, in __call__ cleaned_path = cleaned_path.encode(sys.getfilesystemencoding()) ``` This patch avoids the problem at the cost of a little overhead. Probably what should be done is to check the controllers routes for a match before wrapping the WSGI with SharedDataMiddleware. Related: #7862
Mexican electronic invoice PDFs now show key payment and tax details more neatly on the same line. This makes invoices easier to read and helps customers quickly find important SAT, barcode, usage, and payment information.
Original PR description
- Adjust fields: Usage, Payment Way, Payment Method to display in-line - Adjust barcode and SAT data to display in-line
Code cleanup and technical improvements
This change simplifies the internal logic used when starting a manufacturing work order. It removes unnecessary repeated handling in a process that is designed for one work order at a time, making the code easier to maintain without changing expected user behavior.
Original PR description
The method button_start begins by an ensure_one() but loop on self too. This commit removes to loop for cleaner code. Task : 1850640 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr