From e28e93073257c1129c9e2f397d2a8c2adb787788 Mon Sep 17 00:00:00 2001 From: git_admin Date: Mon, 27 Apr 2026 08:45:38 +0000 Subject: [PATCH] Tower: upload cetmix_tower_yaml 16.0.2.0.3 (via marketplace) --- .../cetmix_tower_yaml/models/cx_tower_plan.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/addons/cetmix_tower_yaml/models/cx_tower_plan.py b/addons/cetmix_tower_yaml/models/cx_tower_plan.py index a5f3697..b2cd039 100644 --- a/addons/cetmix_tower_yaml/models/cx_tower_plan.py +++ b/addons/cetmix_tower_yaml/models/cx_tower_plan.py @@ -21,20 +21,3 @@ class CxTowerPlan(models.Model): "line_ids", ] return res - - def _get_deferred_x2m_import_fields(self): - """Defer plan lines whose command is not resolvable during nested import. - - Deep YAML (e.g. a command's waypoint inlines a jet template whose plans - reference that same command) creates a forward reference: plan lines are - prepared before the command exists in the database. Queue those lines - and create them after the main import pass when ``command_id`` can be - resolved. - """ - return { - "line_ids": { - "child_model": "cx.tower.plan.line", - "deferred_field": "command_id", - "target_model": "cx.tower.command", - } - }