We had a default warehouse_id on the users to allow a better stock managment based on the sale person. The warehouse_id on a sales order is now computed from the property_warehouse_id field on a user. If the user doesn't have a property_warehouse_id set the warehouse_id on the sales order is the one with the smallest sequence number in the company of the SO. Task-2166382
11 lines
287 B
Python
11 lines
287 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import account_move
|
|
from . import res_company
|
|
from . import sale_order
|
|
from . import res_config_settings
|
|
from . import stock
|
|
from . import product_template
|
|
from . import res_users
|