From 3684e9d18ce1c3fed9d3337dcff577e9d3ba1872 Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Tue, 10 Jan 2023 14:30:06 +0100 Subject: [PATCH] [ADD]Yaltik DSL : add notebook/page tags --- yaltik_dsl/__manifest__.py | 4 ++-- yaltik_dsl/src/odoo_dsl.py | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/yaltik_dsl/__manifest__.py b/yaltik_dsl/__manifest__.py index 7f03ce3..63a433d 100644 --- a/yaltik_dsl/__manifest__.py +++ b/yaltik_dsl/__manifest__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2019-2022 Fabien Bourgeois +# Copyright 2019-2023 Fabien Bourgeois # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -19,7 +19,7 @@ 'name': 'Yaltik Odoo DSL base module and fns', 'summary': 'Yaltik Odoo Domain Specific Language base module and functions', 'description': """ Yaltik Odoo Domain Specific Language base module and functions """, - 'version': '10.0.0.5.3', + 'version': '10.0.0.5.4', 'category': 'Yaltik', 'author': 'Fabien Bourgeois', 'license': 'AGPL-3', diff --git a/yaltik_dsl/src/odoo_dsl.py b/yaltik_dsl/src/odoo_dsl.py index b56e348..88165d2 100644 --- a/yaltik_dsl/src/odoo_dsl.py +++ b/yaltik_dsl/src/odoo_dsl.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019-2020 Fabien Bourgeois +# Copyright 2019-2023 Fabien Bourgeois # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -86,6 +86,8 @@ footer = lambda *args: xmln('footer', *args) sheet = lambda *args: xmln('sheet', *args) button = lambda *args: xmln('button', *args) p = lambda *args: xmln('p', *args) +notebook = lambda *args: xmln('notebook', *args) +page = lambda *args: xmln('page', *args) xpath = lambda *args: xmln('xpath', *args) attribute = lambda name, value: xmln('attribute', {'name': name}, [value])