Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3778 Lượt xem
I Have set CSS in my module it's working fine at localhost. When I upload that module at server it's not working.

Any suggestion My code is below of CSS.

<field name="sold_price" style="width:8% ; text-align:center;"/>
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

Can you try the below code

<field name="sold_price" style="width:8% !important;text-align:center !important;"/>

Regards

Ảnh đại diện
Huỷ bỏ
Tác giả

I have many custom module installed at sale order. each time new filed added at sale.order.line and all CSS has disturbed now I want to do CSS for sale.order.line column instead of each field.

I want to set standard width of each column if next time one more custom filed add CSS will not disturbed and CSS will automatically applied on that field too. will you help me for that Please.

Tác giả

I try this <field name="sold_price" style="width:8% !important;text-align:center !important;"/> it's working fine at localhost but not working at server i am getting issue at server.

Hi,

You can define a class for each field that you added on the sale order line and define css for that class which specifies the width.

Bài viết liên quan Trả lời Lượt xem Hoạt động
Odoo server Error Đã xử lý
1
thg 6 19
10986
0
thg 2 19
2588
5
thg 1 19
8286
0
thg 4 23
1711
1
thg 8 20
3822