From d57cc3c0f06d73f1c1c16ea6b7680bb860460624 Mon Sep 17 00:00:00 2001 From: "Claire Bretton (clbr)" Date: Fri, 27 Oct 2023 10:04:54 +0200 Subject: [PATCH] [FIX] account_edi_ubl_cii: move Send & Print files into /wizard folder Send & Print files should be in the `wizard/` folder. Task-id: 3568549 Part-of: odoo/odoo#149717 --- addons/account_edi_ubl_cii/__init__.py | 1 + addons/account_edi_ubl_cii/__manifest__.py | 2 +- addons/account_edi_ubl_cii/models/__init__.py | 1 - addons/account_edi_ubl_cii/wizard/__init__.py | 1 + .../account_edi_ubl_cii/{models => wizard}/account_move_send.py | 0 .../{views => wizard}/account_move_send_views.xml | 0 6 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 addons/account_edi_ubl_cii/wizard/__init__.py rename addons/account_edi_ubl_cii/{models => wizard}/account_move_send.py (100%) rename addons/account_edi_ubl_cii/{views => wizard}/account_move_send_views.xml (100%) diff --git a/addons/account_edi_ubl_cii/__init__.py b/addons/account_edi_ubl_cii/__init__.py index cde864bae21..35e7c9600c5 100644 --- a/addons/account_edi_ubl_cii/__init__.py +++ b/addons/account_edi_ubl_cii/__init__.py @@ -1,3 +1,4 @@ # -*- coding: utf-8 -*- from . import models +from . import wizard diff --git a/addons/account_edi_ubl_cii/__manifest__.py b/addons/account_edi_ubl_cii/__manifest__.py index 39567544a8f..a5d9e7ef89f 100644 --- a/addons/account_edi_ubl_cii/__manifest__.py +++ b/addons/account_edi_ubl_cii/__manifest__.py @@ -28,8 +28,8 @@ Pro rules and show the errors. 'data/ubl_20_templates.xml', 'data/ubl_21_templates.xml', 'views/res_config_settings_views.xml', - 'views/account_move_send_views.xml', 'views/res_partner_views.xml', + 'wizard/account_move_send_views.xml', ], 'installable': True, 'auto_install': True, diff --git a/addons/account_edi_ubl_cii/models/__init__.py b/addons/account_edi_ubl_cii/models/__init__.py index 726fa03be6e..db8408a5fe7 100644 --- a/addons/account_edi_ubl_cii/models/__init__.py +++ b/addons/account_edi_ubl_cii/models/__init__.py @@ -10,7 +10,6 @@ from . import account_edi_xml_ubl_nlcius from . import account_edi_xml_ubl_efff from . import account_edi_xml_ubl_a_nz from . import account_edi_xml_ubl_sg -from . import account_move_send from . import account_move from . import res_partner from . import res_company diff --git a/addons/account_edi_ubl_cii/wizard/__init__.py b/addons/account_edi_ubl_cii/wizard/__init__.py new file mode 100644 index 00000000000..cf39f38e70a --- /dev/null +++ b/addons/account_edi_ubl_cii/wizard/__init__.py @@ -0,0 +1 @@ +from . import account_move_send diff --git a/addons/account_edi_ubl_cii/models/account_move_send.py b/addons/account_edi_ubl_cii/wizard/account_move_send.py similarity index 100% rename from addons/account_edi_ubl_cii/models/account_move_send.py rename to addons/account_edi_ubl_cii/wizard/account_move_send.py diff --git a/addons/account_edi_ubl_cii/views/account_move_send_views.xml b/addons/account_edi_ubl_cii/wizard/account_move_send_views.xml similarity index 100% rename from addons/account_edi_ubl_cii/views/account_move_send_views.xml rename to addons/account_edi_ubl_cii/wizard/account_move_send_views.xml