官术网_书友最值得收藏!

A word about Odoo product versions

At the time of writing, Odoo's latest stable version is version 11, marked on GitHub as branch 11.0. This is the version we will work with throughout the book.

It's important to note that Odoo databases are incompatible between Odoo major versions. This means that if you run an Odoo 11 server against a database created for a previous major version of Odoo, it won't work. Non-trivial migration work is needed before a database can be used with a later version of the product.

The same is true for addon modules: as a general rule, an addon module developed for an Odoo major version will not work with other versions. When downloading a community module from the web, make sure it targets the Odoo version you are using.

On the other hand, major releases (10.0, 11.0) are expected to receive frequent updates, but these should be mostly bug fixes. They are assured to be "API stable," meaning model data structures and view element identifiers will remain stable. This is important because it means there will be no risk of custom modules breaking due to incompatible changes in the upstream core modules.

Be warned that the version in the master branch will result in the next major stable version, but until then, it's not "API stable" and you should not use it to build custom modules. Doing so is like moving on quicksand: you can't be sure when some changes will be introduced that will break your custom module.

主站蜘蛛池模板: 内乡县| 高陵县| 长海县| 兴宁市| 石门县| 若尔盖县| 南昌市| 三亚市| 甘南县| 景宁| 南丰县| 隆昌县| 道真| 榆社县| 南通市| 揭阳市| 龙川县| 常宁市| 焦作市| 怀远县| 内乡县| 古田县| 西林县| 昌江| 博客| 三原县| 邵阳县| 达日县| 镇宁| 沅陵县| 陇川县| 云林县| 巴林右旗| 兴国县| 嘉义市| 景谷| 卢龙县| 兴城市| 普兰店市| 呼伦贝尔市| 澄江县|