0
我有一個名爲quality_and_inspection的模塊。它有大量的字段和樹視圖,所以我決定將它的寬度增加到1100px。如何限制自定義樣式僅適用於特定模塊的表單視圖
我加入我的自定義樣式以下CSS類:
.o_form_view .o_form_sheet_bg .o_form_sheet {
min-width: 1100px;
max-width: 1100px;
}
,並通過下面的代碼調用自定義的CSS文件:
<template id="assets_backend" name="custom assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/Invoice_Customization_Naseem/static/src/css/styles.css"/>
</xpath>
</template>
的問題是,它的應用上述樣式整個ERP包括系統中所有模塊的表單和樹視圖。請建議一些解決方案,只有在我的quality_and_inspection模塊窗體視圖中更改樣式時纔會生成結果。
謝謝!
謝謝兄弟... –
歡迎你的朋友 – Cherif