合并企业版代码(未测试,先提交到测试分支)

This commit is contained in:
qihao.gong@jikimo.com
2023-04-14 17:42:23 +08:00
parent 7a7b3d7126
commit d28525526a
1300 changed files with 513579 additions and 5426 deletions

View File

@@ -0,0 +1,4 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import models

View File

@@ -0,0 +1,25 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
{
'name': 'MRP II - Expiry',
'version': '1.0',
'category': 'Manufacturing/Manufacturing',
'summary': 'MRP Workorder Expiry',
'description': """
Technical module.
""",
'depends': ['mrp_workorder', 'product_expiry'],
'data': [
'views/quality_views.xml',
'wizard/confirm_expiry_view.xml',
],
'installable': True,
'auto_install': True,
'assets': {
'web.assets_backend': [
'mrp_workorder_expiry/static/**/*',
],
},
'license': 'OEEL-1',
}

View File

@@ -0,0 +1,41 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_workorder_expiry
#
# Translators:
# Martin Trigaux, 2022
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-20 09:49+0000\n"
"PO-Revision-Date: 2022-09-22 05:47+0000\n"
"Last-Translator: Martin Trigaux, 2022\n"
"Language-Team: Arabic (https://www.transifex.com/odoo/teams/41243/ar/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ar\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
#. module: mrp_workorder_expiry
#: model_terms:ir.ui.view,arch_db:mrp_workorder_expiry.quality_check_view_form_tablet_inherit_expiry
msgid "<span class=\"fa fa-exclamation-triangle\"/> This lot is expired."
msgstr ""
"<span class=\"fa fa-exclamation-triangle\"/> لقد انتهت صلاحية هذه الدفعة. "
#. module: mrp_workorder_expiry
#: model:ir.model.fields,field_description:mrp_workorder_expiry.field_quality_check__is_expired
msgid "Product Expiry Alert"
msgstr "تنبيه انتهاء صلاحية المنتج"
#. module: mrp_workorder_expiry
#: model:ir.model,name:mrp_workorder_expiry.model_quality_check
msgid "Quality Check"
msgstr "فحص الجودة"
#. module: mrp_workorder_expiry
#: model:ir.model.fields,help:mrp_workorder_expiry.field_quality_check__is_expired
msgid "The Expiration Date has been reached."
msgstr "تم الوصول إلى تاريخ انتهاء الصلاحية. "

View File

@@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_workorder_expiry
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-20 09:49+0000\n"
"PO-Revision-Date: 2022-09-22 05:47+0000\n"
"Language-Team: Azerbaijani (https://www.transifex.com/odoo/teams/41243/az/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: az\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: mrp_workorder_expiry
#: model_terms:ir.ui.view,arch_db:mrp_workorder_expiry.quality_check_view_form_tablet_inherit_expiry
msgid "<span class=\"fa fa-exclamation-triangle\"/> This lot is expired."
msgstr ""
#. module: mrp_workorder_expiry
#: model:ir.model.fields,field_description:mrp_workorder_expiry.field_quality_check__is_expired
msgid "Product Expiry Alert"
msgstr ""
#. module: mrp_workorder_expiry
#: model:ir.model,name:mrp_workorder_expiry.model_quality_check
msgid "Quality Check"
msgstr ""
#. module: mrp_workorder_expiry
#: model:ir.model.fields,help:mrp_workorder_expiry.field_quality_check__is_expired
msgid "The Expiration Date has been reached."
msgstr ""

View File

@@ -0,0 +1,41 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_workorder_expiry
#
# Translators:
# Arnau Ros, 2022
# marcescu, 2022
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-20 09:49+0000\n"
"PO-Revision-Date: 2022-09-22 05:47+0000\n"
"Last-Translator: marcescu, 2022\n"
"Language-Team: Catalan (https://www.transifex.com/odoo/teams/41243/ca/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ca\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: mrp_workorder_expiry
#: model_terms:ir.ui.view,arch_db:mrp_workorder_expiry.quality_check_view_form_tablet_inherit_expiry
msgid "<span class=\"fa fa-exclamation-triangle\"/> This lot is expired."
msgstr "<span class=\"fa fa-exclamation-triangle\"/>Aquest lot ha caducat. "
#. module: mrp_workorder_expiry
#: model:ir.model.fields,field_description:mrp_workorder_expiry.field_quality_check__is_expired
msgid "Product Expiry Alert"
msgstr "Alerta de caducitat del producte"
#. module: mrp_workorder_expiry
#: model:ir.model,name:mrp_workorder_expiry.model_quality_check
msgid "Quality Check"
msgstr "Comprovació de qualitat"
#. module: mrp_workorder_expiry
#: model:ir.model.fields,help:mrp_workorder_expiry.field_quality_check__is_expired
msgid "The Expiration Date has been reached."
msgstr "S'ha assolit la data de caducitat."

