[IMP] web_sheet_full_width: black, isort, prettier

pull/1697/head
Mihai Fekete 2020-07-17 09:16:19 +03:00 committed by Lois Rilo
parent 81187628ae
commit 10fe98406d
6 changed files with 28 additions and 20 deletions

View File

@ -0,0 +1 @@
../../../../web_sheet_full_width

View File

@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

View File

@ -1 +0,0 @@
# -*- coding: utf-8 -*-

View File

@ -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,
}

View File

@ -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;
}
}

View File

@ -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>