mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
NEW stock_location_account_company Company specific accounts per location for 12.0
This commit is contained in:
1
stock_location_account_company/__init__.py
Normal file
1
stock_location_account_company/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from . import models
|
||||
21
stock_location_account_company/__manifest__.py
Normal file
21
stock_location_account_company/__manifest__.py
Normal 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,
|
||||
}
|
||||
1
stock_location_account_company/models/__init__.py
Normal file
1
stock_location_account_company/models/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from . import stock
|
||||
8
stock_location_account_company/models/stock.py
Normal file
8
stock_location_account_company/models/stock.py
Normal 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)
|
||||
Reference in New Issue
Block a user