View File

@@ -0,0 +1,42 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_workorder_expiry
#
# Translators:
# trendspotter <jirka.p@volny.cz>, 2022
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-20 09:49+0000\n"
"PO-Revision-Date: 2022-09-22 05:47+0000\n"
"Last-Translator: trendspotter <jirka.p@volny.cz>, 2022\n"
"Language-Team: Czech (https://www.transifex.com/odoo/teams/41243/cs/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: cs\n"
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
#. module: mrp_workorder_expiry
#: model_terms:ir.ui.view,arch_db:mrp_workorder_expiry.quality_check_view_form_tablet_inherit_expiry
msgid "<span class=\"fa fa-exclamation-triangle\"/> This lot is expired."
msgstr ""
"<span class=\"fa fa-exclamation-triangle\"/> Tomuto produktovému číslu "
"vypršela platnost"
#. module: mrp_workorder_expiry
#: model:ir.model.fields,field_description:mrp_workorder_expiry.field_quality_check__is_expired
msgid "Product Expiry Alert"
msgstr ""
#. module: mrp_workorder_expiry
#: model:ir.model,name:mrp_workorder_expiry.model_quality_check
msgid "Quality Check"
msgstr "Kontrola kvality"
#. module: mrp_workorder_expiry
#: model:ir.model.fields,help:mrp_workorder_expiry.field_quality_check__is_expired
msgid "The Expiration Date has been reached."
msgstr ""

View File

@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_workorder_expiry
#
# Translators:
# Martin Trigaux, 2022
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-20 09:49+0000\n"
"PO-Revision-Date: 2022-09-22 05:47+0000\n"
"Last-Translator: Martin Trigaux, 2022\n"
"Language-Team: German (https://www.transifex.com/odoo/teams/41243/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: mrp_workorder_expiry
#: model_terms:ir.ui.view,arch_db:mrp_workorder_expiry.quality_check_view_form_tablet_inherit_expiry
msgid "<span class=\"fa fa-exclamation-triangle\"/> This lot is expired."
msgstr "<span class=\"fa fa-exclamation-triangle\"/> Diese Charge ist abgelaufen."
#. module: mrp_workorder_expiry
#: model:ir.model.fields,field_description:mrp_workorder_expiry.field_quality_check__is_expired
msgid "Product Expiry Alert"
msgstr "Produkt Ablaufmeldung"
#. module: mrp_workorder_expiry
#: model:ir.model,name:mrp_workorder_expiry.model_quality_check
msgid "Quality Check"
msgstr "Qualitätskontrolle"
#. module: mrp_workorder_expiry
#: model:ir.model.fields,help:mrp_workorder_expiry.field_quality_check__is_expired
msgid "The Expiration Date has been reached."
msgstr "Das Ablaufdatum wurde erreicht."

View File

@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_workorder_expiry
#
# Translators:
# Martin Trigaux, 2022
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-20 09:49+0000\n"
"PO-Revision-Date: 2022-09-22 05:47+0000\n"
"Last-Translator: Martin Trigaux, 2022\n"
"Language-Team: Spanish (https://www.transifex.com/odoo/teams/41243/es/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: es\n"
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
#. module: mrp_workorder_expiry
#: model_terms:ir.ui.view,arch_db:mrp_workorder_expiry.quality_check_view_form_tablet_inherit_expiry
msgid "<span class=\"fa fa-exclamation-triangle\"/> This lot is expired."
msgstr "<span class=\"fa fa-exclamation-triangle\"/> Este lote ha caducado."
#. module: mrp_workorder_expiry
#: model:ir.model.fields,field_description:mrp_workorder_expiry.field_quality_check__is_expired
msgid "Product Expiry Alert"
msgstr "Alerta de caducidad del producto"
#. module: mrp_workorder_expiry
#: model:ir.model,name:mrp_workorder_expiry.model_quality_check
msgid "Quality Check"
msgstr "Control de calidad"
#. module: mrp_workorder_expiry
#: model:ir.model.fields,help:mrp_workorder_expiry.field_quality_check__is_expired
msgid "The Expiration Date has been reached."
msgstr "Se llegó a la fecha de caducidad."

