forked from OCA/web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pre-commit update: prettier xml indent
- Loading branch information
Showing
15 changed files
with
36 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ exclude: | | |
# Repos using Sphinx to generate docs don't need prettying | ||
^docs/_templates/.*\.html$| | ||
# You don't usually want a bot to modify your legal texts | ||
/(LICENSE|COPYING) | ||
(LICENSE.*|COPYING.*) | ||
default_language_version: | ||
python: python3 | ||
repos: | ||
|
@@ -30,7 +30,7 @@ repos: | |
name: prettier xml plugin | ||
additional_dependencies: | ||
- "[email protected]" | ||
- "@prettier/plugin-xml@0.5.0" | ||
- "@prettier/plugin-xml@0.7.2" | ||
files: \.xml$ | ||
- repo: https://github.com/pre-commit/mirrors-eslint | ||
rev: v6.8.0 | ||
|
@@ -85,10 +85,6 @@ repos: | |
rev: v1.26.2 | ||
hooks: | ||
- id: pyupgrade | ||
- repo: https://github.com/asottile/seed-isort-config | ||
rev: v1.9.4 | ||
hooks: | ||
- id: seed-isort-config | ||
- repo: https://github.com/pre-commit/mirrors-isort | ||
rev: v4.3.21 | ||
hooks: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ printWidth: 88 | |
proseWrap: always | ||
semi: true | ||
trailingComma: "es5" | ||
xmlWhitespaceSensitivity: "ignore" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,23 +2,19 @@ | |
<!-- Copyright 2015 Francesco OpenCode Apruzzese <[email protected]> | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> | ||
<odoo noupdate="1"> | ||
|
||
<!-- Add ribbon name default configuration parameter --> | ||
<record id="default_ribbon_name" model="ir.config_parameter"> | ||
<field name="key">ribbon.name</field> | ||
<field name="value"><![CDATA[TEST<br/>({db_name})]]></field> | ||
</record> | ||
|
||
<!-- Add ribbon color configuration parameter --> | ||
<record id="set_ribbon_color" model="ir.config_parameter"> | ||
<field name="key">ribbon.color</field> | ||
<field name="value">#f0f0f0</field> | ||
</record> | ||
|
||
<!-- Add ribbon background color configuration parameter --> | ||
<record id="set_ribbon_background_color" model="ir.config_parameter"> | ||
<field name="key">ribbon.background.color</field> | ||
<field name="value">rgba(255,0,0,.6)</field> | ||
</record> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,19 +3,21 @@ | |
Copyright 2016 Antonio Espinosa <[email protected]> | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> | ||
<odoo> | ||
|
||
<!-- Load css for ribbons --> | ||
<template id="assets_backend" name="ribbon_test assets" inherit_id="web.assets_backend"> | ||
<xpath expr="." position="inside"> | ||
<link | ||
<!-- Load css for ribbons --> | ||
<template | ||
id="assets_backend" | ||
name="ribbon_test assets" | ||
inherit_id="web.assets_backend" | ||
> | ||
<xpath expr="." position="inside"> | ||
<link | ||
rel="stylesheet" | ||
href="/web_environment_ribbon/static/src/css/ribbon.css" | ||
/> | ||
<script | ||
<script | ||
type="text/javascript" | ||
src="/web_environment_ribbon/static/src/js/ribbon.js" | ||
/> | ||
</xpath> | ||
</template> | ||
|
||
</xpath> | ||
</template> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
Copyright 2019 Alexandre Díaz <[email protected]> | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> | ||
<odoo> | ||
|
||
<template | ||
id="assets_backend" | ||
name="web_tree_many2one_clickable assets" | ||
|
@@ -20,5 +19,4 @@ | |
/> | ||
</xpath> | ||
</template> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,18 +2,16 @@ | |
<!-- Copyright 2016 Flavio Corpa <[email protected]> | ||
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). --> | ||
<odoo> | ||
|
||
<template id="assets_backend" inherit_id="web.assets_backend"> | ||
<xpath expr="."> | ||
<link | ||
<template id="assets_backend" inherit_id="web.assets_backend"> | ||
<xpath expr="."> | ||
<link | ||
rel="stylesheet" | ||
href="/web_widget_image_download/static/src/scss/web_widget_image_download.scss" | ||
/> | ||
<script | ||
<script | ||
type="text/javascript" | ||
src="/web_widget_image_download/static/src/js/web_widget_image_download.js" | ||
/> | ||
</xpath> | ||
</template> | ||
|
||
</xpath> | ||
</template> | ||
</odoo> |