Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] mrp_attachment_mgmt: Migration to 17.0 #1425

Open
wants to merge 15 commits into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
114 changes: 114 additions & 0 deletions mrp_attachment_mgmt/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
===================
Mrp Attachment Mgmt
===================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:aa8781c1fbe86a94327f0904ae05e3bdb29653fef631ae1d22bd1bbf337d0dd1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmanufacture-lightgray.png?logo=github
:target: https://github.com/OCA/manufacture/tree/17.0/mrp_attachment_mgmt
:alt: OCA/manufacture
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/manufacture-17-0/manufacture-17-0-mrp_attachment_mgmt
: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/manufacture&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows to get all attachments of a bill of materials (all
levels) on a view. This module allows to get all attachments of a work
orders products to produce on a view.

**Table of contents**

.. contents::
:local:

Configuration
=============

To configure this module, you need to:

1. Go to *Manufacturing -> Configuration -> Settings* and check "Work
Orders" option.

Usage
=====

1. Go to *Manufacturing -> Operation > Work Orders* and click in window
open button (after the "Start" and "Block" options).
2. The smart-button "Attachments" display the attachments of the related
product.
3. Go to *Manufacturing -> Products > Bill of material -> Desk
Combination*.
4. Go to "Attachment" icon related to "Office Chair Black" component and
upload some file.
5. The smart-button "Attachments" (from Bill of material) display the
attachments of all components.
6. Go to *Manufacturing -> Products > Products -> Desk Combination*.
7. The smart-button "Bom Attachments" display the attachments of all
components from Bill of material.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/manufacture/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/manufacture/issues/new?body=module:%20mrp_attachment_mgmt%0Aversion:%2017.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.

Credits
=======

Authors
-------

* Tecnativa

Contributors
------------

- `Tecnativa <https://www.tecnativa.com>`__:

- Víctor Martínez
- Pedro M. Baeza

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

.. |maintainer-victoralmau| image:: https://github.com/victoralmau.png?size=40px
:target: https://github.com/victoralmau
:alt: victoralmau

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-victoralmau|