View File

@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_workorder_expiry
#
# Translators:
# Braulio D. López Vázquez <bdl@odoo.com>, 2022
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-20 09:49+0000\n"
"PO-Revision-Date: 2022-09-22 05:47+0000\n"
"Last-Translator: Braulio D. López Vázquez <bdl@odoo.com>, 2022\n"
"Language-Team: Spanish (Mexico) (https://www.transifex.com/odoo/teams/41243/es_MX/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: es_MX\n"
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
#. module: mrp_workorder_expiry
#: model_terms:ir.ui.view,arch_db:mrp_workorder_expiry.quality_check_view_form_tablet_inherit_expiry
msgid "<span class=\"fa fa-exclamation-triangle\"/> This lot is expired."
msgstr "<span class=\"fa fa-exclamation-triangle\"/> Este lote expiró."
#. module: mrp_workorder_expiry
#: model:ir.model.fields,field_description:mrp_workorder_expiry.field_quality_check__is_expired
msgid "Product Expiry Alert"
msgstr "Alerta de expiración del producto"
#. module: mrp_workorder_expiry
#: model:ir.model,name:mrp_workorder_expiry.model_quality_check
msgid "Quality Check"
msgstr "Control de calidad"
#. module: mrp_workorder_expiry
#: model:ir.model.fields,help:mrp_workorder_expiry.field_quality_check__is_expired
msgid "The Expiration Date has been reached."
msgstr "Se llegó a la fecha de expiración."

View File

@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_workorder_expiry
#
# Translators:
# Martin Trigaux, 2022
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-20 09:49+0000\n"
"PO-Revision-Date: 2022-09-22 05:47+0000\n"
"Last-Translator: Martin Trigaux, 2022\n"
"Language-Team: French (https://www.transifex.com/odoo/teams/41243/fr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: fr\n"
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
#. module: mrp_workorder_expiry
#: model_terms:ir.ui.view,arch_db:mrp_workorder_expiry.quality_check_view_form_tablet_inherit_expiry
msgid "<span class=\"fa fa-exclamation-triangle\"/> This lot is expired."
msgstr "<span class=\"fa fa-exclamation-triangle\"/> Ce lot est expiré."
#. module: mrp_workorder_expiry
#: model:ir.model.fields,field_description:mrp_workorder_expiry.field_quality_check__is_expired
msgid "Product Expiry Alert"
msgstr "Alerte d'expiration de produit"
#. module: mrp_workorder_expiry
#: model:ir.model,name:mrp_workorder_expiry.model_quality_check
msgid "Quality Check"
msgstr "Contrôle qualité"
#. module: mrp_workorder_expiry
#: model:ir.model.fields,help:mrp_workorder_expiry.field_quality_check__is_expired
msgid "The Expiration Date has been reached."
msgstr "La date d'expiration a été atteinte."

View File

@@ -0,0 +1,41 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_workorder_expiry
#
# Translators:
# ZVI BLONDER <ZVIBLONDER@gmail.com>, 2022
# דודי מלכה <Dudimalka6@gmail.com>, 2022
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-20 09:49+0000\n"
"PO-Revision-Date: 2022-09-22 05:47+0000\n"
"Last-Translator: דודי מלכה <Dudimalka6@gmail.com>, 2022\n"
"Language-Team: Hebrew (https://www.transifex.com/odoo/teams/41243/he/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: he\n"
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n"
#. module: mrp_workorder_expiry
#: model_terms:ir.ui.view,arch_db:mrp_workorder_expiry.quality_check_view_form_tablet_inherit_expiry
msgid "<span class=\"fa fa-exclamation-triangle\"/> This lot is expired."
msgstr ""
#. module: mrp_workorder_expiry
#: model:ir.model.fields,field_description:mrp_workorder_expiry.field_quality_check__is_expired
msgid "Product Expiry Alert"
msgstr "התראת פקיעת תוקף מוצר"
#. module: mrp_workorder_expiry
#: model:ir.model,name:mrp_workorder_expiry.model_quality_check
msgid "Quality Check"
msgstr "בדיקת איכות"
#. module: mrp_workorder_expiry
#: model:ir.model.fields,help:mrp_workorder_expiry.field_quality_check__is_expired
msgid "The Expiration Date has been reached."
msgstr ""

