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;"/>
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
Hi,
Can you try the below code
<field name="sold_price" style="width:8% !important;text-align:center !important;"/>
Regards
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.
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.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
Odoo server Error
Solved
|
|
1
Jun 19
|
9592 | |
|
0
Feb 19
|
1911 | ||
|
5
Jan 19
|
7456 | ||
|
0
Apr 23
|
1133 | ||
|
1
Aug 20
|
3006 |