This module is part of the `OCA/manufacture <https://github.com/OCA/manufacture/tree/17.0/mrp_attachment_mgmt>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions mrp_attachment_mgmt/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
19 changes: 19 additions & 0 deletions mrp_attachment_mgmt/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2022 Tecnativa - Víctor Martínez
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Mrp Attachment Mgmt",
"version": "17.0.1.0.0",
"category": "Manufacturing",
"website": "https://github.com/OCA/manufacture",
"author": "Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"depends": ["mrp"],
"installable": True,
"data": [
"views/mrp_bom_view.xml",
"views/mrp_production_views.xml",
"views/product_views.xml",
"views/workorder_attachments_views.xml",
],
"maintainers": ["victoralmau"],
}
69 changes: 69 additions & 0 deletions mrp_attachment_mgmt/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_attachment_mgmt
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-08 10:18+0000\n"
"PO-Revision-Date: 2024-03-25 21:33+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: mrp_attachment_mgmt
#. odoo-python
#: code:addons/mrp_attachment_mgmt/models/mrp_workorder.py:0
#, python-format
msgid ""
"%(error_count)d Product(s) without drawing:\n"
"%(error_msg)s"
msgstr ""
"%(error_count)d Producto(s) sin dibujo:\n"
"%(error_msg)s"

#. module: mrp_attachment_mgmt
#: model:ir.actions.server,name:mrp_attachment_mgmt.action_see_workorder_attachments
#: model:ir.actions.server,name:mrp_attachment_mgmt.action_show_production_attachments
#: model_terms:ir.ui.view,arch_db:mrp_attachment_mgmt.mrp_bom_see_attachments_form_view
#: model_terms:ir.ui.view,arch_db:mrp_attachment_mgmt.mrp_production_form_view
#: model_terms:ir.ui.view,arch_db:mrp_attachment_mgmt.workorder_attachments_mrp_workorder_form_view
msgid "Attachments"
msgstr "Adjuntos"

#. module: mrp_attachment_mgmt
#: model:ir.model,name:mrp_attachment_mgmt.model_mrp_bom
msgid "Bill of Material"
msgstr "Lista de materiales"

#. module: mrp_attachment_mgmt
#: model_terms:ir.ui.view,arch_db:mrp_attachment_mgmt.mrp_bom_see_attachments_product_product_form_view
#: model_terms:ir.ui.view,arch_db:mrp_attachment_mgmt.mrp_bom_see_attachments_product_template_form_view
msgid "Bom Attachments"
msgstr "Adjuntos de Lista de Materiales"

#. module: mrp_attachment_mgmt
#: model:ir.model,name:mrp_attachment_mgmt.model_product_template
msgid "Product"
msgstr "Producto"

#. module: mrp_attachment_mgmt
#: model:ir.model,name:mrp_attachment_mgmt.model_product_product
msgid "Product Variant"
msgstr "Variante del Producto"

#. module: mrp_attachment_mgmt
#: model:ir.model,name:mrp_attachment_mgmt.model_mrp_production
msgid "Production Order"
msgstr "Orden de Producción"

#. module: mrp_attachment_mgmt
#: model:ir.model,name:mrp_attachment_mgmt.model_mrp_workorder
msgid "Work Order"
msgstr "Orden de trabajo"
69 changes: 69 additions & 0 deletions mrp_attachment_mgmt/i18n/hr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_attachment_mgmt
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-06-17 15:35+0000\n"
"Last-Translator: Bole <bole@dajmi5.com>\n"
"Language-Team: none\n"
"Language: hr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.17\n"

#. module: mrp_attachment_mgmt
#. odoo-python
#: code:addons/mrp_attachment_mgmt/models/mrp_workorder.py:0
#, python-format
msgid ""
"%(error_count)d Product(s) without drawing:\n"
"%(error_msg)s"
msgstr ""
"%(error_count)d Proizvod(i) bez crteža:\n"
"%(error_msg)s"

#. module: mrp_attachment_mgmt
#: model:ir.actions.server,name:mrp_attachment_mgmt.action_see_workorder_attachments
#: model:ir.actions.server,name:mrp_attachment_mgmt.action_show_production_attachments
#: model_terms:ir.ui.view,arch_db:mrp_attachment_mgmt.mrp_bom_see_attachments_form_view
#: model_terms:ir.ui.view,arch_db:mrp_attachment_mgmt.mrp_production_form_view
#: model_terms:ir.ui.view,arch_db:mrp_attachment_mgmt.workorder_attachments_mrp_workorder_form_view
msgid "Attachments"
msgstr "Prilozi"

#. module: mrp_attachment_mgmt
#: model:ir.model,name:mrp_attachment_mgmt.model_mrp_bom
msgid "Bill of Material"
msgstr "Sastavnica"

#. module: mrp_attachment_mgmt
#: model_terms:ir.ui.view,arch_db:mrp_attachment_mgmt.mrp_bom_see_attachments_product_product_form_view
#: model_terms:ir.ui.view,arch_db:mrp_attachment_mgmt.mrp_bom_see_attachments_product_template_form_view
msgid "Bom Attachments"
msgstr "Prilozi sastavnica"

#. module: mrp_attachment_mgmt
#: model:ir.model,name:mrp_attachment_mgmt.model_product_template
msgid "Product"
msgstr "Proizvod"

#. module: mrp_attachment_mgmt
#: model:ir.model,name:mrp_attachment_mgmt.model_product_product
msgid "Product Variant"
msgstr "Varijanta proizvoda"

#. module: mrp_attachment_mgmt
#: model:ir.model,name:mrp_attachment_mgmt.model_mrp_production
msgid "Production Order"
msgstr "Proizvodni nalog"

#. module: mrp_attachment_mgmt
#: model:ir.model,name:mrp_attachment_mgmt.model_mrp_workorder
msgid "Work Order"
msgstr "Radni nalog"
68 changes: 68 additions & 0 deletions mrp_attachment_mgmt/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_attachment_mgmt
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-03-04 15:33+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: mrp_attachment_mgmt
#. odoo-python
#: code:addons/mrp_attachment_mgmt/models/mrp_workorder.py:0
#, python-format
msgid ""
"%(error_count)d Product(s) without drawing:\n"
"%(error_msg)s"
msgstr ""
"%(error_count)d Prodotto(i) senza disegno:\n"
"%(error_msg)s"

#. module: mrp_attachment_mgmt
#: model:ir.actions.server,name:mrp_attachment_mgmt.action_see_workorder_attachments
#: model:ir.actions.server,name:mrp_attachment_mgmt.action_show_production_attachments
#: model_terms:ir.ui.view,arch_db:mrp_attachment_mgmt.mrp_bom_see_attachments_form_view
#: model_terms:ir.ui.view,arch_db:mrp_attachment_mgmt.mrp_production_form_view
#: model_terms:ir.ui.view,arch_db:mrp_attachment_mgmt.workorder_attachments_mrp_workorder_form_view
msgid "Attachments"
msgstr "Allegati"

#. module: mrp_attachment_mgmt
#: model:ir.model,name:mrp_attachment_mgmt.model_mrp_bom
msgid "Bill of Material"
msgstr "Distinta base"

#. module: mrp_attachment_mgmt
#: model_terms:ir.ui.view,arch_db:mrp_attachment_mgmt.mrp_bom_see_attachments_product_product_form_view
#: model_terms:ir.ui.view,arch_db:mrp_attachment_mgmt.mrp_bom_see_attachments_product_template_form_view
msgid "Bom Attachments"
msgstr "Allegati DiBa"

#. module: mrp_attachment_mgmt
#: model:ir.model,name:mrp_attachment_mgmt.model_product_template
msgid "Product"
msgstr "Prodotto"

#. module: mrp_attachment_mgmt
#: model:ir.model,name:mrp_attachment_mgmt.model_product_product
msgid "Product Variant"
msgstr "Variante prodotto"

#. module: mrp_attachment_mgmt
#: model:ir.model,name:mrp_attachment_mgmt.model_mrp_production
msgid "Production Order"
msgstr "Ordine di produzione"

#. module: mrp_attachment_mgmt
#: model:ir.model,name:mrp_attachment_mgmt.model_mrp_workorder
msgid "Work Order"
msgstr "Ordine di lavoro"
Loading
Loading