View File

@@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_workorder_expiry
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-20 09:49+0000\n"
"PO-Revision-Date: 2022-09-22 05:47+0000\n"
"Language-Team: Indonesian (https://www.transifex.com/odoo/teams/41243/id/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: id\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: mrp_workorder_expiry
#: model_terms:ir.ui.view,arch_db:mrp_workorder_expiry.quality_check_view_form_tablet_inherit_expiry
msgid "<span class=\"fa fa-exclamation-triangle\"/> This lot is expired."
msgstr ""
#. module: mrp_workorder_expiry
#: model:ir.model.fields,field_description:mrp_workorder_expiry.field_quality_check__is_expired
msgid "Product Expiry Alert"
msgstr ""
#. module: mrp_workorder_expiry
#: model:ir.model,name:mrp_workorder_expiry.model_quality_check
msgid "Quality Check"
msgstr ""
#. module: mrp_workorder_expiry
#: model:ir.model.fields,help:mrp_workorder_expiry.field_quality_check__is_expired
msgid "The Expiration Date has been reached."
msgstr ""

View File

@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_workorder_expiry
#
# Translators:
# Martin Trigaux, 2022
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-20 09:49+0000\n"
"PO-Revision-Date: 2022-09-22 05:47+0000\n"
"Last-Translator: Martin Trigaux, 2022\n"
"Language-Team: Italian (https://www.transifex.com/odoo/teams/41243/it/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: it\n"
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
#. module: mrp_workorder_expiry
#: model_terms:ir.ui.view,arch_db:mrp_workorder_expiry.quality_check_view_form_tablet_inherit_expiry
msgid "<span class=\"fa fa-exclamation-triangle\"/> This lot is expired."
msgstr "<span class=\"fa fa-exclamation-triangle\"/> Il lotto è scaduto."
#. module: mrp_workorder_expiry
#: model:ir.model.fields,field_description:mrp_workorder_expiry.field_quality_check__is_expired
msgid "Product Expiry Alert"
msgstr "Avviso scadenza prodotto"
#. module: mrp_workorder_expiry
#: model:ir.model,name:mrp_workorder_expiry.model_quality_check
msgid "Quality Check"
msgstr "Controllo qualità"
#. module: mrp_workorder_expiry
#: model:ir.model.fields,help:mrp_workorder_expiry.field_quality_check__is_expired
msgid "The Expiration Date has been reached."
msgstr "È stata raggiunta la data di scadenza."

View File

@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_workorder_expiry
#
# Translators:
# Martin Trigaux, 2022
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-20 09:49+0000\n"
"PO-Revision-Date: 2022-09-22 05:47+0000\n"
"Last-Translator: Martin Trigaux, 2022\n"
"Language-Team: Japanese (https://www.transifex.com/odoo/teams/41243/ja/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ja\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: mrp_workorder_expiry
#: model_terms:ir.ui.view,arch_db:mrp_workorder_expiry.quality_check_view_form_tablet_inherit_expiry
msgid "<span class=\"fa fa-exclamation-triangle\"/> This lot is expired."
msgstr ""
#. module: mrp_workorder_expiry
#: model:ir.model.fields,field_description:mrp_workorder_expiry.field_quality_check__is_expired
msgid "Product Expiry Alert"
msgstr ""
#. module: mrp_workorder_expiry
#: model:ir.model,name:mrp_workorder_expiry.model_quality_check
msgid "Quality Check"
msgstr "品質検査"
#. module: mrp_workorder_expiry
#: model:ir.model.fields,help:mrp_workorder_expiry.field_quality_check__is_expired
msgid "The Expiration Date has been reached."
msgstr ""

View File

