-
-
Notifications
You must be signed in to change notification settings - Fork 362
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] delivery_package_number: Allow force set package number at part…
…ner level and picking operation TT51855
- Loading branch information
1 parent
8fa3c06
commit c9a2dfa
Showing
10 changed files
with
84 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,16 +6,21 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Odoo Server 12.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2022-08-16 08:40+0000\n" | ||
"PO-Revision-Date: 2024-02-25 19:36+0000\n" | ||
"Last-Translator: Ivorra78 <[email protected]>\n" | ||
"POT-Creation-Date: 2024-12-20 08:52+0000\n" | ||
"PO-Revision-Date: 2024-12-20 09:53+0100\n" | ||
"Last-Translator: Sergio Teruel <[email protected]>\n" | ||
"Language-Team: \n" | ||
"Language: es\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=2; plural=n != 1;\n" | ||
"X-Generator: Weblate 4.17\n" | ||
"X-Generator: Poedit 3.0.1\n" | ||
|
||
#. module: delivery_package_number | ||
#: model:ir.model.fields.selection,name:delivery_package_number.selection__stock_picking_type__force_set_number_of_packages__always | ||
msgid "Always" | ||
msgstr "Siempre" | ||
|
||
#. module: delivery_package_number | ||
#: model_terms:ir.ui.view,arch_db:delivery_package_number.view_number_package_validate | ||
|
@@ -37,6 +42,11 @@ msgstr "Confirmación de pedido pendiente" | |
msgid "Cancel" | ||
msgstr "Cancelar" | ||
|
||
#. module: delivery_package_number | ||
#: model:ir.model,name:delivery_package_number.model_res_partner | ||
msgid "Contact" | ||
msgstr "Contacto" | ||
|
||
#. module: delivery_package_number | ||
#: model:ir.model.fields,field_description:delivery_package_number.field_stock_number_package_validate_line_wizard__create_uid | ||
#: model:ir.model.fields,field_description:delivery_package_number.field_stock_number_package_validate_wizard__create_uid | ||
|
@@ -61,6 +71,8 @@ msgid "Display Name" | |
msgstr "Mostrar Nombre" | ||
|
||
#. module: delivery_package_number | ||
#: model:ir.model.fields,field_description:delivery_package_number.field_res_partner__force_set_number_of_packages | ||
#: model:ir.model.fields,field_description:delivery_package_number.field_res_users__force_set_number_of_packages | ||
#: model:ir.model.fields,field_description:delivery_package_number.field_stock_picking_type__force_set_number_of_packages | ||
msgid "Force Set Number Of Packages" | ||
msgstr "Forzar Establecer Número De Paquetes" | ||
|
@@ -95,12 +107,12 @@ msgid "Last Updated on" | |
msgstr "Última Actualización el" | ||
|
||
#. module: delivery_package_number | ||
#: model:ir.model.fields,field_description:delivery_package_number.field_stock_number_package_validate_line_wizard__number_of_packages | ||
#: model:ir.model.fields,field_description:delivery_package_number.field_stock_number_package_validate_wizard__number_of_packages | ||
msgid "Number Of Packages" | ||
msgstr "Número de Bultos" | ||
|
||
#. module: delivery_package_number | ||
#: model:ir.model.fields,field_description:delivery_package_number.field_stock_number_package_validate_line_wizard__number_of_packages | ||
#: model:ir.model.fields,field_description:delivery_package_number.field_stock_picking__number_of_packages | ||
msgid "Number of Packages" | ||
msgstr "Número de Bultos" | ||
|
@@ -115,20 +127,25 @@ msgstr "Número de paquetes" | |
msgid "Number of packages:" | ||
msgstr "Número de paquetes:" | ||
|
||
#. module: delivery_package_number | ||
#: model:ir.model.fields.selection,name:delivery_package_number.selection__stock_picking_type__force_set_number_of_packages__partner | ||
msgid "Partner condition" | ||
msgstr "Condición en el contacto" | ||
|
||
#. module: delivery_package_number | ||
#: model:ir.model.fields,field_description:delivery_package_number.field_stock_number_package_validate_wizard__pick_ids | ||
msgid "Pick" | ||
msgstr "Escoja" | ||
msgstr "Recogida" | ||
|
||
#. module: delivery_package_number | ||
#: model:ir.model.fields,field_description:delivery_package_number.field_stock_number_package_validate_line_wizard__picking_id | ||
msgid "Picking" | ||
msgstr "Recogiendo" | ||
msgstr "Albarán" | ||
|
||
#. module: delivery_package_number | ||
#: model:ir.model,name:delivery_package_number.model_stock_picking_type | ||
msgid "Picking Type" | ||
msgstr "Tipo de Recogida" | ||
msgstr "Tipo de operación" | ||
|
||
#. module: delivery_package_number | ||
#: model:ir.model.fields,field_description:delivery_package_number.field_stock_number_package_validate_wizard__print_package_label | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
from . import res_partner | ||
from . import stock_picking_type | ||
from . import stock_picking |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Copyright 2024 Tecnativa - Sergio Teruel | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
from odoo import fields, models | ||
|
||
|
||
class ResPartner(models.Model): | ||
_inherit = "res.partner" | ||
|
||
force_set_number_of_packages = fields.Boolean() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
<record id="view_partner_stock_form" model="ir.ui.view"> | ||
<field name="model">res.partner</field> | ||
<field name="inherit_id" ref="stock.view_partner_stock_form" /> | ||
<field name="arch" type="xml"> | ||
<xpath expr="//field[@name='property_stock_supplier']" position="after"> | ||
<field name="force_set_number_of_packages" /> | ||
</xpath> | ||
</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters