Skip to content

Commit e623886

Browse files
committed
[MIG] account_import_helper: mig 18 -> 19
Set other modules to installable=False
1 parent dc514bf commit e623886

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

account_import_helper/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
{
66
"name": "Account Import Helper",
7-
"version": "18.0.1.0.0",
7+
"version": "19.0.1.0.0",
88
"category": "Partner",
99
"license": "AGPL-3",
1010
"summary": "Helper methods to import accounting-related data",

account_import_helper/wizards/account_chart_import.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class AccountChartImport(models.TransientModel):
2727
source_module = fields.Selection([
2828
('l10n_fr_account', 'l10n_fr_account'),
2929
('l10n_fr_account_oca', 'l10n_fr_account_oca'),
30-
], default='l10n_fr_account_oca', required=True)
30+
], default='l10n_fr_account', required=True)
3131
input_file = fields.Binary(required=True, string="XLSX file")
3232
input_filename = fields.Char()
3333
input_start_line = fields.Integer(string="Start Line", default=2, required=True)

account_import_helper/wizards/account_chart_import_postprocess.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,22 @@ class AccountChartImportPostprocess(models.TransientModel):
2828
partner_receivable_account_id = fields.Many2one(
2929
'account.account',
3030
string='Partner Account Receivable', required=True, check_company=True,
31-
domain="[('account_type', '=', 'asset_receivable'), ('deprecated', '=', False), ('company_ids', 'in', company_id)]")
31+
domain="[('account_type', '=', 'asset_receivable'), ('company_ids', 'in', company_id)]")
3232
# target field: property_account_receivable_id
3333
partner_payable_account_id = fields.Many2one(
3434
'account.account',
3535
string='Partner Payable Account', required=True, check_company=True,
36-
domain="[('account_type', '=', 'liability_payable'), ('deprecated', '=', False), ('company_ids', 'in', company_id)]")
36+
domain="[('account_type', '=', 'liability_payable'), ('company_ids', 'in', company_id)]")
3737
# target field: property_account_payable_id
3838
product_categ_income_account_id = fields.Many2one(
3939
'account.account',
4040
string='Product Category Income Account', required=True, check_company=True,
41-
domain="[('deprecated', '=', False), ('account_type', '=', 'income'), ('company_ids', 'in', company_id)]")
41+
domain="[('account_type', '=', 'income'), ('company_ids', 'in', company_id)]")
4242
# target field: property_account_income_categ_id
4343
product_categ_expense_account_id = fields.Many2one(
4444
'account.account',
4545
string='Product Category Expense Account', required=True, check_company=True,
46-
domain="[('deprecated', '=', False), ('account_type', '=', 'expense'), ('company_ids', 'in', company_id)]")
46+
domain="[('account_type', '=', 'expense'), ('company_ids', 'in', company_id)]")
4747
# target field: property_account_expense_categ_id
4848
partner_receivable_account_default_id = fields.Many2one(
4949
'ir.default', readonly=True)
@@ -55,11 +55,11 @@ class AccountChartImportPostprocess(models.TransientModel):
5555
'ir.default', readonly=True)
5656
suspense_account_id = fields.Many2one(
5757
"account.account", string='Suspense Account of Bank/Cash Journals', check_company=True,
58-
domain="[('deprecated', '=', False), ('account_type', 'in', ('asset_current', 'liability_current')), ('company_ids', 'in', company_id)]",
58+
domain="[('account_type', 'in', ('asset_current', 'liability_current')), ('company_ids', 'in', company_id)]",
5959
)
6060
transfer_account_id = fields.Many2one(
6161
'account.account', string="Inter-Banks Transfer Account", check_company=True,
62-
domain="[('reconcile', '=', True), ('account_type', '=', 'asset_current'), ('deprecated', '=', False), ('company_ids', 'in', company_id)]",
62+
domain="[('reconcile', '=', True), ('account_type', '=', 'asset_current'), ('company_ids', 'in', company_id)]",
6363
)
6464

6565
@api.model

import_helper_base/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
'security/ir.model.access.csv',
1919
'wizards/import_helper_view.xml',
2020
],
21-
'installable': True,
21+
'installable': False,
2222
}

partner_import_helper/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
'phone_validation', # would be nice to avoid depending on it ?
1616
],
1717
"external_dependencies": {"python" : ["email-validator"]},
18-
'installable': True,
18+
'installable': False,
1919
}

product_import_helper/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
"import_helper_base",
1616
# account_product_fiscal_classification is now optional
1717
],
18-
"installable": True,
18+
"installable": False,
1919
}

0 commit comments

Comments
 (0)