码迷,mamicode.com
首页 > 其他好文 > 详细

【odoo12】res_config_setting的view视图

时间:2020-09-11 14:22:32      阅读:33      评论:0      收藏:0      [点我收藏+]

标签:company   resource   ext   info   img   compute   mesh   for   building   

技术图片

 

 

 1 <div class="row mt16 o_settings_container">
 2                         <div class="col-12 col-lg-6 o_setting_box">
 3                             <div class="o_setting_right_pane">
 4                                 <label for="resource_calendar_id"/>
 5                                 <span class="fa fa-lg fa-building-o" title="Values set here are company-specific." role="img" aria-label="Values set here are company-specific." groups="base.group_multi_company"/>
 6                                 <div class="row">
 7                                     <div class="text-muted col-lg-8">
 8                                         Set default calendar used to compute time allocation for leaves, timesheets, ...
 9                                     </div>
10                                 </div>
11                                 <div class="content-group">
12                                     <div class="mt16">
13                                         <field name="resource_calendar_id"
14                                             class="o_light_label"
15                                             domain="[(‘company_id‘, ‘=‘, company_id)]"
16                                             context="{‘default_company_id‘: company_id}"/>
17                                     </div>
18                                 </div>
19                             </div>
20                         </div>
21 
22                         <div class="col-12 col-lg-6 o_setting_box" title="Show organizational chart on employee form">
23                             <div class="o_setting_left_pane">
24                                 <field name="module_hr_org_chart"/>
25                             </div>
26                             <div class="o_setting_right_pane">
27                                 <label for="module_hr_org_chart"/>
28                                 <div class="text-muted">
29                                     Show organizational chart on employee form.
30                                 </div>
31                             </div>
32                         </div>
33                     </div>

 

【odoo12】res_config_setting的view视图

标签:company   resource   ext   info   img   compute   mesh   for   building   

原文地址:https://www.cnblogs.com/xushuotec/p/13586541.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!