Skip to content

Commit

Permalink
[14.0][IMP] product_packaging_usability: Add search view in product p…
Browse files Browse the repository at this point in the history
…ackaging.
  • Loading branch information
Berezi committed Dec 10, 2024
1 parent 44f6dca commit 4cdb56c
Show file tree
Hide file tree
Showing 8 changed files with 124 additions and 0 deletions.
28 changes: 28 additions & 0 deletions product_packaging_usability/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

===========================
Product packaging usability
===========================

* Search view in "Product Packaging".

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

Bugs are tracked on `GitHub Issues
<https://github.com/avanzosc/odoo-addons/issues>`_. In case of trouble,
please check there if your issue has already been reported. If you spotted
it first, help us smash it by providing detailed and welcomed feedback.

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

Credits
=======

Contributors
~~~~~~~~~~~~

* Ana Juaristi <anajuaristi@avanzosc.es>
* Berezi Amubieta <bereziamubieta@avanzosc.es>
Empty file.
15 changes: 15 additions & 0 deletions product_packaging_usability/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2024 Berezi Amubieta - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
{
"name": "Product Packaging Usability",
"version": "14.0.1.0.0",
"category": "Product",
"license": "AGPL-3",
"author": "Avanzosc",
"website": "https://github.com/avanzosc/odoo-addons",
"depends": ["product"],
"data": [
"views/product_packaging_views.xml",
],
"installable": True,
}
26 changes: 26 additions & 0 deletions product_packaging_usability/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_packaging_usability
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-12-10 11:02+0000\n"
"PO-Revision-Date: 2024-12-10 11:02+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: product_packaging_usability
#: model_terms:ir.ui.view,arch_db:product_packaging_usability.product_packaging_view_search
msgid "Product"
msgstr "Producto"

#. module: product_packaging_usability
#: model_terms:ir.ui.view,arch_db:product_packaging_usability.product_packaging_view_search
msgid "Product Packaging"
msgstr "Empaquetado de producto"
26 changes: 26 additions & 0 deletions product_packaging_usability/i18n/product_packaging_usability.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_packaging_usability
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-12-10 11:01+0000\n"
"PO-Revision-Date: 2024-12-10 11:01+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: product_packaging_usability
#: model_terms:ir.ui.view,arch_db:product_packaging_usability.product_packaging_view_search
msgid "Product"
msgstr ""

#. module: product_packaging_usability
#: model_terms:ir.ui.view,arch_db:product_packaging_usability.product_packaging_view_search
msgid "Product Packaging"
msgstr ""
22 changes: 22 additions & 0 deletions product_packaging_usability/views/product_packaging_views.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="product_packaging_view_search" model="ir.ui.view">
<field name="name">product.packaging.view.search</field>
<field name="model">product.packaging</field>
<field name="arch" type="xml">
<search string="Product Packaging">
<field name="product_id" />
<field name="name" />
<group>
<filter
string="Product"
name="product"
domain=""
context="{'group_by': 'product_id'}"
/>
</group>
</search>
</field>
</record>

</odoo>
6 changes: 6 additions & 0 deletions setup/product_packaging_usability/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

0 comments on commit 4cdb56c

Please sign in to comment.