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

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.

主站蜘蛛池模板: 屏东县| 上杭县| 华池县| 郓城县| 故城县| 泰和县| 成都市| 都安| 休宁县| 姚安县| 武威市| 克什克腾旗| 东乡| 灯塔市| 桃源县| 钦州市| 乌鲁木齐县| 蚌埠市| 满洲里市| 金门县| 兴业县| 丽江市| 桑植县| 磐安县| 桐庐县| 全南县| 左权县| 星座| 江安县| 卫辉市| 班戈县| 县级市| 三亚市| 新郑市| 平乡县| 南雄市| 洮南市| 桃园市| 沁源县| 江北区| 平陆县|