iT邦幫忙

2021 iThome 鐵人賽

DAY 18
0
IT管理

Odoo模組開發實務分享系列 第 18

Day 18 Odoo畫面新增欄位顯示

  • 分享至 

  • twitterImage
  •  

不囉嗦! 直接上圖
https://ithelp.ithome.com.tw/upload/images/20211003/2014077859B4oo6USg.png

基本上要先在odoo原生的Xml找到你要放置新欄位的位置, 然後使用xpath語法
支援的語法有:before、after、replace、inside、attributes

這之中比較特別的會是attributes語法, 這可以修改原生Odoo欄位原本的屬性
例如:隱藏或是唯讀或者Domain


上一篇
Day 17 如何新增Odoo現有資料表欄位?
下一篇
Day 19 Onchange v.s. readonly
系列文
Odoo模組開發實務分享30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言