NEW stock_location_account_company Company specific accounts per location for 12.0

This commit is contained in:
Jared Kipe
2019-10-17 08:26:23 -07:00
parent b81db8c24b
commit 4d5223327d
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)