Browse Source

[REM] survey_page_duplicate

16.0
RemiFr82 5 days ago
parent
commit
30ab700373
  1. 0
      survey_page_duplicate/__init__.py
  2. 39
      survey_page_duplicate/__manifest__.py
  3. 22
      survey_page_duplicate/i18n/fr.po
  4. 16
      survey_page_duplicate/views/survey_survey.xml

0
survey_page_duplicate/__init__.py

39
survey_page_duplicate/__manifest__.py

@ -1,39 +0,0 @@
# -*- coding: utf-8 -*-
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
{
"name": "Survey page duplicate",
"version": "1.0.0",
"summary": """
Quick duplicate surveys' pages
""",
"description": """
This module adds a \"Duplicate\" button in pages lines on survey form, only in edit mode.
""",
"author": "RemiFr82",
"contributors": "Sudokeys",
"website": "https://remifr82.me",
"license": "LGPL-3",
"category": "Marketing",
# "price": 0,
# "currency": "EUR",
"application": False,
"installable": False,
"auto_install": False,
"pre_init_hook": "",
"post_init_hook": "",
"uninstall_hook": "",
"excludes": [],
"external_dependencies": [],
"depends": [
"survey",
],
"data": [
"views/survey_survey.xml",
],
"css": [],
"images": [],
"js": [],
"test": [],
"demo": [],
"maintainer": "RemiFr82",
}

22
survey_page_duplicate/i18n/fr.po

@ -1,22 +0,0 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * survey_page_duplicate
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-02 16:54+0000\n"
"PO-Revision-Date: 2023-03-02 16:54+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: survey_page_duplicate
#: model_terms:ir.ui.view,arch_db:survey_page_duplicate.survey_survey_form
msgid "Duplicate"
msgstr "Dupliquer"

16
survey_page_duplicate/views/survey_survey.xml

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="survey_survey_form" model="ir.ui.view">
<field name="name">survey_page_duplicate survey.survey form</field>
<field name="model">survey.survey</field>
<field name="inherit_id" ref="survey.survey_form"/>
<field name="priority">20</field>
<field name="arch" type="xml">
<xpath expr="//field[@name='page_ids']/tree" position="inside">
<button type="object" name="copy" string="Duplicate" icon="fa-copy" class="oe_edit_only"/>
</xpath>
</field>
</record>
</odoo>
Loading…
Cancel
Save