diff --git a/custom_mrp_descarga/i18n/custom_mrp_descarga.pot b/custom_mrp_descarga/i18n/custom_mrp_descarga.pot
index 97dc8bdf7..863a7e076 100644
--- a/custom_mrp_descarga/i18n/custom_mrp_descarga.pot
+++ b/custom_mrp_descarga/i18n/custom_mrp_descarga.pot
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-08-27 13:12+0000\n"
-"PO-Revision-Date: 2024-08-27 13:12+0000\n"
+"POT-Creation-Date: 2024-09-11 12:55+0000\n"
+"PO-Revision-Date: 2024-09-11 12:55+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -48,6 +48,7 @@ msgid "Assign Serials"
msgstr ""
#. module: custom_mrp_descarga
+#: model:ir.model.fields,field_description:custom_mrp_descarga.field_stock_move_line__average_price
#: model:ir.model.fields,field_description:custom_mrp_descarga.field_stock_production_lot__average_price
msgid "Average Price"
msgstr ""
diff --git a/custom_mrp_descarga/i18n/es.po b/custom_mrp_descarga/i18n/es.po
index 514da7fb9..108ece7e7 100644
--- a/custom_mrp_descarga/i18n/es.po
+++ b/custom_mrp_descarga/i18n/es.po
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-08-27 13:13+0000\n"
-"PO-Revision-Date: 2024-08-27 13:13+0000\n"
+"POT-Creation-Date: 2024-09-11 12:55+0000\n"
+"PO-Revision-Date: 2024-09-11 12:55+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -48,6 +48,7 @@ msgid "Assign Serials"
msgstr "Asignar Lotes"
#. module: custom_mrp_descarga
+#: model:ir.model.fields,field_description:custom_mrp_descarga.field_stock_move_line__average_price
#: model:ir.model.fields,field_description:custom_mrp_descarga.field_stock_production_lot__average_price
msgid "Average Price"
msgstr "Precio medio"
diff --git a/custom_mrp_descarga/models/stock_move_line.py b/custom_mrp_descarga/models/stock_move_line.py
index 79348713b..2f29a730e 100644
--- a/custom_mrp_descarga/models/stock_move_line.py
+++ b/custom_mrp_descarga/models/stock_move_line.py
@@ -21,6 +21,7 @@ class StockMoveLine(models.Model):
qty_done = fields.Float(
digits="Weight Decimal Precision",
)
+ average_price = fields.Float(string="Average Price", related="lot_id.average_price")
@api.depends("production_id")
def _compute_sequence(self):
diff --git a/custom_mrp_descarga/views/mrp_production_view.xml b/custom_mrp_descarga/views/mrp_production_view.xml
index 92e4fd1f7..39eff310c 100644
--- a/custom_mrp_descarga/views/mrp_production_view.xml
+++ b/custom_mrp_descarga/views/mrp_production_view.xml
@@ -745,6 +745,9 @@
+
+
+
+
@@ -180,6 +181,8 @@
+
+