diff --git a/stock_location_package_restriction/i18n/stock_location_package_restriction.pot b/stock_location_package_restriction/i18n/stock_location_package_restriction.pot index 8cf22a839..05a747dea 100644 --- a/stock_location_package_restriction/i18n/stock_location_package_restriction.pot +++ b/stock_location_package_restriction/i18n/stock_location_package_restriction.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" +"Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" @@ -20,35 +20,39 @@ msgid "" " Control if the location can contain products not in a package.\n" "\n" " Options:\n" -" * False (not set): Not mandatory, the location can contain products\n" -" not part of a package\n" +" * False (not set): No restriction, the location can contain products\n" +" with and without package\n" +" * Forbidden: The location cannot have products part of a package\n" " * Mandatory and unique: The location cannot have products not\n" " part of a package and you cannot have more than 1 package on\n" " the location\n" " * Mandatory and not unique: The location cannot have products\n" -" not part of a package and you may have store multiple packages\n" +" not part of a package and you may store multiple packages\n" " on the location\n" " " msgstr "" #. module: stock_location_package_restriction -#: code:addons/stock_location_package_restriction/models/stock_move.py:0 +#. odoo-python +#: code:addons/stock_location_package_restriction/models/stock_location.py:0 #, python-format msgid "" -"A package is mandatory on the location {location}. You cannot move the " -"product {product} without a package." +"A package is mandatory on the location {location}.\n" +"You cannot move the product(s) {product} without a package." msgstr "" #. module: stock_location_package_restriction -#: model:ir.model.fields,field_description:stock_location_package_restriction.field_stock_location__display_name -#: model:ir.model.fields,field_description:stock_location_package_restriction.field_stock_move__display_name -msgid "Display Name" +#. odoo-python +#: code:addons/stock_location_package_restriction/models/stock_location.py:0 +#, python-format +msgid "" +"A package is not allowed on the location {location}.You cannot move the " +"product(s) {product} with a package." msgstr "" #. module: stock_location_package_restriction -#: model:ir.model.fields,field_description:stock_location_package_restriction.field_stock_location__id -#: model:ir.model.fields,field_description:stock_location_package_restriction.field_stock_move__id -msgid "ID" +#: model:ir.model.fields,field_description:stock_location_package_restriction.field_stock_location__has_package_restriction_violation +msgid "Has Package Restriction Violation" msgstr "" #. module: stock_location_package_restriction @@ -57,25 +61,10 @@ msgid "Inventory Locations" msgstr "" #. module: stock_location_package_restriction -#: model:ir.model.fields,field_description:stock_location_package_restriction.field_stock_location____last_update -#: model:ir.model.fields,field_description:stock_location_package_restriction.field_stock_move____last_update -msgid "Last Modified on" -msgstr "" - -#. module: stock_location_package_restriction -#: code:addons/stock_location_package_restriction/models/stock_move.py:0 +#. odoo-python +#: code:addons/stock_location_package_restriction/models/stock_location.py:0 #, python-format -msgid "" -"Only one package is allowed on the location {location}.You cannot add the " -"{package}, there is already {existing_packages}." -msgstr "" - -#. module: stock_location_package_restriction -#: code:addons/stock_location_package_restriction/models/stock_move.py:0 -#, python-format -msgid "" -"Only one package is allowed on the location {location}.You cannot move " -"multiple packages to it:{packages}" +msgid "Only one package is allowed on the location {location}." msgstr "" #. module: stock_location_package_restriction @@ -83,6 +72,11 @@ msgstr "" msgid "Package Restriction" msgstr "" +#. module: stock_location_package_restriction +#: model:ir.model.fields,field_description:stock_location_package_restriction.field_stock_location__package_restriction_violation_message +msgid "Package Restriction Violation Message" +msgstr "" + #. module: stock_location_package_restriction #: model_terms:ir.ui.view,arch_db:stock_location_package_restriction.stock_location_form_view msgid "Restrictions" @@ -92,3 +86,35 @@ msgstr "" #: model:ir.model,name:stock_location_package_restriction.model_stock_move msgid "Stock Move" msgstr "" + +#. module: stock_location_package_restriction +#. odoo-python +#: code:addons/stock_location_package_restriction/models/stock_location.py:0 +#, python-format +msgid "" +"This location should only contain a single package but it contains the " +"package(s): {packages}" +msgstr "" + +#. module: stock_location_package_restriction +#. odoo-python +#: code:addons/stock_location_package_restriction/models/stock_location.py:0 +#, python-format +msgid "" +"This location should only contain items in a package but it contains the " +"items of product(s): {products}" +msgstr "" + +#. module: stock_location_package_restriction +#. odoo-python +#: code:addons/stock_location_package_restriction/models/stock_location.py:0 +#, python-format +msgid "" +"This location should only contain items without package but it contains the " +"package(s): {packages}" +msgstr "" + +#. module: stock_location_package_restriction +#: model_terms:ir.ui.view,arch_db:stock_location_package_restriction.stock_location_search_view +msgid "With package restriction violation" +msgstr ""