mirror of https://github.com/OCA/web.git
[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).
|
||||
{
|
||||
"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, "
|
||||
"Odoo Community Association (OCA)",
|
||||
"Odoo Community Association (OCA)",
|
||||
"license": "AGPL-3",
|
||||
"summary": "Use the whole available screen width when displaying sheets",
|
||||
"category": "Tools",
|
||||
"depends": [
|
||||
'web',
|
||||
],
|
||||
"data": [
|
||||
"templates/assets.xml",
|
||||
],
|
||||
"depends": ["web"],
|
||||
"data": ["templates/assets.xml"],
|
||||
"installable": True,
|
||||
}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
.o_form_view{
|
||||
.o_form_sheet_bg .o_form_sheet{
|
||||
.o_form_view {
|
||||
.o_form_sheet_bg .o_form_sheet {
|
||||
margin: @padding-base-horizontal;
|
||||
max-width: none;
|
||||
width: auto;
|
||||
}
|
||||
.oe_chatter{
|
||||
.oe_chatter {
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,15 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
<template id="assets_backend" name="web_sheet_full_width" inherit_id="web.assets_backend">
|
||||
<xpath expr="." position="inside">
|
||||
<link rel="stylesheet" href="/web_sheet_full_width/static/src/css/web_sheet_full_width.less" />
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
<template
|
||||
id="assets_backend"
|
||||
name="web_sheet_full_width"
|
||||
inherit_id="web.assets_backend"
|
||||
>
|
||||
<xpath expr="." position="inside">
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="/web_sheet_full_width/static/src/css/web_sheet_full_width.less"
|
||||
/>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
|
|
Loading…
Reference in New Issue