mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[ADD]rma_account_analytic
This commit is contained in:
committed by
Aaron ForgeFlow
parent
a2e0e1a902
commit
73c61da794
@@ -1,4 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
|
||||
|
||||
from . import rma_order
|
||||
from . import rma_order_line
|
||||
from . import procurement
|
||||
|
||||
@@ -3,3 +3,4 @@
|
||||
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html)
|
||||
|
||||
from . import rma_add_stock_move
|
||||
from . import rma_make_picking
|
||||
|
||||
@@ -13,5 +13,5 @@ class RmaAddStockMove(models.TransientModel):
|
||||
def _prepare_rma_line_from_stock_move(self, sm, lot=False):
|
||||
data = super(RmaAddStockMove, self)._prepare_rma_line_from_stock_move(
|
||||
sm, lot)
|
||||
data.update(analytic_account_id=sm.analytic_account_id)
|
||||
data.update(analytic_account_id=sm.analytic_account_id.id)
|
||||
return data
|
||||
|
||||
Reference in New Issue
Block a user