Skip to content

Commit f5f390d

Browse files
committed
Merge PR #11 into 18.0
Signed-off-by ValentinVinagre
2 parents db2381a + d05ff12 commit f5f390d

File tree

11 files changed

+607
-0
lines changed

11 files changed

+607
-0
lines changed
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
============================================
2+
Html fields in document layout configuration
3+
============================================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:cf0601f26754dd6d8cca9d3d1d931f61cc6dcdbc3d7e63d1e3e9d853bac88477
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-sygel--technology%2Fsy--server--tools-lightgray.png?logo=github
20+
:target: https://github.com/sygel-technology/sy-server-tools/tree/18.0/html_fields_document_layout_configuration
21+
:alt: sygel-technology/sy-server-tools
22+
23+
|badge1| |badge2| |badge3|
24+
25+
This module allows you to edit the HTML fields of the base document
26+
configuration using the HTML widget.
27+
28+
**Table of contents**
29+
30+
.. contents::
31+
:local:
32+
33+
Usage
34+
=====
35+
36+
To use this module:
37+
38+
1. Activate the developer mode.
39+
2. Go to Settings / General Settings / Configure Document Layout
40+
3. In a HTML field (Address, Tagline or Footer) select the text with
41+
your cursor. Write some text before if the field is empty
42+
4. Click on the **</>** button to enable the HTML widget. Click it again
43+
to disable it.
44+
45+
Known issues / Roadmap
46+
======================
47+
48+
| There is a known bug that prevents the view from refreshing
49+
automatically when using the HTML widget.
50+
| To work around this issue:
51+
52+
1. Edit the content using the HTML widget.
53+
2. Switch back to the text view (without the HTML widget).
54+
55+
Bug Tracker
56+
===========
57+
58+
Bugs are tracked on `GitHub Issues <https://github.com/sygel-technology/sy-server-tools/issues>`_.
59+
In case of trouble, please check there if your issue has already been reported.
60+
If you spotted it first, help us to smash it by providing a detailed and welcomed
61+
`feedback <https://github.com/sygel-technology/sy-server-tools/issues/new?body=module:%20html_fields_document_layout_configuration%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
62+
63+
Do not contact contributors directly about support or help with technical issues.
64+
65+
Credits
66+
=======
67+
68+
Authors
69+
-------
70+
71+
* Sygel
72+
73+
Contributors
74+
------------
75+
76+
- `Sygel <https://www.sygel.es>`__:
77+
78+
- Angel García de la Chica Herrera
79+
- Valentin Vinagre
80+
- Harald Panten
81+
- Alberto Martínez
82+
83+
Maintainers
84+
-----------
85+
86+
This module is part of the `sygel-technology/sy-server-tools <https://github.com/sygel-technology/sy-server-tools/tree/18.0/html_fields_document_layout_configuration>`_ project on GitHub.
87+
88+
You are welcome to contribute.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Copyright 2023 Ángel García de la Chica <angel.garcia@sygel.es>
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Copyright 2022 Angel Garcia de la Chica Herrera <angel.garcia@sygel.es>
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
4+
{
5+
"name": "Html fields in document layout configuration",
6+
"summary": "Html fields in document layout configuration",
7+
"version": "18.0.1.0.0",
8+
"category": "Custom",
9+
"website": "https://github.com/sygel-technology/sy-server-tools",
10+
"author": "Sygel, Odoo Community Association (OCA)",
11+
"license": "AGPL-3",
12+
"application": False,
13+
"installable": True,
14+
"depends": [
15+
"base",
16+
"web",
17+
],
18+
"data": [
19+
"views/view_base_document_layout.xml",
20+
],
21+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["whool"]
3+
build-backend = "whool.buildapi"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- [Sygel](https://www.sygel.es):
2+
- Angel García de la Chica Herrera
3+
- Valentin Vinagre
4+
- Harald Panten
5+
- Alberto Martínez
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This module allows you to edit the HTML fields of the base document configuration using the HTML widget.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
There is a known bug that prevents the view from refreshing automatically when using the HTML widget.
2+
To work around this issue:
3+
4+
1. Edit the content using the HTML widget.
5+
2. Switch back to the text view (without the HTML widget).
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
To use this module:
2+
3+
1. Activate the developer mode.
4+
2. Go to Settings / General Settings / Configure Document Layout
5+
3. In a HTML field (Address, Tagline or Footer) select the text with your cursor. Write some text before if the field is empty
6+
4. Click on the **</>** button to enable the HTML widget. Click it again to disable it.
21.5 KB
Loading

0 commit comments

Comments
 (0)