Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
0948049
[ADD] web_responsive_company_color: Added new module
anusriNPS Jun 26, 2025
5f91cb4
[IMP] web_responsive_company_color: pre-commit stuff
anusriNPS Jun 26, 2025
96f12c4
[MIG] web_responsive_company_color: Migration to 16.0
anusriNPS Jun 26, 2025
c1d00eb
[IMP] web_responsive_company_color: pre-commit execution
SirPyTech Jan 30, 2026
172f523
[MIG] web_responsive_company_color: Migration to 18.0
SirPyTech Jan 30, 2026
7a43944
Merge PR #3428 into 18.0
OCA-git-bot Sep 1, 2026
7895d69
[UPD] Update web_responsive_company_color.pot
Sep 1, 2026
0c027cd
[BOT] post-merge updates
OCA-git-bot Sep 1, 2026
fb29d37
[FIX] web_dialog_size: Correct resizing of content when maximizing
victoralmau Sep 1, 2026
06e8f1c
Merge PR #3649 into 18.0
OCA-git-bot Sep 2, 2026
bb41990
[BOT] post-merge updates
OCA-git-bot Sep 2, 2026
d9433e1
[FIX] web_responsive: prevent duplicate navigation on app menu click
Pepo48 Sep 2, 2026
71880c6
Added translation using Weblate (Italian)
mymage Sep 3, 2026
1ad9d61
Merge PR #3654 into 18.0
OCA-git-bot Sep 4, 2026
c918d67
[BOT] post-merge updates
OCA-git-bot Sep 4, 2026
56c99f5
[IMP] Adds a font size selector (pt) to the Document Layout wizard
ajfebres Sep 2, 2025
92231f2
[IMP] web_font_size_report_layout: pre-commit auto fixes
ajfebres Jan 20, 2026
06e1251
[MIG] : Migration to 17.0
ajfebres Jan 20, 2026
a901472
[UPD] Update web_font_size_report_layout.pot
Mar 9, 2026
9d9f10f
[BOT] post-merge updates
OCA-git-bot Mar 9, 2026
07b8813
Added translation using Weblate (Italian)
mymage Mar 10, 2026
3b7b0fc
Translated using Weblate (Italian)
mymage Mar 11, 2026
573f7b7
[IMP] web_font_size_report_layout: pre-commit auto fixes
DorianMAG Sep 9, 2026
50466df
[MIG] web_font_size_report_layout: Migration to 18.0
DorianMAG Sep 9, 2026
0c5b714
Translated using Weblate (Italian)
mymage Sep 10, 2026
5538b70
Merge PR #3661 into 18.0
OCA-git-bot Sep 14, 2026
0fb47fe
[UPD] Update web_font_size_report_layout.pot
Sep 14, 2026
81fc725
[BOT] post-merge updates
OCA-git-bot Sep 14, 2026
9ab0edb
[FIX] web_widget_pattern: run HOOT via WebSuite
ivs-cetmix Sep 16, 2026
245a24a
Merge PR #3670 into 18.0
OCA-git-bot Sep 16, 2026
f9eb80e
[BOT] post-merge updates
OCA-git-bot Sep 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ odoo_version: 18.0
org_name: Odoo Community Association (OCA)
org_slug: OCA
rebel_module_groups:
- web_responsive
- web_responsive,web_responsive_company_color
repo_description: web
repo_name: web
repo_slug: web
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ jobs:
matrix:
include:
- container: ghcr.io/oca/oca-ci/py3.10-odoo18.0:latest
include: "web_responsive"
include: "web_responsive,web_responsive_company_color"
name: test with Odoo
- container: ghcr.io/oca/oca-ci/py3.10-ocb18.0:latest
include: "web_responsive"
include: "web_responsive,web_responsive_company_color"
name: test with OCB
makepot: "true"
- container: ghcr.io/oca/oca-ci/py3.10-odoo18.0:latest
exclude: "web_responsive"
exclude: "web_responsive,web_responsive_company_color"
name: test with Odoo
- container: ghcr.io/oca/oca-ci/py3.10-ocb18.0:latest
exclude: "web_responsive"
exclude: "web_responsive,web_responsive_company_color"
name: test with OCB
makepot: "true"
services:
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,15 @@ addon | version | maintainers | summary
[web_copy_confirm](web_copy_confirm/) | 18.0.1.0.0 | | Show confirmation dialogue before copying records
[web_dark_mode](web_dark_mode/) | 18.0.1.0.0 | | Enabled Dark Mode for the Odoo Backend
[web_datetime_picker_default_time](web_datetime_picker_default_time/) | 18.0.1.0.0 | <a href='https://github.com/grindtildeath'><img src='https://github.com/grindtildeath.png' width='32' height='32' style='border-radius:50%;' alt='grindtildeath'/></a> | Allows to define a default time on datetime picker
[web_dialog_size](web_dialog_size/) | 18.0.1.0.2 | | A module that lets the user expand a dialog box to the full screen width.
[web_dialog_size](web_dialog_size/) | 18.0.1.0.3 | | A module that lets the user expand a dialog box to the full screen width.
[web_disable_export_group](web_disable_export_group/) | 18.0.1.0.0 | | Web Disable Export Group
[web_editor_class_selector](web_editor_class_selector/) | 18.0.1.0.0 | <a href='https://github.com/carlos-lopez-tecnativa'><img src='https://github.com/carlos-lopez-tecnativa.png' width='32' height='32' style='border-radius:50%;' alt='carlos-lopez-tecnativa'/></a> | Web editor class selector
[web_editor_disable_chatgpt](web_editor_disable_chatgpt/) | 18.0.1.0.0 | | Web Disable ChatGPT
[web_environment_ribbon](web_environment_ribbon/) | 18.0.1.0.3 | | Web Environment Ribbon
[web_excel_export_dynamic_expand](web_excel_export_dynamic_expand/) | 18.0.1.0.0 | | Export collapsed groups or the full tree, based on its view.
[web_favicon](web_favicon/) | 18.0.1.0.1 | | Allows to set a custom shortcut icon (aka favicon)
[web_filter_header_button](web_filter_header_button/) | 18.0.1.0.0 | | Show selected filters as buttons in the control panel
[web_font_size_report_layout](web_font_size_report_layout/) | 18.0.1.0.0 | | Adds a font size selector (pt) to the Document Layout wizard
[web_form_banner](web_form_banner/) | 18.0.1.1.0 | | Web Form Banner
[web_group_expand](web_group_expand/) | 18.0.1.0.1 | | Group Expand Buttons
[web_help](web_help/) | 18.0.1.0.0 | | Help Framework
Expand All @@ -54,7 +55,8 @@ addon | version | maintainers | summary
[web_quick_start_screen](web_quick_start_screen/) | 18.0.1.0.0 | | Configurable start screen for quick actions
[web_refresher](web_refresher/) | 18.0.1.0.1 | | Web Refresher
[web_remember_tree_column_width](web_remember_tree_column_width/) | 18.0.1.0.2 | <a href='https://github.com/frahikLV'><img src='https://github.com/frahikLV.png' width='32' height='32' style='border-radius:50%;' alt='frahikLV'/></a> <a href='https://github.com/luisg123v'><img src='https://github.com/luisg123v.png' width='32' height='32' style='border-radius:50%;' alt='luisg123v'/></a> <a href='https://github.com/cuongnmtm'><img src='https://github.com/cuongnmtm.png' width='32' height='32' style='border-radius:50%;' alt='cuongnmtm'/></a> | Remember the tree columns' widths across sessions.
[web_responsive](web_responsive/) | 18.0.1.0.7 | <a href='https://github.com/Tardo'><img src='https://github.com/Tardo.png' width='32' height='32' style='border-radius:50%;' alt='Tardo'/></a> <a href='https://github.com/SplashS'><img src='https://github.com/SplashS.png' width='32' height='32' style='border-radius:50%;' alt='SplashS'/></a> | Responsive web client, community-supported
[web_responsive](web_responsive/) | 18.0.1.0.8 | <a href='https://github.com/Tardo'><img src='https://github.com/Tardo.png' width='32' height='32' style='border-radius:50%;' alt='Tardo'/></a> <a href='https://github.com/SplashS'><img src='https://github.com/SplashS.png' width='32' height='32' style='border-radius:50%;' alt='SplashS'/></a> | Responsive web client, community-supported
[web_responsive_company_color](web_responsive_company_color/) | 18.0.1.0.0 | | Styling hooks for web_responsive elements
[web_save_discard_button](web_save_discard_button/) | 18.0.1.0.1 | <a href='https://github.com/synconics'><img src='https://github.com/synconics.png' width='32' height='32' style='border-radius:50%;' alt='synconics'/></a> | Save & Discard Buttons
[web_search_with_and](web_search_with_and/) | 18.0.1.0.1 | | Use AND conditions on omnibar search
[web_send_message_popup](web_send_message_popup/) | 18.0.1.0.0 | | Web Send Message as Popup
Expand All @@ -79,7 +81,7 @@ addon | version | maintainers | summary
[web_widget_o2m_attachment_image_gallery](web_widget_o2m_attachment_image_gallery/) | 18.0.1.0.0 | <a href='https://github.com/victoralmau'><img src='https://github.com/victoralmau.png' width='32' height='32' style='border-radius:50%;' alt='victoralmau'/></a> | Widget o2m Attachment Image Gallery Widget
[web_widget_one2many_tree_line_duplicate](web_widget_one2many_tree_line_duplicate/) | 18.0.1.0.1 | | Web Widget One2many Tree Line Duplicate
[web_widget_open_tab](web_widget_open_tab/) | 18.0.1.0.0 | | Allow to open record from trees on new tab from tree views
[web_widget_pattern](web_widget_pattern/) | 18.0.1.0.0 | <a href='https://github.com/hbrunn'><img src='https://github.com/hbrunn.png' width='32' height='32' style='border-radius:50%;' alt='hbrunn'/></a> | Allows to define a regex for validating input on the backend
[web_widget_pattern](web_widget_pattern/) | 18.0.1.0.1 | <a href='https://github.com/hbrunn'><img src='https://github.com/hbrunn.png' width='32' height='32' style='border-radius:50%;' alt='hbrunn'/></a> | Allows to define a regex for validating input on the backend
[web_widget_popover](web_widget_popover/) | 18.0.1.0.0 | <a href='https://github.com/ivantodorovich'><img src='https://github.com/ivantodorovich.png' width='32' height='32' style='border-radius:50%;' alt='ivantodorovich'/></a> | Render an icon that displays the field content in a popover
[web_widget_product_label_section_and_note_full_label](web_widget_product_label_section_and_note_full_label/) | 18.0.1.0.0 | | Display the full label in the product_label_section_and_note widget.
[web_widget_product_label_section_and_note_name_visibility](web_widget_product_label_section_and_note_name_visibility/) | 18.0.1.0.1 | <a href='https://github.com/carlos-lopez-tecnativa'><img src='https://github.com/carlos-lopez-tecnativa.png' width='32' height='32' style='border-radius:50%;' alt='carlos-lopez-tecnativa'/></a> | Alternate the visibility of the product and description.
Expand Down
4 changes: 3 additions & 1 deletion setup/_metapackage/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "odoo-addons-oca-web"
version = "18.0.20260721.1"
version = "18.0.20260914.0"
dependencies = [
"odoo-addon-web_action_conditionable==18.0.*",
"odoo-addon-web_calendar_slot_duration==18.0.*",
Expand All @@ -17,6 +17,7 @@ dependencies = [
"odoo-addon-web_excel_export_dynamic_expand==18.0.*",
"odoo-addon-web_favicon==18.0.*",
"odoo-addon-web_filter_header_button==18.0.*",
"odoo-addon-web_font_size_report_layout==18.0.*",
"odoo-addon-web_form_banner==18.0.*",
"odoo-addon-web_group_expand==18.0.*",
"odoo-addon-web_help==18.0.*",
Expand All @@ -35,6 +36,7 @@ dependencies = [
"odoo-addon-web_refresher==18.0.*",
"odoo-addon-web_remember_tree_column_width==18.0.*",
"odoo-addon-web_responsive==18.0.*",
"odoo-addon-web_responsive_company_color==18.0.*",
"odoo-addon-web_save_discard_button==18.0.*",
"odoo-addon-web_search_with_and==18.0.*",
"odoo-addon-web_send_message_popup==18.0.*",
Expand Down
2 changes: 1 addition & 1 deletion web_dialog_size/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Web Dialog Size
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:ef5e339b0accce605dac153ffd572aaf492759d0a6a2b91a27b51e4c3d1ee5d1
!! source digest: sha256:a306b45986bf786b971c49a98fb0d1a7af7ca0317b0eee223c5bb7bf8505d836
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down
2 changes: 1 addition & 1 deletion web_dialog_size/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/web",
"category": "web",
"version": "18.0.1.0.2",
"version": "18.0.1.0.3",
"license": "AGPL-3",
"depends": ["web"],
"installable": True,
Expand Down
2 changes: 1 addition & 1 deletion web_dialog_size/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ <h1>Web Dialog Size</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:ef5e339b0accce605dac153ffd572aaf492759d0a6a2b91a27b51e4c3d1ee5d1
!! source digest: sha256:a306b45986bf786b971c49a98fb0d1a7af7ca0317b0eee223c5bb7bf8505d836
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/web/tree/18.0/web_dialog_size"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_dialog_size"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/web&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>A module that lets the user expand/restore the dialog box size through a
Expand Down
10 changes: 8 additions & 2 deletions web_dialog_size/static/src/js/web_dialog_size.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ import {SelectCreateDialog} from "@web/views/view_dialogs/select_create_dialog";
import {patch} from "@web/core/utils/patch";
import {useService} from "@web/core/utils/hooks";

function triggerWindowResize() {
requestAnimationFrame(() => {
window.dispatchEvent(new Event("resize"));
});
}

export class ExpandButton extends Component {
setup() {
this.orm = useService("orm");
Expand All @@ -30,12 +36,12 @@ export class ExpandButton extends Component {

dialog_button_extend() {
this.props.setsize("dialog_full_screen");
this.render();
triggerWindowResize();
}

dialog_button_restore() {
this.props.setsize(this.last_size);
this.render();
triggerWindowResize();
}
}

Expand Down
120 changes: 120 additions & 0 deletions web_font_size_report_layout/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

===================================
Report Font Size in Document Layout
===================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:447018d8824e5466aff37ee61db85e01f7097cee1bd4b2db048814e001f99ca4
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
:target: https://github.com/OCA/web/tree/18.0/web_font_size_report_layout
:alt: OCA/web
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_font_size_report_layout
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This Odoo module adds the capability to customize font size in all PDF
reports throughout the system. Through a simple configuration,
administrators can select from a range of predefined font sizes
(measured in points) to optimize readability and appearance of invoices,
quotations, sales orders, and other printed documents.

The module offers the following font size options (in points):

============ ==== =========================
Option Size Description
============ ==== =========================
Extra Small 9pt For maximum compactness
Standard 10pt Odoo's default size
Small 11pt Just a little larger
Large 12pt Better readability
Extra Large 13pt Really Large
2Extra Large 14pt For high visibility needs
============ ==== =========================

**Table of contents**

.. contents::
:local:

Installation
============

1. Link the ``web_font_size_report_layout`` directory to your Odoo
addons folder
2. Update the module list from developer mode
3. Search for "Report Font Size in Document Layout" in the app store and
install it.

Usage
=====

Once installed:

1. Go to **Settings → General Settings → Companies → Configure Document
Layout**
2. Locate the new **"Font Size"** field
3. Select your preferred size from the dropdown list
4. Look at Preview or Download PDF Preview
5. Save changes

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_font_size_report_layout%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Binhex

Contributors
------------

- `Binhex <https://www.binhex.cloud>`__:
- Mario Montes<m.montes@binhex.cloud>
- Abraham J. Febres <afebres@binhex.cloud>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/web <https://github.com/OCA/web/tree/18.0/web_font_size_report_layout>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions web_font_size_report_layout/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
22 changes: 22 additions & 0 deletions web_font_size_report_layout/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "Report Font Size in Document Layout",
"version": "18.0.1.0.0",
"summary": "Adds a font size selector (pt) to the Document Layout wizard",
"author": "Binhex," "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/web",
"license": "LGPL-3",
"depends": ["web"],
"data": [
"views/base_document_layout_views.xml",
"views/report_templates_inherit.xml",
],
"assets": {
"web.report_assets_common": [
"web_font_size_report_layout/static/src/scss/report_font_size.scss"
],
"web.report_assets_pdf": [
"web_font_size_report_layout/static/src/scss/report_font_size.scss"
],
},
"installable": True,
}
Loading