@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_workorder_expiry
#
# Translators:
# Martin Trigaux, 2022
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-20 09:49+0000\n"
"PO-Revision-Date: 2022-09-22 05:47+0000\n"
"Last-Translator: Martin Trigaux, 2022\n"
"Language-Team: Korean (https://www.transifex.com/odoo/teams/41243/ko/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ko\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: mrp_workorder_expiry
#: model_terms:ir.ui.view,arch_db:mrp_workorder_expiry.quality_check_view_form_tablet_inherit_expiry
msgid "<span class=\"fa fa-exclamation-triangle\"/> This lot is expired."
msgstr ""
#. module: mrp_workorder_expiry
#: model:ir.model.fields,field_description:mrp_workorder_expiry.field_quality_check__is_expired
msgid "Product Expiry Alert"
msgstr "품목 만료 경고"
#. module: mrp_workorder_expiry
#: model:ir.model,name:mrp_workorder_expiry.model_quality_check
msgid "Quality Check"
msgstr "품질 검사"
#. module: mrp_workorder_expiry
#: model:ir.model.fields,help:mrp_workorder_expiry.field_quality_check__is_expired
msgid "The Expiration Date has been reached."
msgstr "유통기한이 임박했습니다."

View File

@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_workorder_expiry
#
# Translators:
# Martin Trigaux, 2022
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-20 09:49+0000\n"
"PO-Revision-Date: 2022-09-22 05:47+0000\n"
"Last-Translator: Martin Trigaux, 2022\n"
"Language-Team: Norwegian Bokmål (https://www.transifex.com/odoo/teams/41243/nb/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: nb\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: mrp_workorder_expiry
#: model_terms:ir.ui.view,arch_db:mrp_workorder_expiry.quality_check_view_form_tablet_inherit_expiry
msgid "<span class=\"fa fa-exclamation-triangle\"/> This lot is expired."
msgstr ""
#. module: mrp_workorder_expiry
#: model:ir.model.fields,field_description:mrp_workorder_expiry.field_quality_check__is_expired
msgid "Product Expiry Alert"
msgstr "Utløpsvarsel for produkt"
#. module: mrp_workorder_expiry
#: model:ir.model,name:mrp_workorder_expiry.model_quality_check
msgid "Quality Check"
msgstr "Kvalitetskontroll"
#. module: mrp_workorder_expiry
#: model:ir.model.fields,help:mrp_workorder_expiry.field_quality_check__is_expired
msgid "The Expiration Date has been reached."
msgstr ""

View File

@@ -0,0 +1,41 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_workorder_expiry
#
# Translators:
# Martin Trigaux, 2022
# Erwin van der Ploeg <erwin@odooexperts.nl>, 2022
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-20 09:49+0000\n"
"PO-Revision-Date: 2022-09-22 05:47+0000\n"
"Last-Translator: Erwin van der Ploeg <erwin@odooexperts.nl>, 2022\n"
"Language-Team: Dutch (https://www.transifex.com/odoo/teams/41243/nl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: nl\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: mrp_workorder_expiry
#: model_terms:ir.ui.view,arch_db:mrp_workorder_expiry.quality_check_view_form_tablet_inherit_expiry
msgid "<span class=\"fa fa-exclamation-triangle\"/> This lot is expired."
msgstr "<span class=\"fa fa-exclamation-triangle\"/> Deze partij is vervallen."
#. module: mrp_workorder_expiry
#: model:ir.model.fields,field_description:mrp_workorder_expiry.field_quality_check__is_expired
msgid "Product Expiry Alert"
msgstr "Product vervalwaarschuwing"
#. module: mrp_workorder_expiry
#: model:ir.model,name:mrp_workorder_expiry.model_quality_check
msgid "Quality Check"
msgstr "Kwaliteitscontrole"
#. module: mrp_workorder_expiry
#: model:ir.model.fields,help:mrp_workorder_expiry.field_quality_check__is_expired
msgid "The Expiration Date has been reached."
msgstr "De vervaldatum is bereikt."

View File

