[FIX] purchase: Import res_config_settings.py after res_company.py

Purpose
=======

Steps :
- Blank DB (without demo)
- Install inventory, Sales
- Create some products + update qty + activate serial number from setting and create some products (I tried this step and faced traceback)
- Now try to install Purchase app
It gives traceback..

Specification
=============

As the field po_lock is defined on the res_company and a related field is defined on the res_config_settings.py file, modify the import order.

change the position of res.company file, so that fields of po_lock will define first and then it will not generate field's error in res.config.settings file.
This commit is contained in:
Hetashree Chauhan
2017-09-21 13:33:04 +02:00
committed by Yannick Tivisse
parent 0267b0ac50
commit 83f4e72f04
+1 -1
View File
@@ -3,8 +3,8 @@
from . import account_invoice
from . import purchase
from . import res_config_settings
from . import res_company
from . import res_config_settings
from . import res_partner
from . import stock
from . import stock_config_settings