Skip to content

Commit

Permalink
[MIG] product_product_template_link: rename module
Browse files Browse the repository at this point in the history
  • Loading branch information
renda-dev authored and aleuffre committed Nov 24, 2023
1 parent 6f1e2ce commit 8f89a08
Show file tree
Hide file tree
Showing 21 changed files with 76 additions and 73 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
===========================
Product Template Navigation
===========================
=====================
Product Template Link
=====================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:de5e04d33dcadb6c6a7efe8eb30acac317759500fcaecb1d1186adb7761deda9
!! source digest: sha256:073257c6e714c0005e11430a304175e27c99e6e5e0df3151b558632ece0b2905
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand All @@ -17,10 +17,10 @@ Product Template Navigation
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fproduct--attribute-lightgray.png?logo=github
:target: https://github.com/OCA/product-attribute/tree/16.0/product_product_template_navigation
:target: https://github.com/OCA/product-attribute/tree/16.0/product_product_template_link
:alt: OCA/product-attribute
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_product_template_navigation
:target: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_product_template_link
: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/product-attribute&target_branch=16.0
Expand All @@ -30,7 +30,7 @@ Product Template Navigation

This module adds a button in the product form to view the product template.

.. image:: https://raw.githubusercontent.com/OCA/product-attribute/16.0/product_product_template_navigation/static/img/template_navigation.gif
.. image:: https://raw.githubusercontent.com/OCA/product-attribute/16.0/product_product_template_link/static/img/template_navigation.gif

**Table of contents**

Expand All @@ -43,7 +43,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/product-attribute/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/product-attribute/issues/new?body=module:%20product_product_template_navigation%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/product-attribute/issues/new?body=module:%20product_product_template_link%0Aversion:%2016.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.

Expand All @@ -67,6 +67,8 @@ Contributors

* Dessan Hemrayev

* PyTech SRL <[email protected]>

Maintainers
~~~~~~~~~~~

