Merge branch 'mig/15.0/stock_location_account_company' into '15.0'

WIP: mig/15.0/stock_location_account_company into 15.0

See merge request hibou-io/hibou-odoo/suite!1405
This commit is contained in:
Jared Kipe
2022-05-16 17:35:23 +00:00
4 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1 @@
from . import models

View File

@@ -0,0 +1,21 @@
{
'name': 'Multi-company Stock Location Accounting',
'summary': 'Multi-company Stock Location Accounting',
'version': '15.0.1.0.0',
'author': "Hibou Corp. <hello@hibou.io>",
'category': 'Warehouse',
'license': 'AGPL-3',
'complexity': 'expert',
'images': [],
'website': "https://hibou.io",
'description': """
""",
'depends': [
'stock_account',
],
'demo': [],
'data': [
],
'auto_install': False,
'installable': True,
}

View File

@@ -0,0 +1 @@
from . import stock

View File

@@ -0,0 +1,8 @@
from odoo import fields, models
class StockLocation(models.Model):
_inherit = 'stock.location'
valuation_in_account_id = fields.Many2one('account.account', company_dependent=True)
valuation_out_account_id = fields.Many2one('account.account', company_dependent=True)