mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
release chart
This commit is contained in:
11
app_company_chart_hierarchy/models/res_company.py
Normal file
11
app_company_chart_hierarchy/models/res_company.py
Normal file
@@ -0,0 +1,11 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from odoo import api, fields, models, tools, _
|
||||
|
||||
|
||||
class Company(models.Model):
|
||||
_inherit = "res.company"
|
||||
|
||||
# 注意,res.partner 有 parent_id 和 child_ids
|
||||
_parent_name = "parent_id"
|
||||
|
||||
Reference in New Issue
Block a user