Odoo 周刊 #002
Mar 30, 2020
这是 Odoo 周刊的第 002 期，如无意外，每周一更新。为了拥有良好的阅读体验，请配合 PC 浏览器食用。
One2many字段添加默认值的方法，同时还能学习 Odoo 的
How To Load Default Values For One2many Fields in Odoo
How to load default values for one2many fields in odoo. How to load default values for fields in odoo using default get function. Use of default get function...
一篇关于迁移到 Odoo 13 的原因和方法的文章，还提到了一些需要注意的关键点。
Odoo 13 Migration - Why And How To Migrate To Odoo 13
Odoo 13 was released last month with plenty of new features & improvements to entice everybody to think about migrating to Odoo 13. If you are new and thinking about implementing Odoo - one of the most versatile and yet sturdy open-source resource management software available in the market - then going with the most recent and latest version is a logical sequitur.
Odoo 创始人 @Fabien 在 COVID-19 疫情期间写的一封信。
@Odoo To help associations that are on the frontline of the the fight against COVID-19, we’ve decided to offer our services for free to 50 associations that are in need of a management system.
Letter from Fabien
A note from Odoo's Founder on the offer to associations during the Covid-19 crisis
Widget Open on new Tab
可以在 TreeView 中添加一个小眼睛用来打开关联的单据，在这里可以查看演示效果。这个模块最开始是提交在 11.0 分支上的，后来被升级到 12.0 版本，然后 11.0 的目前依旧在 PR 状态，而 12.0 版本的在 Feb 20, 2020 的时候就被合并了，11.0 还真是没人爱啊🌚
This addon creates a new widget that can be used to open on a new tab a record from a tree.
Web View Calendar List
添加了新的视图类型，允许日历以列表形式展现。顺便一提，这个模块依旧是往 11.0 分支上提交的，也依旧是 PR 状态，我想你们懂我意思吧，12.0 想用的话，等升级或者干脆自己动手吧🌝
This module adds a new view type that can be used to show calendars as lists.
Support or discourage README.md files for module's description
在这个问题里我对 @mart-e 的说法表示赞同，我相信对大部分人来说，用 Markdown 肯定比 reStructuredText 要容易得多。
Support or discourage README.md files for module's description · Issue #48151 · odoo/odoo
Dismiss GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. Sign up luisg123v changed the title Support or disallow README.md files for modules Support or discourage README.md files for module's description Mar 22, 2020 You can't perform that action at this time.
Changing the currency in a sales order does not update the currency in the order lines
 Changing the currency in a sales order does not update the currency in the order lines · Issue #48156 · odoo/odoo
Dismiss GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. Sign up dbo-odoo added a commit to odoo-dev/odoo that referenced this issue Mar 23, 2020 Ensure that the currency of a line always matches the currency of its order; indeed, with the previous depends, changing the currency of an order (through its pricelist) would not trigger the recompute of the SO line's currency.
[FIX] sale: correct dependency for SO line currency by dbo-odoo · Pull Request #48164 · odoo/odoo
Ensure that the currency of a line always matches the currency of its order; indeed, with the previous depends, changing the currency of an order (through its pricelist) would not trigger the recompute of the SO line's currency. Was initially fixed in 2dfc0ea then reverted at 34e6795 for breaking a test.
问题是关于怎么根据用户组去隐藏 TreeView 上的按钮的，当然就是改 JS 啦！
How to hide a custom Button in tree view
I have a custom button "View All" in my List view, i want it to be visible only to a user who have a certain group access how can i achieve it?. I tried adding groups attribute to the button but i...
Can I show context sensitive help ONLY when in edit mode and ONLY on the Customer Form View?
I'd like to display some help at the top of the Customer form view, to help users understand how to fill out the form. I don't want this shown when the form is just being VIEWED. I don't want this shown when users are viewing VENDOR records (just CUSTOMER records)
关于 Exception: CPU time limit exceeded 这个错误的提问。
CPU time limit exceeded
Hi, i have a problem in posting expense in the live database, and i got this problem: Exception: CPU time limit exceeded When i do testing in the demo database, and lower the time_limit_cpu. and i didnt get this error. Why is that?
推荐一整个仓库里的全部模块，可以在 Odoo 中和第三方的存储服务进行集成，在 Odoo 里管理和使用这些数据。
Storage addons for Odoo.
Storage addons for Odoo OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.