Expand All @@ -80,6 +82,6 @@ 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/product-attribute <https://github.com/OCA/product-attribute/tree/16.0/product_product_template_navigation>`_ project on GitHub.
This module is part of the `OCA/product-attribute <https://github.com/OCA/product-attribute/tree/16.0/product_product_template_link>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 2019 Alexandre Díaz - Tecnativa
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Product Template Navigation",
"name": "Product Template Link",
"summary": "Adds a button in product to view the template",
"author": "Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/product-attribute",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_product_template_navigation
# * product_product_template_link
#
msgid ""
msgstr ""
Expand All @@ -16,27 +16,27 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3.2\n"

#. module: product_product_template_navigation
#: model:ir.model.fields,field_description:product_product_template_navigation.field_product_product__display_name
#. module: product_product_template_link
#: model:ir.model.fields,field_description:product_product_template_link.field_product_product__display_name
msgid "Display Name"
msgstr ""

#. module: product_product_template_navigation
#: model:ir.model.fields,field_description:product_product_template_navigation.field_product_product__id
#. module: product_product_template_link
#: model:ir.model.fields,field_description:product_product_template_link.field_product_product__id
msgid "ID"
msgstr ""

#. module: product_product_template_navigation
#: model:ir.model.fields,field_description:product_product_template_navigation.field_product_product____last_update
#. module: product_product_template_link
#: model:ir.model.fields,field_description:product_product_template_link.field_product_product____last_update
msgid "Last Modified on"
msgstr ""

#. module: product_product_template_navigation
#: model:ir.model,name:product_product_template_navigation.model_product_product
#. module: product_product_template_link
#: model:ir.model,name:product_product_template_link.model_product_product
msgid "Product"
msgstr "Producte"

#. module: product_product_template_navigation
#: model_terms:ir.ui.view,arch_db:product_product_template_navigation.product_template_form_view
#. module: product_product_template_link
#: model_terms:ir.ui.view,arch_db:product_product_template_link.product_template_form_view
msgid "View Template"
msgstr "Veure plantilla"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_product_template_navigation
# * product_product_template_link
#
msgid ""
msgstr ""
Expand All @@ -16,27 +16,27 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.10\n"

#. module: product_product_template_navigation
#: model:ir.model.fields,field_description:product_product_template_navigation.field_product_product__display_name
#. module: product_product_template_link
#: model:ir.model.fields,field_description:product_product_template_link.field_product_product__display_name
msgid "Display Name"
msgstr ""

#. module: product_product_template_navigation
#: model:ir.model.fields,field_description:product_product_template_navigation.field_product_product__id
#. module: product_product_template_link
#: model:ir.model.fields,field_description:product_product_template_link.field_product_product__id
msgid "ID"
msgstr ""

#. module: product_product_template_navigation
#: model:ir.model.fields,field_description:product_product_template_navigation.field_product_product____last_update
#. module: product_product_template_link
#: model:ir.model.fields,field_description:product_product_template_link.field_product_product____last_update
msgid "Last Modified on"
msgstr ""

#. module: product_product_template_navigation
#: model:ir.model,name:product_product_template_navigation.model_product_product
#. module: product_product_template_link
#: model:ir.model,name:product_product_template_link.model_product_product
msgid "Product"
msgstr "Producto"

#. module: product_product_template_navigation
#: model_terms:ir.ui.view,arch_db:product_product_template_navigation.product_template_form_view
#. module: product_product_template_link
#: model_terms:ir.ui.view,arch_db:product_product_template_link.product_template_form_view
msgid "View Template"
msgstr "Ver plantilla"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_product_template_navigation
# * product_product_template_link
#
msgid ""
msgstr ""
Expand All @@ -16,27 +16,27 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: product_product_template_navigation
#: model:ir.model.fields,field_description:product_product_template_navigation.field_product_product__display_name
#. module: product_product_template_link
#: model:ir.model.fields,field_description:product_product_template_link.field_product_product__display_name
msgid "Display Name"
msgstr "Nome visualizzato"

#. module: product_product_template_navigation
#: model:ir.model.fields,field_description:product_product_template_navigation.field_product_product__id
#. module: product_product_template_link
#: model:ir.model.fields,field_description:product_product_template_link.field_product_product__id
msgid "ID"
msgstr "ID"

#. module: product_product_template_navigation
#: model:ir.model.fields,field_description:product_product_template_navigation.field_product_product____last_update
#. module: product_product_template_link
#: model:ir.model.fields,field_description:product_product_template_link.field_product_product____last_update
msgid "Last Modified on"
msgstr "Ultima modifica il"

#. module: product_product_template_navigation
#: model:ir.model,name:product_product_template_navigation.model_product_product
#. module: product_product_template_link
#: model:ir.model,name:product_product_template_link.model_product_product
msgid "Product"
msgstr "Prodotto"

#. module: product_product_template_navigation
#: model_terms:ir.ui.view,arch_db:product_product_template_navigation.product_template_form_view
#. module: product_product_template_link
#: model_terms:ir.ui.view,arch_db:product_product_template_link.product_template_form_view
msgid "View Template"
msgstr "Visualizza modello"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_product_template_navigation
# * product_product_template_link
#
msgid ""
msgstr ""
Expand All @@ -13,27 +13,27 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: product_product_template_navigation
#: model:ir.model.fields,field_description:product_product_template_navigation.field_product_product__display_name
#. module: product_product_template_link
#: model:ir.model.fields,field_description:product_product_template_link.field_product_product__display_name
msgid "Display Name"
msgstr ""

#. module: product_product_template_navigation
#: model:ir.model.fields,field_description:product_product_template_navigation.field_product_product__id
#. module: product_product_template_link
#: model:ir.model.fields,field_description:product_product_template_link.field_product_product__id
msgid "ID"
msgstr ""

#. module: product_product_template_navigation
#: model:ir.model.fields,field_description:product_product_template_navigation.field_product_product____last_update
#. module: product_product_template_link
#: model:ir.model.fields,field_description:product_product_template_link.field_product_product____last_update
msgid "Last Modified on"
msgstr ""

#. module: product_product_template_navigation
#: model:ir.model,name:product_product_template_navigation.model_product_product
#. module: product_product_template_link
#: model:ir.model,name:product_product_template_link.model_product_product
msgid "Product"
msgstr ""

#. module: product_product_template_navigation
#: model_terms:ir.ui.view,arch_db:product_product_template_navigation.product_template_form_view
#. module: product_product_template_link
#: model_terms:ir.ui.view,arch_db:product_product_template_link.product_template_form_view
msgid "View Template"
msgstr ""
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
* `Cetmix <https://www.cetmix.com>`__:

