Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions construction_full_width_sol/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

23 changes: 23 additions & 0 deletions construction_full_width_sol/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
'name': 'Construction: Full Width Sales Order Lines',
'version': '1.0',
'category': 'Hidden/Tools',
'depends': [
'base_industry_data',
'construction',
'web_studio',
],
'data': [
'data/ir_ui_view.xml',
],
'assets': {
'web.assets_backend': [
'construction_full_width_sol/static/src/scss/sale_order.scss',
],
},
'cloc_exclude': [
'static/src/scss/sale_order.scss',
],
'license': 'OEEL-1',
'author': 'Odoo S.A.',
}
17 changes: 17 additions & 0 deletions construction_full_width_sol/data/ir_ui_view.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version='1.0' encoding='UTF-8'?>
<odoo>
<record id="sale_order_form_view" model="ir.ui.view">
<field name="name">Construction form view for Sale Order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="mode">extension</field>
<field name="model">sale.order</field>
<field name="priority">170</field>
<field name="type">form</field>
<field name="active" eval="True"/>
<field name="arch" type="xml">
<xpath expr="//form" position="attributes">
<attribute name="class" add="o_so_form" separator=" "/>
</xpath>
</field>
</record>
</odoo>
4 changes: 4 additions & 0 deletions construction_full_width_sol/static/description/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<h2><strong>Construction Full Width SOL</strong></h2>
<p>
Scales the sale order lines to full width to maximize visibility of data in sale orders.
</p>
5 changes: 5 additions & 0 deletions construction_full_width_sol/static/src/scss/sale_order.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.o_so_form {
.o_form_sheet {padding-bottom: 0 !important;}
.o_form_sheet_bg {max-width: 100% !important;}
.o_form_renderer {display: block !important; .o-mail-ChatterContainer {width:100% !important;}}
}