mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
16 lines
441 B
Python
16 lines
441 B
Python
# Copyright 2017 Eficent Business and IT Consulting Services, S.L.
|
|
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class AccountAnalyticAccount(models.Model):
|
|
_inherit = "account.analytic.account"
|
|
|
|
stock_request_ids = fields.One2many(
|
|
comodel_name="stock.request",
|
|
inverse_name="analytic_account_id",
|
|
string="Stock Requests",
|
|
copy=False,
|
|
)
|