* Dessan Hemrayev

* PyTech SRL <[email protected]>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
<title>Product Template Navigation</title>
<title>Product Template Link</title>
<style type="text/css">

/*
Expand Down Expand Up @@ -360,18 +360,18 @@
</style>
</head>
<body>
<div class="document" id="product-template-navigation">
<h1 class="title">Product Template Navigation</h1>
<div class="document" id="product-template-link">
<h1 class="title">Product Template Link</h1>

<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:de5e04d33dcadb6c6a7efe8eb30acac317759500fcaecb1d1186adb7761deda9
!! source digest: sha256:073257c6e714c0005e11430a304175e27c99e6e5e0df3151b558632ece0b2905
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/product-attribute/tree/16.0/product_product_template_navigation"><img alt="OCA/product-attribute" src="https://img.shields.io/badge/github-OCA%2Fproduct--attribute-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_product_template_navigation"><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/product-attribute&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<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/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/product-attribute/tree/16.0/product_product_template_link"><img alt="OCA/product-attribute" src="https://img.shields.io/badge/github-OCA%2Fproduct--attribute-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_product_template_link"><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/product-attribute&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module adds a button in the product form to view the product template.</p>
<img alt="https://raw.githubusercontent.com/OCA/product-attribute/16.0/product_product_template_navigation/static/img/template_navigation.gif" src="https://raw.githubusercontent.com/OCA/product-attribute/16.0/product_product_template_navigation/static/img/template_navigation.gif" />
<img alt="https://raw.githubusercontent.com/OCA/product-attribute/16.0/product_product_template_link/static/img/template_navigation.gif" src="https://raw.githubusercontent.com/OCA/product-attribute/16.0/product_product_template_link/static/img/template_navigation.gif" />
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand All @@ -389,7 +389,7 @@ <h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/product-attribute/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/product-attribute/issues/new?body=module:%20product_product_template_navigation%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/product-attribute/issues/new?body=module:%20product_product_template_link%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
Expand All @@ -412,6 +412,7 @@ <h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
<li>Dessan Hemrayev</li>
</ul>
</li>
<li>PyTech SRL &lt;<a class="reference external" href="mailto:info&#64;pytech.it">info&#64;pytech.it</a>&gt;</li>
</ul>
</div>
<div class="section" id="maintainers">
Expand All @@ -421,7 +422,7 @@ <h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
<p>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.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/product-attribute/tree/16.0/product_product_template_navigation">OCA/product-attribute</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/product-attribute/tree/16.0/product_product_template_link">OCA/product-attribute</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions product_product_template_link/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import test_product_product_template_link
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,18 @@
<field name="inherit_id" ref="product.product_normal_form_view" />
<field name="arch" type="xml">
<xpath expr="//button[hasclass('oe_stat_button')]" position="before">

<button
class="oe_stat_button"
name="action_open_product_template"
icon="fa-archive"
icon="fa-sitemap"
type="object"
>
<div class="o_field_widget">
<span>
View Template
</span>
</div>
</button>

<div class="o_field_widget">
<span>
View Template
</span>
</div>
</button>
</xpath>
</field>
</record>
Expand Down
1 change: 0 additions & 1 deletion product_product_template_navigation/tests/__init__.py

This file was deleted.

This file was deleted.

0 comments on commit 8f89a08

Please sign in to comment.