summaryrefslogtreecommitdiff
path: root/addons/sale_mrp
diff options
context:
space:
mode:
authorwan <wan@odoo.com>2019-08-28 09:05:29 +0000
committerqdp-odoo <qdp@odoo.com>2019-08-29 15:07:47 +0000
commit5aeec0c3dcd8aa20293167073f3f4f5cec323b74 (patch)
treee881f0c4a6e154533412d3ab5d182bab58e82b25 /addons/sale_mrp
parent33354f71e16e595b8f9f2039abce82cd2e80097f (diff)
[IMP] account: Hierarchy in account type selection field
Task 2041865 We want to show a hierarchy to ease the account type selection (hack in the select widget) BALANCE SHEET ASSETS Fixed Assets Non-current Assets Current Assets Prepayments Receivable Bank and Cash LIABILITIES Equity Current Year Earnings Non-current Liabilities Current Liabilities Credit Card Payable PROFIT & LOSS Income Other Income Expenses Cost of Revenue Depreciation OTHER Off-Balance Sheet closes odoo/odoo#36170 Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
Diffstat (limited to 'addons/sale_mrp')
-rw-r--r--addons/sale_mrp/tests/test_sale_mrp_flow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/sale_mrp/tests/test_sale_mrp_flow.py b/addons/sale_mrp/tests/test_sale_mrp_flow.py
index ecd7f4c4380..07e5f596146 100644
--- a/addons/sale_mrp/tests/test_sale_mrp_flow.py
+++ b/addons/sale_mrp/tests/test_sale_mrp_flow.py
@@ -572,7 +572,7 @@ class TestSaleMrpFlow(common.SavepointCase):
self.company.anglo_saxon_accounting = True
self.partner = self.env.ref('base.res_partner_1')
self.category = self.env.ref('product.product_category_1').copy({'name': 'Test category','property_valuation': 'real_time', 'property_cost_method': 'fifo'})
- account_type = self.env['account.account.type'].create({'name': 'RCV type', 'type': 'other'})
+ account_type = self.env['account.account.type'].create({'name': 'RCV type', 'type': 'other', 'internal_group': 'asset'})
self.account_receiv = self.env['account.account'].create({'name': 'Receivable', 'code': 'RCV00' , 'user_type_id': account_type.id, 'reconcile': True})
account_expense = self.env['account.account'].create({'name': 'Expense', 'code': 'EXP00' , 'user_type_id': account_type.id, 'reconcile': True})
account_output = self.env['account.account'].create({'name': 'Output', 'code': 'OUT00' , 'user_type_id': account_type.id, 'reconcile': True})