Skip to content

Commit

Permalink
Merge PR #145 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by etobella
  • Loading branch information
OCA-git-bot committed Apr 11, 2024
2 parents 5e3a7ac + 0bf4bbb commit b292c77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fleet_vehicle_purchase/models/purchase_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class PurchaseOrderLine(models.Model):

_inherit = "purchase.order.line"

def _prepare_account_move_line(self):
result = super()._prepare_account_move_line()
def _prepare_account_move_line(self, move=False):
result = super()._prepare_account_move_line(move)
result["vehicle_id"] = self.order_id.fleet_vehicle_id.id
return result

0 comments on commit b292c77

Please sign in to comment.