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

Introducing the Library project

To explain the developer tools, we will use a simple project: we will create a very simple Library app. Our Library aims to keep a record of our Books and their Authors. It should keep a list of the Authors and the Books authored by each Author.

Our Library app needs two Models: Authors and Books. These two Models have a many-to-many relationship between them: each Author can have many Books, and each Book can have many Authors.

Odoo already provides the built-in Partner Model, with the res.partner technical name, to represent people, organizations, and addresses. For example, customers, suppliers, contact people, and application users are all Partners.

We will make our life simpler if we reuse it for the Authors of our Library app. We will be adding an Is Book Author? flag to this Model, and a menu item showing only the Author Partners.

The book we will create has a completely new Model, the corresponding form, and list views, and a menu item to access them.

主站蜘蛛池模板: 镶黄旗| 孟村| 大悟县| 秦安县| 安塞县| 桐梓县| 宿州市| 泰州市| 麻江县| 泰宁县| 靖远县| 东乡族自治县| 沅陵县| 栖霞市| 长治市| 邵阳县| 科尔| 新野县| 于田县| 巫山县| 尼玛县| 杭州市| 嵩明县| 西昌市| 乳源| 兴山县| 丰都县| 灵石县| 贵德县| 资溪县| 余庆县| 红原县| 图木舒克市| 马山县| 辽阳县| 兴隆县| 平原县| 乐昌市| 洛宁县| 安达市| 辽中县|