purchase_order_product_recommendation_supermarket: update translations. Add last order amount
This commit is contained in:
parent
e8f11f25a6
commit
5600126faa
4 changed files with 196 additions and 19 deletions
|
|
@ -6,27 +6,50 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 16.0\n"
|
"Project-Id-Version: Odoo Server 16.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-06-10 15:20+0000\n"
|
"POT-Creation-Date: 2025-06-23 16:11+0000\n"
|
||||||
"PO-Revision-Date: 2025-06-10 17:33+0200\n"
|
"PO-Revision-Date: 2025-06-23 16:11+0000\n"
|
||||||
"Last-Translator: \n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"Language: es\n"
|
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: \n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"Plural-Forms: \n"
|
||||||
"X-Generator: Poedit 3.6\n"
|
|
||||||
|
|
||||||
#. module: purchase_order_product_recommendation_supermarket
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__avg_days_between_orders
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__avg_days_between_orders
|
||||||
msgid "Average days between orders"
|
msgid "Average days between orders"
|
||||||
msgstr "Promedio de días entre pedidos"
|
msgstr "Promedio días pedidos"
|
||||||
|
|
||||||
#. module: purchase_order_product_recommendation_supermarket
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
#: model:ir.model.fields,help:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__avg_days_between_orders
|
#: model:ir.model.fields,help:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__avg_days_between_orders
|
||||||
msgid "Average number of days between orders for this vendor."
|
msgid "Average number of days between orders for this vendor."
|
||||||
msgstr "Número medio de días entre pedidos para este proveedor."
|
msgstr "Número medio de días entre pedidos para este proveedor."
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model_terms:ir.ui.view,arch_db:purchase_order_product_recommendation_supermarket.view_purchase_order_recommendation_wizard_form_supermarket
|
||||||
|
msgid "Avg Prev Period"
|
||||||
|
msgstr "Prev Ctd entrg./día"
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model_terms:ir.ui.view,arch_db:purchase_order_product_recommendation_supermarket.view_purchase_order_recommendation_wizard_form_supermarket
|
||||||
|
msgid "Calculate"
|
||||||
|
msgstr "Calcular"
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__currency_id
|
||||||
|
msgid "Currency"
|
||||||
|
msgstr "Moneda"
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__date_last_order
|
||||||
|
msgid "Date of last order"
|
||||||
|
msgstr "Fecha Último Pedido"
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model:ir.model.fields,help:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__date_last_order
|
||||||
|
msgid "Date of the last order received from the vendor."
|
||||||
|
msgstr "Fecha del último pedido recibido del proveedor."
|
||||||
|
|
||||||
#. module: purchase_order_product_recommendation_supermarket
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation_line__days_without_stock
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation_line__days_without_stock
|
||||||
msgid "Days without stock"
|
msgid "Days without stock"
|
||||||
|
|
@ -35,11 +58,11 @@ msgstr "Días sin existencias"
|
||||||
#. module: purchase_order_product_recommendation_supermarket
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
#: model:ir.model.fields,help:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__ignore_zero_stock_days
|
#: model:ir.model.fields,help:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__ignore_zero_stock_days
|
||||||
msgid ""
|
msgid ""
|
||||||
"If enabled, days when the product stock was 0 or less will not be "
|
"If enabled, days when the product stock was 0 or less will not be considered"
|
||||||
"considered in the daily sales calculation."
|
" in the daily sales calculation."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Si se activa, los días en los que el stock del producto era 0 o negativo no "
|
"Si se activa, los días en los que el stock del producto era 0 o menos no se "
|
||||||
"se tendrán en cuenta en el cálculo de las ventas diarias."
|
"tendrán en cuenta en el cálculo de las ventas diarias."
|
||||||
|
|
||||||
#. module: purchase_order_product_recommendation_supermarket
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__ignore_zero_stock_days
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__ignore_zero_stock_days
|
||||||
|
|
@ -49,8 +72,8 @@ msgstr "Ignorar los días sin existencias"
|
||||||
#. module: purchase_order_product_recommendation_supermarket
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
#: model:ir.model.fields,help:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__order_days
|
#: model:ir.model.fields,help:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__order_days
|
||||||
msgid ""
|
msgid ""
|
||||||
"Indicate for how many days the new order should cover the stock. If not "
|
"Indicate for how many days the new order should cover the stock. If not set,"
|
||||||
"set, the default module behavior is kept."
|
" the default module behavior is kept."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Indica durante cuántos días la nueva orden debe cubrir el stock. Si no se "
|
"Indica durante cuántos días la nueva orden debe cubrir el stock. Si no se "
|
||||||
"establece, se mantiene el comportamiento por defecto del módulo."
|
"establece, se mantiene el comportamiento por defecto del módulo."
|
||||||
|
|
@ -60,6 +83,16 @@ msgstr ""
|
||||||
msgid "Indicates if the order should be made by packages."
|
msgid "Indicates if the order should be made by packages."
|
||||||
msgstr "Indica si el pedido debe realizarse por paquetes."
|
msgstr "Indica si el pedido debe realizarse por paquetes."
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__last_order_total_amount
|
||||||
|
msgid "Last Order total amount"
|
||||||
|
msgstr "Importe último pedido"
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__line_amount
|
||||||
|
msgid "Number of recommendations"
|
||||||
|
msgstr "Número de recomendaciones"
|
||||||
|
|
||||||
#. module: purchase_order_product_recommendation_supermarket
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__order_by_packages
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__order_by_packages
|
||||||
msgid "Order by packages"
|
msgid "Order by packages"
|
||||||
|
|
@ -70,6 +103,11 @@ msgstr "Pedir por paquetes"
|
||||||
msgid "Order coverage (days)"
|
msgid "Order coverage (days)"
|
||||||
msgstr "Días a cubrir"
|
msgstr "Días a cubrir"
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__order_total_amount
|
||||||
|
msgid "Order total amount"
|
||||||
|
msgstr "Importe total"
|
||||||
|
|
||||||
#. module: purchase_order_product_recommendation_supermarket
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation_line__packaging_id
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation_line__packaging_id
|
||||||
msgid "Packaging"
|
msgid "Packaging"
|
||||||
|
|
@ -95,6 +133,16 @@ msgstr "Cantidad de paquetes"
|
||||||
msgid "Packaging Quantity Contained"
|
msgid "Packaging Quantity Contained"
|
||||||
msgstr "Ctd contenida en el paquete"
|
msgstr "Ctd contenida en el paquete"
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model_terms:ir.ui.view,arch_db:purchase_order_product_recommendation_supermarket.view_purchase_order_recommendation_wizard_form_supermarket
|
||||||
|
msgid "Prev Period"
|
||||||
|
msgstr "Prev Ctd entregada"
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model_terms:ir.ui.view,arch_db:purchase_order_product_recommendation_supermarket.view_purchase_order_recommendation_wizard_form_supermarket
|
||||||
|
msgid "Qty needed"
|
||||||
|
msgstr "Ctd necesaria"
|
||||||
|
|
||||||
#. module: purchase_order_product_recommendation_supermarket
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
#: model_terms:ir.ui.view,arch_db:purchase_order_product_recommendation_supermarket.view_purchase_order_recommendation_wizard_form_supermarket
|
#: model_terms:ir.ui.view,arch_db:purchase_order_product_recommendation_supermarket.view_purchase_order_recommendation_wizard_form_supermarket
|
||||||
msgid "Qty scrapped"
|
msgid "Qty scrapped"
|
||||||
|
|
@ -120,10 +168,31 @@ msgstr "Producto recomendado para el pedido de compra en curso"
|
||||||
msgid "Recommended products for current purchase order"
|
msgid "Recommended products for current purchase order"
|
||||||
msgstr "Productos recomendados para el pedido de compra en curso"
|
msgstr "Productos recomendados para el pedido de compra en curso"
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model:ir.model.fields,help:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__line_amount
|
||||||
|
msgid ""
|
||||||
|
"Stablish a limit on how many recommendations you want to get.Leave it as 0 "
|
||||||
|
"to set no limit"
|
||||||
|
msgstr ""
|
||||||
|
"Establezca un límite de cuántas recomendaciones desea obtener. Déjelo en 0 "
|
||||||
|
"si no desea límite"
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation_line__stock_duration
|
||||||
|
#: model_terms:ir.ui.view,arch_db:purchase_order_product_recommendation_supermarket.view_purchase_order_recommendation_wizard_form_supermarket
|
||||||
|
msgid "Stock Duration"
|
||||||
|
msgstr "Duración stock"
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation_line__subtotal_amount
|
||||||
|
#: model_terms:ir.ui.view,arch_db:purchase_order_product_recommendation_supermarket.view_purchase_order_recommendation_wizard_form_supermarket
|
||||||
|
msgid "Subtotal Amount"
|
||||||
|
msgstr "Subtotal"
|
||||||
|
|
||||||
#. module: purchase_order_product_recommendation_supermarket
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__total_days
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__total_days
|
||||||
msgid "Total days"
|
msgid "Total days"
|
||||||
msgstr "Días totales"
|
msgstr "Días analizados"
|
||||||
|
|
||||||
#. module: purchase_order_product_recommendation_supermarket
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
#: model:ir.model.fields,help:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__total_days
|
#: model:ir.model.fields,help:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__total_days
|
||||||
|
|
@ -132,6 +201,21 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Número total de días entre las fechas de inicio y fin de la recomendación."
|
"Número total de días entre las fechas de inicio y fin de la recomendación."
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation_line__units_avg_delivered_prev
|
||||||
|
msgid "Units Avg Delivered Prev"
|
||||||
|
msgstr "Promedio unidades entregadas prev"
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation_line__units_delivered_prev
|
||||||
|
msgid "Units Delivered Prev"
|
||||||
|
msgstr "Unidades entregadas prev"
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation_line__units_included_original
|
||||||
|
msgid "Units Included Original"
|
||||||
|
msgstr "Unidades incluidas original"
|
||||||
|
|
||||||
#. module: purchase_order_product_recommendation_supermarket
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation_line__units_scrapped
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation_line__units_scrapped
|
||||||
msgid "Units Scrapped"
|
msgid "Units Scrapped"
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 16.0\n"
|
"Project-Id-Version: Odoo Server 16.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-06-10 15:19+0000\n"
|
"POT-Creation-Date: 2025-06-23 16:11+0000\n"
|
||||||
"PO-Revision-Date: 2025-06-10 15:19+0000\n"
|
"PO-Revision-Date: 2025-06-23 16:11+0000\n"
|
||||||
"Last-Translator: \n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
|
|
@ -25,6 +25,31 @@ msgstr ""
|
||||||
msgid "Average number of days between orders for this vendor."
|
msgid "Average number of days between orders for this vendor."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model_terms:ir.ui.view,arch_db:purchase_order_product_recommendation_supermarket.view_purchase_order_recommendation_wizard_form_supermarket
|
||||||
|
msgid "Avg Prev Period"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model_terms:ir.ui.view,arch_db:purchase_order_product_recommendation_supermarket.view_purchase_order_recommendation_wizard_form_supermarket
|
||||||
|
msgid "Calculate"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__currency_id
|
||||||
|
msgid "Currency"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__date_last_order
|
||||||
|
msgid "Date of last order"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model:ir.model.fields,help:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__date_last_order
|
||||||
|
msgid "Date of the last order received from the vendor."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. module: purchase_order_product_recommendation_supermarket
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation_line__days_without_stock
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation_line__days_without_stock
|
||||||
msgid "Days without stock"
|
msgid "Days without stock"
|
||||||
|
|
@ -54,6 +79,16 @@ msgstr ""
|
||||||
msgid "Indicates if the order should be made by packages."
|
msgid "Indicates if the order should be made by packages."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__last_order_total_amount
|
||||||
|
msgid "Last Order total amount"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__line_amount
|
||||||
|
msgid "Number of recommendations"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. module: purchase_order_product_recommendation_supermarket
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__order_by_packages
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__order_by_packages
|
||||||
msgid "Order by packages"
|
msgid "Order by packages"
|
||||||
|
|
@ -64,6 +99,11 @@ msgstr ""
|
||||||
msgid "Order coverage (days)"
|
msgid "Order coverage (days)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__order_total_amount
|
||||||
|
msgid "Order total amount"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. module: purchase_order_product_recommendation_supermarket
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation_line__packaging_id
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation_line__packaging_id
|
||||||
msgid "Packaging"
|
msgid "Packaging"
|
||||||
|
|
@ -89,6 +129,16 @@ msgstr ""
|
||||||
msgid "Packaging Quantity Contained"
|
msgid "Packaging Quantity Contained"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model_terms:ir.ui.view,arch_db:purchase_order_product_recommendation_supermarket.view_purchase_order_recommendation_wizard_form_supermarket
|
||||||
|
msgid "Prev Period"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model_terms:ir.ui.view,arch_db:purchase_order_product_recommendation_supermarket.view_purchase_order_recommendation_wizard_form_supermarket
|
||||||
|
msgid "Qty needed"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. module: purchase_order_product_recommendation_supermarket
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
#: model_terms:ir.ui.view,arch_db:purchase_order_product_recommendation_supermarket.view_purchase_order_recommendation_wizard_form_supermarket
|
#: model_terms:ir.ui.view,arch_db:purchase_order_product_recommendation_supermarket.view_purchase_order_recommendation_wizard_form_supermarket
|
||||||
msgid "Qty scrapped"
|
msgid "Qty scrapped"
|
||||||
|
|
@ -114,6 +164,25 @@ msgstr ""
|
||||||
msgid "Recommended products for current purchase order"
|
msgid "Recommended products for current purchase order"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model:ir.model.fields,help:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__line_amount
|
||||||
|
msgid ""
|
||||||
|
"Stablish a limit on how many recommendations you want to get.Leave it as 0 "
|
||||||
|
"to set no limit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation_line__stock_duration
|
||||||
|
#: model_terms:ir.ui.view,arch_db:purchase_order_product_recommendation_supermarket.view_purchase_order_recommendation_wizard_form_supermarket
|
||||||
|
msgid "Stock Duration"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation_line__subtotal_amount
|
||||||
|
#: model_terms:ir.ui.view,arch_db:purchase_order_product_recommendation_supermarket.view_purchase_order_recommendation_wizard_form_supermarket
|
||||||
|
msgid "Subtotal Amount"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. module: purchase_order_product_recommendation_supermarket
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__total_days
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation__total_days
|
||||||
msgid "Total days"
|
msgid "Total days"
|
||||||
|
|
@ -125,6 +194,21 @@ msgid ""
|
||||||
"Total number of days between the start and end dates of the recommendation."
|
"Total number of days between the start and end dates of the recommendation."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation_line__units_avg_delivered_prev
|
||||||
|
msgid "Units Avg Delivered Prev"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation_line__units_delivered_prev
|
||||||
|
msgid "Units Delivered Prev"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation_line__units_included_original
|
||||||
|
msgid "Units Included Original"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. module: purchase_order_product_recommendation_supermarket
|
#. module: purchase_order_product_recommendation_supermarket
|
||||||
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation_line__units_scrapped
|
#: model:ir.model.fields,field_description:purchase_order_product_recommendation_supermarket.field_purchase_order_recommendation_line__units_scrapped
|
||||||
msgid "Units Scrapped"
|
msgid "Units Scrapped"
|
||||||
|
|
|
||||||
|
|
@ -51,6 +51,12 @@ class PurchaseOrderRecommendationSupermarketWizard(models.TransientModel):
|
||||||
line_amount = fields.Integer(
|
line_amount = fields.Integer(
|
||||||
default=0,
|
default=0,
|
||||||
)
|
)
|
||||||
|
last_order_total_amount = fields.Monetary(
|
||||||
|
string="Last Order total amount",
|
||||||
|
currency_field="currency_id",
|
||||||
|
compute="_compute_avg_days_between_orders",
|
||||||
|
readonly=True,
|
||||||
|
)
|
||||||
|
|
||||||
@api.depends("date_begin", "date_end")
|
@api.depends("date_begin", "date_end")
|
||||||
def _compute_total_days(self):
|
def _compute_total_days(self):
|
||||||
|
|
@ -79,8 +85,10 @@ class PurchaseOrderRecommendationSupermarketWizard(models.TransientModel):
|
||||||
if orders[-1].effective_date
|
if orders[-1].effective_date
|
||||||
else orders[-1].date_planned.date()
|
else orders[-1].date_planned.date()
|
||||||
)
|
)
|
||||||
|
self.last_order_total_amount = orders[-1].amount_total
|
||||||
else:
|
else:
|
||||||
self.date_last_order = False
|
self.date_last_order = False
|
||||||
|
self.last_order_total_amount = 0.0
|
||||||
|
|
||||||
dates = [o.date_order.date() for o in orders if o.date_order]
|
dates = [o.date_order.date() for o in orders if o.date_order]
|
||||||
if len(dates) < 2:
|
if len(dates) < 2:
|
||||||
|
|
|
||||||
|
|
@ -16,15 +16,16 @@
|
||||||
</header>
|
</header>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|
||||||
<field name="date_end" position="after">
|
<field name="line_amount" position="after">
|
||||||
<field name="total_days" />
|
|
||||||
<field name="order_days" widget="numeric_step" />
|
<field name="order_days" widget="numeric_step" />
|
||||||
|
<field name="total_days" />
|
||||||
<field name="avg_days_between_orders"/>
|
<field name="avg_days_between_orders"/>
|
||||||
<field name="date_last_order"/>
|
<field name="date_last_order" />
|
||||||
</field>
|
</field>
|
||||||
<field name="show_all_products" position="after">
|
<field name="show_all_products" position="after">
|
||||||
<field name="order_by_packages" />
|
<field name="order_by_packages" />
|
||||||
<field name="ignore_zero_stock_days" />
|
<field name="ignore_zero_stock_days" />
|
||||||
|
<field name="last_order_total_amount" widget="monetary" options="{'currency_field': 'currency_id'}" />
|
||||||
<field name="order_total_amount" widget="monetary" options="{'currency_field': 'currency_id'}" />
|
<field name="order_total_amount" widget="monetary" options="{'currency_field': 'currency_id'}" />
|
||||||
<field name="currency_id" invisible="1"/>
|
<field name="currency_id" invisible="1"/>
|
||||||
</field>
|
</field>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue