diff --git a/product_state/README.rst b/product_state/README.rst deleted file mode 100644 index ef92e16..0000000 --- a/product_state/README.rst +++ /dev/null @@ -1,103 +0,0 @@ -============= -Product State -============= - -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! This file is generated by oca-gen-addon-readme !! - !! changes will be overwritten. !! - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -.. |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%2Fproduct--attribute-lightgray.png?logo=github - :target: https://github.com/OCA/product-attribute/tree/12.0/product_state - :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-12-0/product-attribute-12-0-product_state - :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/135/12.0 - :alt: Try me on Runbot - -|badge1| |badge2| |badge3| |badge4| |badge5| - -This module introduces the state field on product template and allows simple product life cycle: - -- draft: In Development -- sellable: Normal -- end: End of Lifecycle -- obsolete: Obsolete - -**Table of contents** - -.. contents:: - :local: - -Usage -===== - -To create a new state: - -#. Go to *Sales > Configuration > Products > Product States*. -#. You can set its name and a description. - -To add a product to a state: - -#. Go to the product itself and edit. -#. You can select the desired status in the list of buttons above the form. - -Bug Tracker -=========== - -Bugs are tracked on `GitHub Issues `_. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. - -Do not contact contributors directly about support or help with technical issues. - -Credits -======= - -Authors -~~~~~~~ - -* ACSONE SA/NV - -Contributors -~~~~~~~~~~~~ - -* Cedric Pigeon -* Alexandre Saunier -* Nikul Chaudhary -* Eduardo Magdalena (C2i Change 2 improve http://www.c2i.es) -* Andrii Skrypka - -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-emagdalenaC2i| image:: https://github.com/emagdalenaC2i.png?size=40px - :target: https://github.com/emagdalenaC2i - :alt: emagdalenaC2i - -Current `maintainer `__: - -|maintainer-emagdalenaC2i| - -This module is part of the `OCA/product-attribute `_ project on GitHub. - -You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/product_state/__init__.py b/product_state/__init__.py deleted file mode 100644 index e66fb1c..0000000 --- a/product_state/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). - -from . import models -from .hooks import post_init_hook diff --git a/product_state/__manifest__.py b/product_state/__manifest__.py deleted file mode 100644 index 0e54111..0000000 --- a/product_state/__manifest__.py +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 2017 ACSONE SA/NV () -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). -{ - "name": "Product State", - "summary": """ - Module introducing a state field on product template""", - "author": "ACSONE SA/NV, Odoo Community Association (OCA)", - "website": "https://github.com/OCA/product-attribute", - "category": "Product", - "version": "16.0.1.0.0", - "license": "AGPL-3", - "depends": ["sale", "product"], - "data": [ - "data/product_state_data.xml", - "security/ir.model.access.csv", - "views/product_views.xml", - ], - "maintainers": ["emagdalenaC2i"], - "post_init_hook": "post_init_hook", -} diff --git a/product_state/data/product_state_data.xml b/product_state/data/product_state_data.xml deleted file mode 100644 index 90a0a76..0000000 --- a/product_state/data/product_state_data.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - draft - In Development - 10 - - - sellable - Normal - 20 - - - end - End of Lifecycle - 30 - - - obsolete - Obsolete - 40 - - - diff --git a/product_state/hooks.py b/product_state/hooks.py deleted file mode 100644 index 2c7064e..0000000 --- a/product_state/hooks.py +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 2017 ACSONE SA/NV () -# Copyright 2020 Tecnativa - Pedro M. Baeza -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). -from odoo import api, SUPERUSER_ID - - -def post_init_hook(cr, registry): - """ This hook is used to add a state on existing products - when module product_state is installed. - """ - env = api.Environment(cr, SUPERUSER_ID, {}) - product_without_state = env["product.template"].with_context( - active_test=False, - ).search( - [("product_state_id", "=", False), ("state", "!=", False)] - ) - product_without_state._inverse_product_state() diff --git a/product_state/i18n/ca.po b/product_state/i18n/ca.po deleted file mode 100644 index 8fc1ad7..0000000 --- a/product_state/i18n/ca.po +++ /dev/null @@ -1,168 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * product_state -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2021-02-15 13:45+0000\n" -"Last-Translator: claudiagn \n" -"Language-Team: none\n" -"Language: ca\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.3.2\n" - -#. module: product_state -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -msgid "Code" -msgstr "Codi" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__create_uid -msgid "Created by" -msgstr "Creat per" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__create_date -msgid "Created on" -msgstr "Creat el" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__description -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -msgid "Description" -msgstr "Descripció" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__display_name -msgid "Display Name" -msgstr "Nom visible" - -#. module: product_state -#: model:product.state,name:product_state.product_state_end -msgid "End of Lifecycle" -msgstr "Final del cicle de vida" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__id -msgid "ID" -msgstr "ID" - -#. module: product_state -#: model:product.state,name:product_state.product_state_draft -msgid "In Development" -msgstr "ID de desenvolupament" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state____last_update -msgid "Last Modified on" -msgstr "Última modificació en" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__write_uid -msgid "Last Updated by" -msgstr "última actualització per" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__write_date -msgid "Last Updated on" -msgstr "Última actualització el" - -#. module: product_state -#: model:product.state,name:product_state.product_state_sellable -msgid "Normal" -msgstr "Normal" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__products_count -msgid "Number of products" -msgstr "Nombre de productes" - -#. module: product_state -#: model:product.state,name:product_state.product_state_obsolete -msgid "Obsolete" -msgstr "Obsolet" - -#. module: product_state -#: model:ir.actions.act_window,name:product_state.action_open_single_product_state -#: model:ir.model,name:product_state.model_product_state -#: model_terms:ir.ui.view,arch_db:product_state.product_state_search_form_view -msgid "Product State" -msgstr "Estat del producte" - -#. module: product_state -#: sql_constraint:product.state:0 -msgid "Product State Code must be unique." -msgstr "El codi d'estat del producte ha de ser únic." - -#. module: product_state -#: model:ir.ui.menu,name:product_state.menu_product_state -msgid "Product States" -msgstr "Estats dels productes" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_product__state -#: model:ir.model.fields,field_description:product_state.field_product_template__state -msgid "Product Status" -msgstr "Estat del producte" - -#. module: product_state -#: model:ir.model,name:product_state.model_product_template -msgid "Product Template" -msgstr "Plantilla de producte" - -#. module: product_state -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_kanban -msgid "Products" -msgstr "Productes" - -#. module: product_state -#: model:ir.model.fields,help:product_state.field_product_product__product_state_id -#: model:ir.model.fields,help:product_state.field_product_template__product_state_id -msgid "Select a state for this product" -msgstr "Selecciona un estat per aquest producte" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__sequence -msgid "Sequence" -msgstr "Seqüència" - -#. module: product_state -#: model:ir.actions.act_window,name:product_state.action_product_state -#: model:ir.model.fields,field_description:product_state.field_product_product__product_state_id -#: model:ir.model.fields,field_description:product_state.field_product_template__product_state_id -#: model_terms:ir.ui.view,arch_db:product_state.view_product_template_search_state -msgid "State" -msgstr "Estat" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__code -msgid "State Code" -msgstr "Codi d'estat" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__name -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -msgid "State Name" -msgstr "Nom d'estat" - -#. module: product_state -#: model:ir.actions.act_window,name:product_state.action_open_state_products -#: model:ir.model.fields,field_description:product_state.field_product_state__product_ids -msgid "State Products" -msgstr "Productes estatals" - -#. module: product_state -#: model:ir.model.fields,help:product_state.field_product_state__sequence -msgid "Used to order the States" -msgstr "S'utilitza per ordenar els estats" - -#. module: product_state -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_tree -msgid "product.state" -msgstr "product.state" diff --git a/product_state/i18n/de.po b/product_state/i18n/de.po deleted file mode 100644 index 1d7dc93..0000000 --- a/product_state/i18n/de.po +++ /dev/null @@ -1,174 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * product_state -# -# Translators: -# Niki Waibel , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-17 02:38+0000\n" -"PO-Revision-Date: 2017-05-17 02:38+0000\n" -"Last-Translator: Niki Waibel , 2017\n" -"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" -"Language: de\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" - -#. module: product_state -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -msgid "Code" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__create_uid -msgid "Created by" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__create_date -msgid "Created on" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__description -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -msgid "Description" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__display_name -msgid "Display Name" -msgstr "" - -#. module: product_state -#: model:product.state,name:product_state.product_state_end -msgid "End of Lifecycle" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__id -msgid "ID" -msgstr "" - -#. module: product_state -#: model:product.state,name:product_state.product_state_draft -msgid "In Development" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state____last_update -msgid "Last Modified on" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__write_uid -msgid "Last Updated by" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__write_date -msgid "Last Updated on" -msgstr "" - -#. module: product_state -#: model:product.state,name:product_state.product_state_sellable -msgid "Normal" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__products_count -msgid "Number of products" -msgstr "" - -#. module: product_state -#: model:product.state,name:product_state.product_state_obsolete -msgid "Obsolete" -msgstr "" - -#. module: product_state -#: model:ir.actions.act_window,name:product_state.action_open_single_product_state -#: model:ir.model,name:product_state.model_product_state -#: model_terms:ir.ui.view,arch_db:product_state.product_state_search_form_view -#, fuzzy -msgid "Product State" -msgstr "Produktvorlage" - -#. module: product_state -#: sql_constraint:product.state:0 -msgid "Product State Code must be unique." -msgstr "" - -#. module: product_state -#: model:ir.ui.menu,name:product_state.menu_product_state -#, fuzzy -msgid "Product States" -msgstr "Produktvorlage" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_product__state -#: model:ir.model.fields,field_description:product_state.field_product_template__state -#, fuzzy -msgid "Product Status" -msgstr "Produktvorlage" - -#. module: product_state -#: model:ir.model,name:product_state.model_product_template -msgid "Product Template" -msgstr "Produktvorlage" - -#. module: product_state -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_kanban -msgid "Products" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,help:product_state.field_product_product__product_state_id -#: model:ir.model.fields,help:product_state.field_product_template__product_state_id -msgid "Select a state for this product" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__sequence -msgid "Sequence" -msgstr "" - -#. module: product_state -#: model:ir.actions.act_window,name:product_state.action_product_state -#: model:ir.model.fields,field_description:product_state.field_product_product__product_state_id -#: model:ir.model.fields,field_description:product_state.field_product_template__product_state_id -#: model_terms:ir.ui.view,arch_db:product_state.view_product_template_search_state -msgid "State" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__code -msgid "State Code" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__name -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -msgid "State Name" -msgstr "" - -#. module: product_state -#: model:ir.actions.act_window,name:product_state.action_open_state_products -#: model:ir.model.fields,field_description:product_state.field_product_state__product_ids -msgid "State Products" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,help:product_state.field_product_state__sequence -msgid "Used to order the States" -msgstr "" - -#. module: product_state -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_tree -#, fuzzy -msgid "product.state" -msgstr "Produktvorlage" diff --git a/product_state/i18n/es.po b/product_state/i18n/es.po deleted file mode 100644 index 6c46830..0000000 --- a/product_state/i18n/es.po +++ /dev/null @@ -1,172 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * product_state -# -# Translators: -# Pedro M. Baeza , 2018 -# enjolras , 2018 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-01-29 08:49+0000\n" -"PO-Revision-Date: 2020-09-15 12:00+0000\n" -"Last-Translator: claudiagn \n" -"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" -"Language: es\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 3.10\n" - -#. module: product_state -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -msgid "Code" -msgstr "Código" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__create_uid -msgid "Created by" -msgstr "Creado por" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__create_date -msgid "Created on" -msgstr "Creado en" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__description -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -msgid "Description" -msgstr "Descripción" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__display_name -msgid "Display Name" -msgstr "Nombre mostrado" - -#. module: product_state -#: model:product.state,name:product_state.product_state_end -msgid "End of Lifecycle" -msgstr "Fin del ciclo de vida" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__id -msgid "ID" -msgstr "ID" - -#. module: product_state -#: model:product.state,name:product_state.product_state_draft -msgid "In Development" -msgstr "En desarrollo" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state____last_update -msgid "Last Modified on" -msgstr "Última modificación en" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__write_uid -msgid "Last Updated by" -msgstr "Última actualización por" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__write_date -msgid "Last Updated on" -msgstr "Última actualización en" - -#. module: product_state -#: model:product.state,name:product_state.product_state_sellable -msgid "Normal" -msgstr "Normal" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__products_count -msgid "Number of products" -msgstr "Número de productos" - -#. module: product_state -#: model:product.state,name:product_state.product_state_obsolete -msgid "Obsolete" -msgstr "Obsoleto" - -#. module: product_state -#: model:ir.actions.act_window,name:product_state.action_open_single_product_state -#: model:ir.model,name:product_state.model_product_state -#: model_terms:ir.ui.view,arch_db:product_state.product_state_search_form_view -msgid "Product State" -msgstr "Estado del producto" - -#. module: product_state -#: sql_constraint:product.state:0 -msgid "Product State Code must be unique." -msgstr "El código de estado del producto debe ser único." - -#. module: product_state -#: model:ir.ui.menu,name:product_state.menu_product_state -msgid "Product States" -msgstr "Estados del producto" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_product__state -#: model:ir.model.fields,field_description:product_state.field_product_template__state -msgid "Product Status" -msgstr "Estado de producto" - -#. module: product_state -#: model:ir.model,name:product_state.model_product_template -msgid "Product Template" -msgstr "Plantilla de producto" - -#. module: product_state -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_kanban -msgid "Products" -msgstr "Productos" - -#. module: product_state -#: model:ir.model.fields,help:product_state.field_product_product__product_state_id -#: model:ir.model.fields,help:product_state.field_product_template__product_state_id -msgid "Select a state for this product" -msgstr "Selecciona un estado para este producto" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__sequence -msgid "Sequence" -msgstr "Secuencia" - -#. module: product_state -#: model:ir.actions.act_window,name:product_state.action_product_state -#: model:ir.model.fields,field_description:product_state.field_product_product__product_state_id -#: model:ir.model.fields,field_description:product_state.field_product_template__product_state_id -#: model_terms:ir.ui.view,arch_db:product_state.view_product_template_search_state -msgid "State" -msgstr "Estado" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__code -msgid "State Code" -msgstr "Código del estado" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__name -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -msgid "State Name" -msgstr "Nombre del estado" - -#. module: product_state -#: model:ir.actions.act_window,name:product_state.action_open_state_products -#: model:ir.model.fields,field_description:product_state.field_product_state__product_ids -msgid "State Products" -msgstr "Productos del estado" - -#. module: product_state -#: model:ir.model.fields,help:product_state.field_product_state__sequence -msgid "Used to order the States" -msgstr "Utilizado para pedir a los estados" - -#. module: product_state -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_tree -msgid "product.state" -msgstr "producto.estado" diff --git a/product_state/i18n/fr.po b/product_state/i18n/fr.po deleted file mode 100644 index 0634888..0000000 --- a/product_state/i18n/fr.po +++ /dev/null @@ -1,177 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * product_state -# -# Translators: -# OCA Transbot , 2017 -# guillaume bauer , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-07-29 02:55+0000\n" -"PO-Revision-Date: 2017-07-29 02:55+0000\n" -"Last-Translator: guillaume bauer , 2017\n" -"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" -"Language: fr\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" - -#. module: product_state -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -msgid "Code" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__create_uid -msgid "Created by" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__create_date -msgid "Created on" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__description -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -msgid "Description" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__display_name -msgid "Display Name" -msgstr "" - -#. module: product_state -#: model:product.state,name:product_state.product_state_end -msgid "End of Lifecycle" -msgstr "Fin de vie" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__id -msgid "ID" -msgstr "" - -#. module: product_state -#: model:product.state,name:product_state.product_state_draft -msgid "In Development" -msgstr "Phase de recherche et de développement" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state____last_update -msgid "Last Modified on" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__write_uid -msgid "Last Updated by" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__write_date -msgid "Last Updated on" -msgstr "" - -#. module: product_state -#: model:product.state,name:product_state.product_state_sellable -msgid "Normal" -msgstr "Normal" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__products_count -msgid "Number of products" -msgstr "" - -#. module: product_state -#: model:product.state,name:product_state.product_state_obsolete -msgid "Obsolete" -msgstr "Obsolète" - -#. module: product_state -#: model:ir.actions.act_window,name:product_state.action_open_single_product_state -#: model:ir.model,name:product_state.model_product_state -#: model_terms:ir.ui.view,arch_db:product_state.product_state_search_form_view -#, fuzzy -msgid "Product State" -msgstr "Modèle de produit" - -#. module: product_state -#: sql_constraint:product.state:0 -msgid "Product State Code must be unique." -msgstr "" - -#. module: product_state -#: model:ir.ui.menu,name:product_state.menu_product_state -#, fuzzy -msgid "Product States" -msgstr "Modèle de produit" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_product__state -#: model:ir.model.fields,field_description:product_state.field_product_template__state -#, fuzzy -msgid "Product Status" -msgstr "Modèle de produit" - -#. module: product_state -#: model:ir.model,name:product_state.model_product_template -msgid "Product Template" -msgstr "Modèle de produit" - -#. module: product_state -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_kanban -msgid "Products" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,help:product_state.field_product_product__product_state_id -#: model:ir.model.fields,help:product_state.field_product_template__product_state_id -msgid "Select a state for this product" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__sequence -msgid "Sequence" -msgstr "" - -#. module: product_state -#: model:ir.actions.act_window,name:product_state.action_product_state -#: model:ir.model.fields,field_description:product_state.field_product_product__product_state_id -#: model:ir.model.fields,field_description:product_state.field_product_template__product_state_id -#: model_terms:ir.ui.view,arch_db:product_state.view_product_template_search_state -#, fuzzy -msgid "State" -msgstr "Statut" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__code -msgid "State Code" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__name -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -msgid "State Name" -msgstr "" - -#. module: product_state -#: model:ir.actions.act_window,name:product_state.action_open_state_products -#: model:ir.model.fields,field_description:product_state.field_product_state__product_ids -#, fuzzy -msgid "State Products" -msgstr "Statut" - -#. module: product_state -#: model:ir.model.fields,help:product_state.field_product_state__sequence -msgid "Used to order the States" -msgstr "" - -#. module: product_state -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_tree -#, fuzzy -msgid "product.state" -msgstr "Modèle de produit" diff --git a/product_state/i18n/hr.po b/product_state/i18n/hr.po deleted file mode 100644 index 7350acc..0000000 --- a/product_state/i18n/hr.po +++ /dev/null @@ -1,177 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * product_state -# -# Translators: -# Bole , 2018 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-01-29 08:49+0000\n" -"PO-Revision-Date: 2018-01-29 08:49+0000\n" -"Last-Translator: Bole , 2018\n" -"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\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" - -#. module: product_state -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -msgid "Code" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__create_uid -msgid "Created by" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__create_date -msgid "Created on" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__description -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -msgid "Description" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__display_name -msgid "Display Name" -msgstr "" - -#. module: product_state -#: model:product.state,name:product_state.product_state_end -msgid "End of Lifecycle" -msgstr "Kraj životnog ciklusa" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__id -msgid "ID" -msgstr "" - -#. module: product_state -#: model:product.state,name:product_state.product_state_draft -msgid "In Development" -msgstr "U razvoju" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state____last_update -msgid "Last Modified on" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__write_uid -msgid "Last Updated by" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__write_date -msgid "Last Updated on" -msgstr "" - -#. module: product_state -#: model:product.state,name:product_state.product_state_sellable -msgid "Normal" -msgstr "Normalno" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__products_count -msgid "Number of products" -msgstr "" - -#. module: product_state -#: model:product.state,name:product_state.product_state_obsolete -msgid "Obsolete" -msgstr "Zastarjelo" - -#. module: product_state -#: model:ir.actions.act_window,name:product_state.action_open_single_product_state -#: model:ir.model,name:product_state.model_product_state -#: model_terms:ir.ui.view,arch_db:product_state.product_state_search_form_view -#, fuzzy -msgid "Product State" -msgstr "Predložak proizvoda" - -#. module: product_state -#: sql_constraint:product.state:0 -msgid "Product State Code must be unique." -msgstr "" - -#. module: product_state -#: model:ir.ui.menu,name:product_state.menu_product_state -#, fuzzy -msgid "Product States" -msgstr "Predložak proizvoda" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_product__state -#: model:ir.model.fields,field_description:product_state.field_product_template__state -#, fuzzy -msgid "Product Status" -msgstr "Predložak proizvoda" - -#. module: product_state -#: model:ir.model,name:product_state.model_product_template -msgid "Product Template" -msgstr "Predložak proizvoda" - -#. module: product_state -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_kanban -msgid "Products" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,help:product_state.field_product_product__product_state_id -#: model:ir.model.fields,help:product_state.field_product_template__product_state_id -msgid "Select a state for this product" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__sequence -msgid "Sequence" -msgstr "" - -#. module: product_state -#: model:ir.actions.act_window,name:product_state.action_product_state -#: model:ir.model.fields,field_description:product_state.field_product_product__product_state_id -#: model:ir.model.fields,field_description:product_state.field_product_template__product_state_id -#: model_terms:ir.ui.view,arch_db:product_state.view_product_template_search_state -#, fuzzy -msgid "State" -msgstr "Status" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__code -msgid "State Code" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__name -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -msgid "State Name" -msgstr "" - -#. module: product_state -#: model:ir.actions.act_window,name:product_state.action_open_state_products -#: model:ir.model.fields,field_description:product_state.field_product_state__product_ids -#, fuzzy -msgid "State Products" -msgstr "Status" - -#. module: product_state -#: model:ir.model.fields,help:product_state.field_product_state__sequence -msgid "Used to order the States" -msgstr "" - -#. module: product_state -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_tree -#, fuzzy -msgid "product.state" -msgstr "Predložak proizvoda" diff --git a/product_state/i18n/nl_NL.po b/product_state/i18n/nl_NL.po deleted file mode 100644 index 8f9d873..0000000 --- a/product_state/i18n/nl_NL.po +++ /dev/null @@ -1,175 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * product_state -# -# Translators: -# Peter Hageman , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-27 04:44+0000\n" -"PO-Revision-Date: 2017-05-27 04:44+0000\n" -"Last-Translator: Peter Hageman , 2017\n" -"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/" -"teams/23907/nl_NL/)\n" -"Language: nl_NL\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" - -#. module: product_state -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -msgid "Code" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__create_uid -msgid "Created by" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__create_date -msgid "Created on" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__description -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -msgid "Description" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__display_name -msgid "Display Name" -msgstr "" - -#. module: product_state -#: model:product.state,name:product_state.product_state_end -msgid "End of Lifecycle" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__id -msgid "ID" -msgstr "" - -#. module: product_state -#: model:product.state,name:product_state.product_state_draft -msgid "In Development" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state____last_update -msgid "Last Modified on" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__write_uid -msgid "Last Updated by" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__write_date -msgid "Last Updated on" -msgstr "" - -#. module: product_state -#: model:product.state,name:product_state.product_state_sellable -msgid "Normal" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__products_count -msgid "Number of products" -msgstr "" - -#. module: product_state -#: model:product.state,name:product_state.product_state_obsolete -msgid "Obsolete" -msgstr "" - -#. module: product_state -#: model:ir.actions.act_window,name:product_state.action_open_single_product_state -#: model:ir.model,name:product_state.model_product_state -#: model_terms:ir.ui.view,arch_db:product_state.product_state_search_form_view -#, fuzzy -msgid "Product State" -msgstr "Productsjabloon" - -#. module: product_state -#: sql_constraint:product.state:0 -msgid "Product State Code must be unique." -msgstr "" - -#. module: product_state -#: model:ir.ui.menu,name:product_state.menu_product_state -#, fuzzy -msgid "Product States" -msgstr "Productsjabloon" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_product__state -#: model:ir.model.fields,field_description:product_state.field_product_template__state -#, fuzzy -msgid "Product Status" -msgstr "Productsjabloon" - -#. module: product_state -#: model:ir.model,name:product_state.model_product_template -msgid "Product Template" -msgstr "Productsjabloon" - -#. module: product_state -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_kanban -msgid "Products" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,help:product_state.field_product_product__product_state_id -#: model:ir.model.fields,help:product_state.field_product_template__product_state_id -msgid "Select a state for this product" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__sequence -msgid "Sequence" -msgstr "" - -#. module: product_state -#: model:ir.actions.act_window,name:product_state.action_product_state -#: model:ir.model.fields,field_description:product_state.field_product_product__product_state_id -#: model:ir.model.fields,field_description:product_state.field_product_template__product_state_id -#: model_terms:ir.ui.view,arch_db:product_state.view_product_template_search_state -msgid "State" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__code -msgid "State Code" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__name -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -msgid "State Name" -msgstr "" - -#. module: product_state -#: model:ir.actions.act_window,name:product_state.action_open_state_products -#: model:ir.model.fields,field_description:product_state.field_product_state__product_ids -msgid "State Products" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,help:product_state.field_product_state__sequence -msgid "Used to order the States" -msgstr "" - -#. module: product_state -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_tree -#, fuzzy -msgid "product.state" -msgstr "Productsjabloon" diff --git a/product_state/i18n/pt.po b/product_state/i18n/pt.po deleted file mode 100644 index b3b2fef..0000000 --- a/product_state/i18n/pt.po +++ /dev/null @@ -1,168 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * product_state -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2020-10-18 21:08+0000\n" -"Last-Translator: Pedro Castro Silva \n" -"Language-Team: none\n" -"Language: pt\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 3.10\n" - -#. module: product_state -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -msgid "Code" -msgstr "Código" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__create_uid -msgid "Created by" -msgstr "Criado por" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__create_date -msgid "Created on" -msgstr "Criado em" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__description -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -msgid "Description" -msgstr "Descrição" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__display_name -msgid "Display Name" -msgstr "Nome a Exibir" - -#. module: product_state -#: model:product.state,name:product_state.product_state_end -msgid "End of Lifecycle" -msgstr "Fim de Ciclo de Vida" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__id -msgid "ID" -msgstr "Id" - -#. module: product_state -#: model:product.state,name:product_state.product_state_draft -msgid "In Development" -msgstr "Em Desenvolvimento" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state____last_update -msgid "Last Modified on" -msgstr "Última Modificação em" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__write_uid -msgid "Last Updated by" -msgstr "Última Atualização por" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__write_date -msgid "Last Updated on" -msgstr "Última Atualização em" - -#. module: product_state -#: model:product.state,name:product_state.product_state_sellable -msgid "Normal" -msgstr "Normal" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__products_count -msgid "Number of products" -msgstr "Número de Produtos" - -#. module: product_state -#: model:product.state,name:product_state.product_state_obsolete -msgid "Obsolete" -msgstr "Obsoleto" - -#. module: product_state -#: model:ir.actions.act_window,name:product_state.action_open_single_product_state -#: model:ir.model,name:product_state.model_product_state -#: model_terms:ir.ui.view,arch_db:product_state.product_state_search_form_view -msgid "Product State" -msgstr "Estado do Produto" - -#. module: product_state -#: sql_constraint:product.state:0 -msgid "Product State Code must be unique." -msgstr "O Código de Estado do Produto tem que ser único." - -#. module: product_state -#: model:ir.ui.menu,name:product_state.menu_product_state -msgid "Product States" -msgstr "Estados de Produtos" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_product__state -#: model:ir.model.fields,field_description:product_state.field_product_template__state -msgid "Product Status" -msgstr "Estado de Produto" - -#. module: product_state -#: model:ir.model,name:product_state.model_product_template -msgid "Product Template" -msgstr "Modelo de Produto" - -#. module: product_state -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_kanban -msgid "Products" -msgstr "Produtos" - -#. module: product_state -#: model:ir.model.fields,help:product_state.field_product_product__product_state_id -#: model:ir.model.fields,help:product_state.field_product_template__product_state_id -msgid "Select a state for this product" -msgstr "Selecione um estado para este produto" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__sequence -msgid "Sequence" -msgstr "Sequência" - -#. module: product_state -#: model:ir.actions.act_window,name:product_state.action_product_state -#: model:ir.model.fields,field_description:product_state.field_product_product__product_state_id -#: model:ir.model.fields,field_description:product_state.field_product_template__product_state_id -#: model_terms:ir.ui.view,arch_db:product_state.view_product_template_search_state -msgid "State" -msgstr "Estado" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__code -msgid "State Code" -msgstr "Código do Estado" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__name -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -msgid "State Name" -msgstr "Nome do Estado" - -#. module: product_state -#: model:ir.actions.act_window,name:product_state.action_open_state_products -#: model:ir.model.fields,field_description:product_state.field_product_state__product_ids -msgid "State Products" -msgstr "Produtos do Estado" - -#. module: product_state -#: model:ir.model.fields,help:product_state.field_product_state__sequence -msgid "Used to order the States" -msgstr "Usado para ordenar os Estados" - -#. module: product_state -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_tree -msgid "product.state" -msgstr "" diff --git a/product_state/i18n/sl.po b/product_state/i18n/sl.po deleted file mode 100644 index 46bb468..0000000 --- a/product_state/i18n/sl.po +++ /dev/null @@ -1,175 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * product_state -# -# Translators: -# OCA Transbot , 2018 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-01-27 03:49+0000\n" -"PO-Revision-Date: 2018-01-27 03:49+0000\n" -"Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" -"Language: sl\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" -"%100==4 ? 2 : 3);\n" - -#. module: product_state -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -msgid "Code" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__create_uid -msgid "Created by" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__create_date -msgid "Created on" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__description -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -msgid "Description" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__display_name -msgid "Display Name" -msgstr "" - -#. module: product_state -#: model:product.state,name:product_state.product_state_end -msgid "End of Lifecycle" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__id -msgid "ID" -msgstr "" - -#. module: product_state -#: model:product.state,name:product_state.product_state_draft -msgid "In Development" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state____last_update -msgid "Last Modified on" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__write_uid -msgid "Last Updated by" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__write_date -msgid "Last Updated on" -msgstr "" - -#. module: product_state -#: model:product.state,name:product_state.product_state_sellable -msgid "Normal" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__products_count -msgid "Number of products" -msgstr "" - -#. module: product_state -#: model:product.state,name:product_state.product_state_obsolete -msgid "Obsolete" -msgstr "" - -#. module: product_state -#: model:ir.actions.act_window,name:product_state.action_open_single_product_state -#: model:ir.model,name:product_state.model_product_state -#: model_terms:ir.ui.view,arch_db:product_state.product_state_search_form_view -#, fuzzy -msgid "Product State" -msgstr "Predloga proizvoda" - -#. module: product_state -#: sql_constraint:product.state:0 -msgid "Product State Code must be unique." -msgstr "" - -#. module: product_state -#: model:ir.ui.menu,name:product_state.menu_product_state -#, fuzzy -msgid "Product States" -msgstr "Predloga proizvoda" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_product__state -#: model:ir.model.fields,field_description:product_state.field_product_template__state -#, fuzzy -msgid "Product Status" -msgstr "Predloga proizvoda" - -#. module: product_state -#: model:ir.model,name:product_state.model_product_template -msgid "Product Template" -msgstr "Predloga proizvoda" - -#. module: product_state -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_kanban -msgid "Products" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,help:product_state.field_product_product__product_state_id -#: model:ir.model.fields,help:product_state.field_product_template__product_state_id -msgid "Select a state for this product" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__sequence -msgid "Sequence" -msgstr "" - -#. module: product_state -#: model:ir.actions.act_window,name:product_state.action_product_state -#: model:ir.model.fields,field_description:product_state.field_product_product__product_state_id -#: model:ir.model.fields,field_description:product_state.field_product_template__product_state_id -#: model_terms:ir.ui.view,arch_db:product_state.view_product_template_search_state -msgid "State" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__code -msgid "State Code" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,field_description:product_state.field_product_state__name -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_form -msgid "State Name" -msgstr "" - -#. module: product_state -#: model:ir.actions.act_window,name:product_state.action_open_state_products -#: model:ir.model.fields,field_description:product_state.field_product_state__product_ids -msgid "State Products" -msgstr "" - -#. module: product_state -#: model:ir.model.fields,help:product_state.field_product_state__sequence -msgid "Used to order the States" -msgstr "" - -#. module: product_state -#: model_terms:ir.ui.view,arch_db:product_state.view_product_state_tree -#, fuzzy -msgid "product.state" -msgstr "Predloga proizvoda" diff --git a/product_state/models/__init__.py b/product_state/models/__init__.py deleted file mode 100644 index 437a4f0..0000000 --- a/product_state/models/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# Copyright 2017 ACSONE SA/NV () -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). - -from . import product_template diff --git a/product_state/models/product_template.py b/product_state/models/product_template.py deleted file mode 100644 index c706316..0000000 --- a/product_state/models/product_template.py +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 2017 ACSONE SA/NV () -# Copyright 2020 Tecnativa - Pedro M. Baeza -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). - -from odoo import api, models, fields - - -class ProductState(models.Model): - _name = "product.state" - _description = "Product State" - _order = "sequence, id" - - name = fields.Char("State Name", required=True, translate=True) - code = fields.Char("State Code", required=True) - sequence = fields.Integer("Sequence", help="Used to order the States", default=25) - description = fields.Text(translate=True) - product_ids = fields.One2many( - "product.template", "product_state_id", string="State Products", - ) - products_count = fields.Integer( - string="Number of products", compute="_compute_products_count", - ) - - _sql_constraints = [ - ("code_unique", "UNIQUE(code)", "Product State Code must be unique.") - ] - - @api.depends("product_ids") - def _compute_products_count(self): - data = self.env["product.template"].read_group( - [("product_state_id", "in", self.ids)], - ["product_state_id"], - ["product_state_id"], - ) - mapped_data = { - record["product_state_id"][0]: record["product_state_id_count"] - for record in data - } - for state in self: - state.products_count = mapped_data.get(state.id, 0) - - -class ProductTemplate(models.Model): - _inherit = "product.template" - - state = fields.Char( - string="Product Status", - index=True, - compute="_compute_product_state", - inverse="_inverse_product_state", - store=True, - ) - product_state_id = fields.Many2one( - "product.state", string="State", help="Select a state for this product", - ) - - @api.depends("product_state_id") - def _compute_product_state(self): - for product_tmpl in self: - product_tmpl.state = product_tmpl.product_state_id.code - - def _inverse_product_state(self): - ProductState = self.env["product.state"] - state_mapping = {} - for product_tmpl in self.filtered("state"): - product_state = state_mapping.get(product_tmpl.state) - if not product_state: - product_state = ProductState.search( - [("code", "=", product_tmpl.state)], limit=1 - ) - if not product_state: - product_state = ProductState.create({ - "name": product_tmpl.state, - "code": product_tmpl.state, - }) - state_mapping[product_tmpl.state] = product_state - if product_tmpl.product_state_id != product_state: - product_tmpl.product_state_id = product_state - self.filtered(lambda x: not x.state).write({'product_state_id': False}) diff --git a/product_state/readme/CONTRIBUTORS.rst b/product_state/readme/CONTRIBUTORS.rst deleted file mode 100644 index ce54243..0000000 --- a/product_state/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,5 +0,0 @@ -* Cedric Pigeon -* Alexandre Saunier -* Nikul Chaudhary -* Eduardo Magdalena (C2i Change 2 improve http://www.c2i.es) -* Andrii Skrypka diff --git a/product_state/readme/DESCRIPTION.rst b/product_state/readme/DESCRIPTION.rst deleted file mode 100644 index 3e27c23..0000000 --- a/product_state/readme/DESCRIPTION.rst +++ /dev/null @@ -1,6 +0,0 @@ -This module introduces the state field on product template and allows simple product life cycle: - -- draft: In Development -- sellable: Normal -- end: End of Lifecycle -- obsolete: Obsolete diff --git a/product_state/readme/USAGE.rst b/product_state/readme/USAGE.rst deleted file mode 100644 index 1c5324f..0000000 --- a/product_state/readme/USAGE.rst +++ /dev/null @@ -1,9 +0,0 @@ -To create a new state: - -#. Go to *Sales > Configuration > Products > Product States*. -#. You can set its name and a description. - -To add a product to a state: - -#. Go to the product itself and edit. -#. You can select the desired status in the list of buttons above the form. diff --git a/product_state/security/ir.model.access.csv b/product_state/security/ir.model.access.csv deleted file mode 100644 index 742e023..0000000 --- a/product_state/security/ir.model.access.csv +++ /dev/null @@ -1,3 +0,0 @@ -"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" -"access_product_state_product_manager","product.state","model_product_state","base.group_partner_manager",1,1,1,1 -"access_product_state_public","product.state.public","model_product_state",,1,0,0,0 diff --git a/product_state/static/description/icon.png b/product_state/static/description/icon.png deleted file mode 100644 index 3a0328b..0000000 Binary files a/product_state/static/description/icon.png and /dev/null differ diff --git a/product_state/static/description/index.html b/product_state/static/description/index.html deleted file mode 100644 index fe6fab6..0000000 --- a/product_state/static/description/index.html +++ /dev/null @@ -1,445 +0,0 @@ - - - - - - -Product State - - - -
-

