Merge branch 'new/12.0/stock_location_account_company' into '12.0-test'

new/12.0/stock_location_account_company into 12.0-test

See merge request hibou-io/hibou-odoo/suite!169
This commit is contained in:
Hibou Bot
2019-10-17 15:27:58 +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': '12.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)