@@ -0,0 +1,41 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_workorder_expiry
#
# Translators:
# Foldi Robert <foldirobert@nexterp.ro>, 2022
# Hongu Cosmin <cosmin513@gmail.com>, 2022
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-20 09:49+0000\n"
"PO-Revision-Date: 2022-09-22 05:47+0000\n"
"Last-Translator: Hongu Cosmin <cosmin513@gmail.com>, 2022\n"
"Language-Team: Romanian (https://www.transifex.com/odoo/teams/41243/ro/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ro\n"
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
#. module: mrp_workorder_expiry
#: model_terms:ir.ui.view,arch_db:mrp_workorder_expiry.quality_check_view_form_tablet_inherit_expiry
msgid "<span class=\"fa fa-exclamation-triangle\"/> This lot is expired."
msgstr ""
#. module: mrp_workorder_expiry
#: model:ir.model.fields,field_description:mrp_workorder_expiry.field_quality_check__is_expired
msgid "Product Expiry Alert"
msgstr ""
#. module: mrp_workorder_expiry
#: model:ir.model,name:mrp_workorder_expiry.model_quality_check
msgid "Quality Check"
msgstr "Verificare Calitate"
#. module: mrp_workorder_expiry
#: model:ir.model.fields,help:mrp_workorder_expiry.field_quality_check__is_expired
msgid "The Expiration Date has been reached."
msgstr "Data de expirare a fost atinsă."

View File

@@ -0,0 +1,41 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_workorder_expiry
#
# Translators:
# Ivan Kropotkin <yelizariev@itpp.dev>, 2022
# Martin Trigaux, 2022
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-20 09:49+0000\n"
"PO-Revision-Date: 2022-09-22 05:47+0000\n"
"Last-Translator: Martin Trigaux, 2022\n"
"Language-Team: Russian (https://www.transifex.com/odoo/teams/41243/ru/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ru\n"
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
#. module: mrp_workorder_expiry
#: model_terms:ir.ui.view,arch_db:mrp_workorder_expiry.quality_check_view_form_tablet_inherit_expiry
msgid "<span class=\"fa fa-exclamation-triangle\"/> This lot is expired."
msgstr ""
#. module: mrp_workorder_expiry
#: model:ir.model.fields,field_description:mrp_workorder_expiry.field_quality_check__is_expired
msgid "Product Expiry Alert"
msgstr "Оповещения об окончании срока действия товара"
#. module: mrp_workorder_expiry
#: model:ir.model,name:mrp_workorder_expiry.model_quality_check
msgid "Quality Check"
msgstr "Проверка качества"
#. module: mrp_workorder_expiry
#: model:ir.model.fields,help:mrp_workorder_expiry.field_quality_check__is_expired
msgid "The Expiration Date has been reached."
msgstr ""

View File

@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_workorder_expiry
#
# Translators:
# Wichanon Jamwutthipreecha, 2022
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-20 09:49+0000\n"
"PO-Revision-Date: 2022-09-22 05:47+0000\n"
"Last-Translator: Wichanon Jamwutthipreecha, 2022\n"
"Language-Team: Thai (https://www.transifex.com/odoo/teams/41243/th/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: th\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: mrp_workorder_expiry
#: model_terms:ir.ui.view,arch_db:mrp_workorder_expiry.quality_check_view_form_tablet_inherit_expiry
msgid "<span class=\"fa fa-exclamation-triangle\"/> This lot is expired."
msgstr "<span class=\"fa fa-exclamation-triangle\"/> ล็อตนี้หมดอายุแล้ว"
#. module: mrp_workorder_expiry
#: model:ir.model.fields,field_description:mrp_workorder_expiry.field_quality_check__is_expired
msgid "Product Expiry Alert"
msgstr "การแจ้งเตือนการหมดอายุของสินค้า"
#. module: mrp_workorder_expiry
#: model:ir.model,name:mrp_workorder_expiry.model_quality_check
msgid "Quality Check"
msgstr "การตรวจสอบคุณภาพ"
#. module: mrp_workorder_expiry
#: model:ir.model.fields,help:mrp_workorder_expiry.field_quality_check__is_expired
msgid "The Expiration Date has been reached."
msgstr "ถึงวันที่หมดอายุแล้ว"

View File

