Skip to content
Snippets Groups Projects
Commit 8a61de5a authored by Etienne Ferriere's avatar Etienne Ferriere
Browse files

The name of a Redner template is no more modified by a Libreoffice

template upload.
parent 74aba83a
No related branches found
No related tags found
1 merge request!43The name of a Redner template is no more modified by a Libreoffice
This commit is part of merge request !43. Comments created here will be created in the context of that merge request.
...@@ -7,6 +7,11 @@ ...@@ -7,6 +7,11 @@
Use pypdf (3+) if present, otherwise defaults to PyPDF2. Use pypdf (3+) if present, otherwise defaults to PyPDF2.
(port from 11.0.2.10.0)
* The name of a Redner template is no more modified by a Libreoffice template
upload.
16.0.1.0.3 16.0.1.0.3
---------- ----------
......
...@@ -6,11 +6,11 @@ ...@@ -6,11 +6,11 @@
msgstr "" msgstr ""
"Project-Id-Version: Odoo Server 16.0\n" "Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-03 16:15+0000\n" "POT-Creation-Date: 2023-04-20 18:55+0000\n"
"PO-Revision-Date: 2023-02-03 17:15+0100\n" "PO-Revision-Date: 2023-04-20 20:56+0200\n"
"Last-Translator: Houzéfa Abbasbhay <houzefa.abba@xcg-consulting.fr>\n" "Last-Translator: Houzéfa Abbasbhay <houzefa.abba@xcg-consulting.fr>\n"
"Language-Team: XCG Consulting\n" "Language-Team: XCG Consulting\n"
"Language: fr\n" "Language: fr\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
...@@ -11,11 +11,11 @@ ...@@ -11,11 +11,11 @@
"Last-Translator: Houzéfa Abbasbhay <houzefa.abba@xcg-consulting.fr>\n" "Last-Translator: Houzéfa Abbasbhay <houzefa.abba@xcg-consulting.fr>\n"
"Language-Team: XCG Consulting\n" "Language-Team: XCG Consulting\n"
"Language: fr\n" "Language: fr\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: \n"
"X-Generator: Poedit 2.0.6\n" "X-Generator: Poedit 3.0.1\n"
#. module: redner #. module: redner
#. odoo-python #. odoo-python
...@@ -237,6 +237,11 @@ ...@@ -237,6 +237,11 @@
msgstr "Modèle LibreOffice" msgstr "Modèle LibreOffice"
#. module: redner #. module: redner
#: model:ir.model.fields,field_description:redner.field_redner_template__template_name
msgid "Libreoffice Template Name"
msgstr "Nom du modèle LibreOffice"
#. module: redner
#: model:ir.model.fields,field_description:redner.field_redner_template__locale_id #: model:ir.model.fields,field_description:redner.field_redner_template__locale_id
msgid "Locale" msgid "Locale"
msgstr "Localisation" msgstr "Localisation"
......
...@@ -95,6 +95,8 @@ ...@@ -95,6 +95,8 @@
template_data = fields.Binary("Libreoffice Template") template_data = fields.Binary("Libreoffice Template")
template_name = fields.Char(string="Libreoffice Template Name")
@property @property
def redner(self): def redner(self):
"""Try to avoid Redner instance to be over created""" """Try to avoid Redner instance to be over created"""
......
...@@ -81,6 +81,6 @@ ...@@ -81,6 +81,6 @@
<group> <group>
<field <field
name="template_data" name="template_data"
filename="name" filename="template_name"
nolabel="1" nolabel="1"
/> />
...@@ -85,5 +85,6 @@ ...@@ -85,5 +85,6 @@
nolabel="1" nolabel="1"
/> />
<field name="template_name" invisible="1" />
</group> </group>
</page> </page>
<page string="Settings"> <page string="Settings">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment