From 8aef79024ae5b47cf41790e89758456ed7eb767d Mon Sep 17 00:00:00 2001 From: Rohan Patel Date: Wed, 1 Jun 2016 15:19:14 +0530 Subject: [PATCH] [MOV] l10n_be_invoice_bba : Re-organized directory structure. --- addons/l10n_be_invoice_bba/__init__.py | 3 +-- addons/l10n_be_invoice_bba/__openerp__.py | 4 ++-- addons/l10n_be_invoice_bba/models/__init__.py | 7 +++++++ .../{invoice.py => models/account_invoice.py} | 0 .../{partner.py => models/res_partner.py} | 0 .../{ => views}/account_invoice_view.xml | 0 .../{partner_view.xml => views/res_partner_view.xml} | 0 7 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 addons/l10n_be_invoice_bba/models/__init__.py rename addons/l10n_be_invoice_bba/{invoice.py => models/account_invoice.py} (100%) rename addons/l10n_be_invoice_bba/{partner.py => models/res_partner.py} (100%) rename addons/l10n_be_invoice_bba/{ => views}/account_invoice_view.xml (100%) rename addons/l10n_be_invoice_bba/{partner_view.xml => views/res_partner_view.xml} (100%) diff --git a/addons/l10n_be_invoice_bba/__init__.py b/addons/l10n_be_invoice_bba/__init__.py index 8f6fe00c3fa..4a6d28deb46 100644 --- a/addons/l10n_be_invoice_bba/__init__.py +++ b/addons/l10n_be_invoice_bba/__init__.py @@ -3,5 +3,4 @@ # Copyright (c) 2011 Noviat nv/sa (www.noviat.be). All rights reserved. -import partner -import invoice +import models diff --git a/addons/l10n_be_invoice_bba/__openerp__.py b/addons/l10n_be_invoice_bba/__openerp__.py index 1330b0420a4..6a74125157b 100644 --- a/addons/l10n_be_invoice_bba/__openerp__.py +++ b/addons/l10n_be_invoice_bba/__openerp__.py @@ -33,8 +33,8 @@ generated if no algorithm is specified on the Partner record. 'depends': ['account'], 'demo': [], 'data' : [ - 'partner_view.xml', - 'account_invoice_view.xml', + 'views/res_partner_view.xml', + 'views/account_invoice_view.xml', ], 'auto_install': False, 'installable': True, diff --git a/addons/l10n_be_invoice_bba/models/__init__.py b/addons/l10n_be_invoice_bba/models/__init__.py new file mode 100644 index 00000000000..30428dceb77 --- /dev/null +++ b/addons/l10n_be_invoice_bba/models/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +# Copyright (c) 2011 Noviat nv/sa (www.noviat.be). All rights reserved. + +import res_partner +import account_invoice diff --git a/addons/l10n_be_invoice_bba/invoice.py b/addons/l10n_be_invoice_bba/models/account_invoice.py similarity index 100% rename from addons/l10n_be_invoice_bba/invoice.py rename to addons/l10n_be_invoice_bba/models/account_invoice.py diff --git a/addons/l10n_be_invoice_bba/partner.py b/addons/l10n_be_invoice_bba/models/res_partner.py similarity index 100% rename from addons/l10n_be_invoice_bba/partner.py rename to addons/l10n_be_invoice_bba/models/res_partner.py diff --git a/addons/l10n_be_invoice_bba/account_invoice_view.xml b/addons/l10n_be_invoice_bba/views/account_invoice_view.xml similarity index 100% rename from addons/l10n_be_invoice_bba/account_invoice_view.xml rename to addons/l10n_be_invoice_bba/views/account_invoice_view.xml diff --git a/addons/l10n_be_invoice_bba/partner_view.xml b/addons/l10n_be_invoice_bba/views/res_partner_view.xml similarity index 100% rename from addons/l10n_be_invoice_bba/partner_view.xml rename to addons/l10n_be_invoice_bba/views/res_partner_view.xml