@@ -0,0 +1,43 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_workorder_expiry
#
# Translators:
# Tugay Hatıl <tugayh@projetgrup.com>, 2022
# Umur Akın <umura@projetgrup.com>, 2022
# Murat Kaplan <muratk@projetgrup.com>, 2022
# abc Def <hdogan1974@gmail.com>, 2022
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-20 09:49+0000\n"
"PO-Revision-Date: 2022-09-22 05:47+0000\n"
"Last-Translator: abc Def <hdogan1974@gmail.com>, 2022\n"
"Language-Team: Turkish (https://www.transifex.com/odoo/teams/41243/tr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: tr\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: mrp_workorder_expiry
#: model_terms:ir.ui.view,arch_db:mrp_workorder_expiry.quality_check_view_form_tablet_inherit_expiry
msgid "<span class=\"fa fa-exclamation-triangle\"/> This lot is expired."
msgstr "<span class=\"fa fa-exclamation-triangle\"/> Bu lotun süresi doldu."
#. module: mrp_workorder_expiry
#: model:ir.model.fields,field_description:mrp_workorder_expiry.field_quality_check__is_expired
msgid "Product Expiry Alert"
msgstr "Ürün Son Kullanım Uyarısı"
#. module: mrp_workorder_expiry
#: model:ir.model,name:mrp_workorder_expiry.model_quality_check
msgid "Quality Check"
msgstr "Kalite Kontrol"
#. module: mrp_workorder_expiry
#: model:ir.model.fields,help:mrp_workorder_expiry.field_quality_check__is_expired
msgid "The Expiration Date has been reached."
msgstr "Süresi Dolma Tarihine ulaşıldı."

View File

@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_workorder_expiry
#
# Translators:
# Martin Trigaux, 2022
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-20 09:49+0000\n"
"PO-Revision-Date: 2022-09-22 05:47+0000\n"
"Last-Translator: Martin Trigaux, 2022\n"
"Language-Team: Ukrainian (https://www.transifex.com/odoo/teams/41243/uk/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: uk\n"
"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
#. module: mrp_workorder_expiry
#: model_terms:ir.ui.view,arch_db:mrp_workorder_expiry.quality_check_view_form_tablet_inherit_expiry
msgid "<span class=\"fa fa-exclamation-triangle\"/> This lot is expired."
msgstr "<span class=\"fa fa-exclamation-triangle\"/> Ця партія протермінована."
#. module: mrp_workorder_expiry
#: model:ir.model.fields,field_description:mrp_workorder_expiry.field_quality_check__is_expired
msgid "Product Expiry Alert"
msgstr "Попередження про закінчення терміну дії товару"
#. module: mrp_workorder_expiry
#: model:ir.model,name:mrp_workorder_expiry.model_quality_check
msgid "Quality Check"
msgstr "Перевірка якості"
#. module: mrp_workorder_expiry
#: model:ir.model.fields,help:mrp_workorder_expiry.field_quality_check__is_expired
msgid "The Expiration Date has been reached."
msgstr "Термін дії завершився."

View File

@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_workorder_expiry
#
# Translators:
# Martin Trigaux, 2022
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-20 09:49+0000\n"
"PO-Revision-Date: 2022-09-22 05:47+0000\n"
"Last-Translator: Martin Trigaux, 2022\n"
"Language-Team: Vietnamese (https://www.transifex.com/odoo/teams/41243/vi/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: vi\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: mrp_workorder_expiry
#: model_terms:ir.ui.view,arch_db:mrp_workorder_expiry.quality_check_view_form_tablet_inherit_expiry
msgid "<span class=\"fa fa-exclamation-triangle\"/> This lot is expired."
msgstr "<span class=\"fa fa-exclamation-triangle\"/> Lô hàng đã hết hạn. "
#. module: mrp_workorder_expiry
#: model:ir.model.fields,field_description:mrp_workorder_expiry.field_quality_check__is_expired
msgid "Product Expiry Alert"
msgstr "Cảnh báo hết hạn sản phẩm"
#. module: mrp_workorder_expiry
#: model:ir.model,name:mrp_workorder_expiry.model_quality_check
msgid "Quality Check"
msgstr "Đánh giá chất lượng"
#. module: mrp_workorder_expiry
#: model:ir.model.fields,help:mrp_workorder_expiry.field_quality_check__is_expired
msgid "The Expiration Date has been reached."
msgstr "The Expiration Date has been reached."

View File

