Skip to content

Commit

Permalink
[FIX]minor crap in several modules
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronHForgeFlow authored and JasminSForgeFlow committed Sep 26, 2023
1 parent 962a813 commit 88dc486
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rma_purchase_analytic/wizards/rma_add_purchase.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ class RmaLineMakePurchaseOrder(models.TransientModel):

@api.model
def _prepare_purchase_order_line(self, po, item):
res = super(RmaLineMakePurchaseOrder, self)._prepare_purchase_order_line(po, item)
res = super(
RmaLineMakePurchaseOrder, self)._prepare_purchase_order_line(
po, item)
res['account_analytic_id'] = item.line_id.analytic_account_id.id
return res

0 comments on commit 88dc486

Please sign in to comment.