From 8be6ad8fbf6262e1ab221a1193f2f45ce585bc6b Mon Sep 17 00:00:00 2001 From: Corentin Forler Date: Wed, 9 Jul 2025 16:12:08 +0200 Subject: [PATCH 1/2] fix(SO): Ignore missing item_code when mapping to MR --- erpnext/selling/doctype/sales_order/sales_order.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/erpnext/selling/doctype/sales_order/sales_order.py b/erpnext/selling/doctype/sales_order/sales_order.py index 7f93dcf9aa..055f389e85 100755 --- a/erpnext/selling/doctype/sales_order/sales_order.py +++ b/erpnext/selling/doctype/sales_order/sales_order.py @@ -965,9 +965,8 @@ def make_material_request(source_name, target_doc=None): "delivery_date": "schedule_date", "bom_no": "bom_no", }, - "condition": lambda item: not is_product_bundle( - item.item_code, product_bundle_name=item.get("product_bundle_name") - ) + "condition": lambda item: item.item_code + and not is_product_bundle(item.item_code, product_bundle_name=item.get("product_bundle_name")) and get_remaining_qty(item) > 0, "postprocess": update_item, }, -- GitLab From e08f32268b0ac8f5863fbf62dc71cc391ba0f862 Mon Sep 17 00:00:00 2001 From: Corentin Forler Date: Wed, 9 Jul 2025 16:12:17 +0200 Subject: [PATCH 2/2] chore: Fix translations --- erpnext/locale/fr.po | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/erpnext/locale/fr.po b/erpnext/locale/fr.po index eba23b5c0f..dddd12f402 100644 --- a/erpnext/locale/fr.po +++ b/erpnext/locale/fr.po @@ -54678,13 +54678,7 @@ msgstr "Les jours perdus doivent commencer à partir de 1." #: erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py:159 msgid "Standard" -msgstr "" -" Standard : Standard\n" -" Achat : Achat\n" -" Vente : Vente\n" -" Description : Description\n" -" Modèle : Modèle\n" -" Prix de vente : Prix de vente" +msgstr "Standard" #: erpnext/setup/setup_wizard/operations/defaults_setup.py:71 #: erpnext/setup/setup_wizard/operations/install_fixtures.py:502 -- GitLab