Product State

- - -

Beta License: AGPL-3 OCA/product-attribute Translate me on Weblate Try me on Runbot

-

This module introduces the state field on product template and allows simple product life cycle:

-
    -
  • draft: In Development
  • -
  • sellable: Normal
  • -
  • end: End of Lifecycle
  • -
  • obsolete: Obsolete
  • -
-

Table of contents

- -
-

Usage

-

To create a new state:

-
    -
  1. Go to Sales > Configuration > Products > Product States.
  2. -
  3. You can set its name and a description.
  4. -
-

To add a product to a state:

-
    -
  1. Go to the product itself and edit.
  2. -
  3. You can select the desired status in the list of buttons above the form.
  4. -
-
-
-

Bug Tracker

-

Bugs are tracked on GitHub Issues. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us smashing it by providing a detailed and welcomed -feedback.

-

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

-
-
-

Credits

-
-

Authors

-
    -
  • ACSONE SA/NV
  • -
-
-
-

Contributors

- -
-
-

Maintainers

-

This module is maintained by the OCA.

-Odoo Community Association -

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.

-

Current maintainer:

-

emagdalenaC2i

-

This module is part of the OCA/product-attribute project on GitHub.

-

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

-
-
-
- - diff --git a/product_state/views/product_views.xml b/product_state/views/product_views.xml deleted file mode 100644 index 663825c..0000000 --- a/product_state/views/product_views.xml +++ /dev/null @@ -1,139 +0,0 @@ - - - - product.state.search.form - product.state - - - - - - - - - - product.state.form - product.state - -
- -
- -
-
-
- - - - - - -
-
-
-
- - product.state.tree - product.state - - - - - - - - - product.state.kanban - product.state - - - - - - - -
-
-

- -

- -
-
-
-
-
-
-
- - product.template.search.state - product.template - - - - - - - - - - - product.template.common.form - product.template - - -
- - -
-
-
- - product.template.tree (product_state_id) - product.template - - 50 - - - - - - - State - product.state - kanban,form,tree - - -
diff --git a/stock_picking_deposito/models/__init__.py b/stock_picking_deposito/models/__init__.py index f87125f..6a3700b 100644 --- a/stock_picking_deposito/models/__init__.py +++ b/stock_picking_deposito/models/__init__.py @@ -2,4 +2,3 @@ from . import stock_picking from . import res_partner from . import res_config_settings from . import res_company -from . import account_invoice diff --git a/stock_picking_deposito/models/account_invoice.py b/stock_picking_deposito/models/account_invoice.py deleted file mode 100644 index 6260c88..0000000 --- a/stock_picking_deposito/models/account_invoice.py +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright (C) 2021: Criptomart () -# @author: Criptomart () -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -import logging - -from odoo import models, fields, api, _ -from odoo.exceptions import ValidationError, Warning - -_logger = logging.getLogger(__name__) - -class AccountInvoice(models.Model): - _inherit = 'account.invoice' - - @api.constrains('partner_id', 'partner_bank_id') - def validate_partner_bank_id(self): - for record in self: - if record.partner_bank_id: - if record.type in ('in_invoice', 'out_refund') and record.partner_bank_id.partner_id != record.partner_id.commercial_partner_id: - _logger.warning(_("Commercial partner and vendor account owners must be identical.")) - record.partner_bank_id = False - elif record.type in ('out_invoice', 'in_refund') and not record.company_id in record.partner_bank_id.partner_id.ref_company_ids: - raise ValidationError(_("The account selected for payment does not belong to the same company as this invoice.")) - diff --git a/stock_picking_deposito/models/res_partner.py b/stock_picking_deposito/models/res_partner.py index 935296d..a71c246 100644 --- a/stock_picking_deposito/models/res_partner.py +++ b/stock_picking_deposito/models/res_partner.py @@ -71,7 +71,7 @@ class ResPartner(models.Model): return super().write(vals) def make_liquidation_buy(self, context = None): - invoice_obj = self.env['account.invoice'] + invoice_obj = self.env['account.move'] search_vals = [ ('location_id', '=', self.deposit_buy_location_id.id),'|', ('location_dest_id', '=', self.env.ref('stock.stock_location_customers').id), @@ -110,11 +110,11 @@ class ResPartner(models.Model): 'invoice_line_ids': product_list, 'company_id': self.company_id.id, }) - invoice = self.env['account.invoice'].create(invoice_vals) + invoice = invoice_obj.create(invoice_vals) views = [(self.env.ref('account.invoice_form').id, 'form')] return { 'type': 'ir.actions.act_window', - 'res_model': 'account.invoice', + 'res_model': 'account.move', 'res_id': invoice.id, 'target': 'current', 'views': views, @@ -134,7 +134,7 @@ class ResPartner(models.Model): stock_lines = self.env['stock.quant'].search(search_vals) product_list = [] for mv in stock_lines: - if mv.quantity > 0: + if mv.quantity > 0: product_list.append([0, False, { 'product_id': mv.product_id.id, 'product_uom_qty': mv.quantity,