From 57b23de2d65a814d6bc4dc1c2676f82dddf7b3d7 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Thu, 2 Jan 2025 19:59:59 +0100 Subject: [PATCH 1/2] [FIX] l10n_fr_chorus_account: add missing dependency on account_payment_partner --- l10n_fr_chorus_account/__manifest__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/l10n_fr_chorus_account/__manifest__.py b/l10n_fr_chorus_account/__manifest__.py index 8efa08cbf..274a3ca1c 100644 --- a/l10n_fr_chorus_account/__manifest__.py +++ b/l10n_fr_chorus_account/__manifest__.py @@ -15,6 +15,7 @@ "depends": [ "l10n_fr_siret", "account_invoice_transmit_method", + "account_payment_partner", "server_environment", ], "external_dependencies": {"python": ["requests_oauthlib"]}, From 03618cbfd520b0b7f0d7e3a2143269993152c9f6 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Thu, 2 Jan 2025 20:04:39 +0100 Subject: [PATCH 2/2] [FIX] l10n_fr_chorus_account: add readonly=True on initial_invoice_ids on chorus.flow --- l10n_fr_chorus_account/models/chorus_flow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/l10n_fr_chorus_account/models/chorus_flow.py b/l10n_fr_chorus_account/models/chorus_flow.py index 0638a0b38..154738916 100644 --- a/l10n_fr_chorus_account/models/chorus_flow.py +++ b/l10n_fr_chorus_account/models/chorus_flow.py @@ -45,6 +45,7 @@ class ChorusFlow(models.Model): "chorus_flow_id", "move_id", string="Initial Invoices", + readonly=True, help="Invoices in the flow before potential rejections", ) invoice_ids = fields.One2many(