forked from Techsystech/web
[IMP] web_sheet_full_width: black, isort, prettier
parent
d497403a7f
commit
1f09ea407b
|
@ -1 +0,0 @@
|
||||||
# -*- coding: utf-8 -*-
|
|
|
@ -1,18 +1,13 @@
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||||
{
|
{
|
||||||
"name": "Show sheets with full width",
|
"name": "Show sheets with full width",
|
||||||
"version": "11.0.1.0.1",
|
"version": "13.0.1.0.1",
|
||||||
"author": "Therp BV, Sudokeys, GRAP, Métal Sartigan, "
|
"author": "Therp BV, Sudokeys, GRAP, Métal Sartigan, "
|
||||||
"Odoo Community Association (OCA)",
|
"Odoo Community Association (OCA)",
|
||||||
"license": "AGPL-3",
|
"license": "AGPL-3",
|
||||||
"summary": "Use the whole available screen width when displaying sheets",
|
"summary": "Use the whole available screen width when displaying sheets",
|
||||||
"category": "Tools",
|
"category": "Tools",
|
||||||
"depends": [
|
"depends": ["web"],
|
||||||
'web',
|
"data": ["templates/assets.xml"],
|
||||||
],
|
|
||||||
"data": [
|
|
||||||
"templates/assets.xml",
|
|
||||||
],
|
|
||||||
"installable": True,
|
"installable": True,
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
.o_form_view{
|
.o_form_view {
|
||||||
.o_form_sheet_bg .o_form_sheet{
|
.o_form_sheet_bg .o_form_sheet {
|
||||||
margin: @padding-base-horizontal;
|
margin: @padding-base-horizontal;
|
||||||
max-width: none;
|
max-width: none;
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
.oe_chatter{
|
.oe_chatter {
|
||||||
max-width: none;
|
max-width: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,15 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<odoo>
|
<odoo>
|
||||||
<template id="assets_backend" name="web_sheet_full_width" inherit_id="web.assets_backend">
|
<template
|
||||||
<xpath expr="." position="inside">
|
id="assets_backend"
|
||||||
<link rel="stylesheet" href="/web_sheet_full_width/static/src/css/web_sheet_full_width.less" />
|
name="web_sheet_full_width"
|
||||||
</xpath>
|
inherit_id="web.assets_backend"
|
||||||
</template>
|
>
|
||||||
|
<xpath expr="." position="inside">
|
||||||
|
<link
|
||||||
|
rel="stylesheet"
|
||||||
|
href="/web_sheet_full_width/static/src/css/web_sheet_full_width.less"
|
||||||
|
/>
|
||||||
|
</xpath>
|
||||||
|
</template>
|
||||||
</odoo>
|
</odoo>
|
Loading…
Reference in New Issue