@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_workorder_expiry
#
# Translators:
# Martin Trigaux, 2022
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-20 09:49+0000\n"
"PO-Revision-Date: 2022-09-22 05:47+0000\n"
"Last-Translator: Martin Trigaux, 2022\n"
"Language-Team: Chinese (China) (https://www.transifex.com/odoo/teams/41243/zh_CN/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: zh_CN\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: mrp_workorder_expiry
#: model_terms:ir.ui.view,arch_db:mrp_workorder_expiry.quality_check_view_form_tablet_inherit_expiry
msgid "<span class=\"fa fa-exclamation-triangle\"/> This lot is expired."
msgstr "<span class=\"fa fa-exclamation-triangle\"/> 这批货过期了。"
#. module: mrp_workorder_expiry
#: model:ir.model.fields,field_description:mrp_workorder_expiry.field_quality_check__is_expired
msgid "Product Expiry Alert"
msgstr "过期警报"
#. module: mrp_workorder_expiry
#: model:ir.model,name:mrp_workorder_expiry.model_quality_check
msgid "Quality Check"
msgstr "质量检查"
#. module: mrp_workorder_expiry
#: model:ir.model.fields,help:mrp_workorder_expiry.field_quality_check__is_expired
msgid "The Expiration Date has been reached."
msgstr "已到达过期日期。"

View File

@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_workorder_expiry
#
# Translators:
# Martin Trigaux, 2022
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.5alpha1+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-20 09:49+0000\n"
"PO-Revision-Date: 2022-09-22 05:47+0000\n"
"Last-Translator: Martin Trigaux, 2022\n"
"Language-Team: Chinese (Taiwan) (https://www.transifex.com/odoo/teams/41243/zh_TW/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: zh_TW\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: mrp_workorder_expiry
#: model_terms:ir.ui.view,arch_db:mrp_workorder_expiry.quality_check_view_form_tablet_inherit_expiry
msgid "<span class=\"fa fa-exclamation-triangle\"/> This lot is expired."
msgstr ""
#. module: mrp_workorder_expiry
#: model:ir.model.fields,field_description:mrp_workorder_expiry.field_quality_check__is_expired
msgid "Product Expiry Alert"
msgstr "產品過期警告"
#. module: mrp_workorder_expiry
#: model:ir.model,name:mrp_workorder_expiry.model_quality_check
msgid "Quality Check"
msgstr "品質檢查"
#. module: mrp_workorder_expiry
#: model:ir.model.fields,help:mrp_workorder_expiry.field_quality_check__is_expired
msgid "The Expiration Date has been reached."
msgstr "已到到期日。"

View File

@@ -0,0 +1,4 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import quality

View File

@@ -0,0 +1,10 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class QualityCheck(models.Model):
_inherit = 'quality.check'
is_expired = fields.Boolean(related='lot_id.product_expiry_alert')

View File

@@ -0,0 +1,5 @@
.o_expired_alert {
padding-left: 20px;
text-align: right;
color: orangered;
}

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="quality_check_view_form_tablet_inherit_expiry" model="ir.ui.view">
<field name="name">quality.check.tablet.view.form.inherit.expiry</field>
<field name="model">quality.check</field>
<field name="inherit_id" ref="mrp_workorder.quality_check_view_form_tablet"/>
<field name="arch" type="xml">
<xpath expr="//div[hasclass('o_workorder_lot')]" position="inside">
<field name="is_expired" invisible="1"/>
<div class="o_expired_alert" attrs="{'invisible': [('is_expired', '=', False)]}">
<span class="fa fa-exclamation-triangle"/> This lot is expired.
</div>
</xpath>
</field>
</record>
</odoo>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="mrp_workorder_view_form_tablet_expiry_inherit" model="ir.ui.view">
<field name="name">mrp.workorder.tablet.view.expiry.inherit</field>
<field name="model">mrp.workorder</field>
<field name="inherit_id" ref="mrp_workorder.mrp_workorder_view_form_tablet"/>
<field name="arch" type="xml">
<xpath expr="//button[@name='do_finish']" position="attributes">
<attribute name="context">{'skip_expired': True}</attribute>
</xpath>
<xpath expr="//button[@name='action_open_manufacturing_order']" position="attributes">
<attribute name="context">{'skip_expired': True}</attribute>
</xpath>
</field>
</record>
</odoo>