Odoo 周刊 #016
本期 Tips and Tricks 是关于 Odoo 的导出功能。
Tips and Tricks: Export in Odoo
In this edition of Tips and Tricks, learn how easy it is to export with Odoo! Try Odoo online at https://www.odoo.com
Odoo 在线直播的网络研讨会，这个视频是关于 HR 模块的使用的，分享者介绍和演示了 HR 模块的各个主要功能特性。
Odoo HR: The right tools for integrated Employee Management
Join us in this webinar to learn how you can use the Odoo HR apps to optimize the way you manage your employees. Pauline will show you how to use the key fea...
一篇“古老”的文章，但是非常有用，是一些和 Odoo ORM 性能优化有关的建议。
Odoo ORM Performance Tips
One of the most valuable talks from Odoo Experience 2017 I've watched to date has been the ORM Performance: Optimizations & Best Practices talk by Raphael Collet. I've learnt quite a few new things from this talk and so I highly recommend watching it or at least skimming through the slides (if you already feel quite knowledgeable regarding Odoo ORM).
这个视频从继承 POS 资源文件到扩展已有的 Widget 添加新功能等，一步步地实现对现有的 POS Widget 进行扩展。
How to Override a Widget in Odoo 13 POS?
This video discusses on overriding existing widgets inside POS by a step by step process of inheriting point of sale assets, extending an existing widget and...
resource,calendar,hr_holidays: Improve the performances
针对 Odoo 13 的日历和休假模块的优化，执行时间减少了接近 10 倍。
[MERGE] resource,calendar,hr_holidays: Improve the performances by tivisse · Pull Request #51542 · odoo/odoo
TL;DR Improve performances with nearly a factor of 10. Use case, call action_validate on hr.leave for 100 employees 1987 requests -> 144 requests 1300 ms -> 220 ms Purpose The first purpose of this commit is to add a test ensuring the number of request while creating a company leave for 100 employees, if 15 of them already have a leave during that period.
website_sale: Improve shop item search performances
优化了电商模块搜索商品的速度，Odoo 11 ~ 13 都会实装该 PR，速度从大约 7s 变成只需大约 2s 即可得到搜索结果。
[FIX] website_sale: Improve shop item search performances by lse-odoo · Pull Request #54011 · odoo/odoo
The idea is to avoid useless SQL request as the searching process is heavy (have to look the word in several field and can be in translation tables). As we at some point fetch all the searched product we do it at the beginning and use its information to gain performance on other queries.
This module was written to reset the sequences on the specified times, because by default they are reset yearly. Table of contents Access sequences and configurate the model to use. When sequence is computed, date_range will follow the specified rules Bugs are tracked on GitHub Issues.