Skip to content

Commit

Permalink
fix: use correct fieldname for purchase receipt column in item_wise_p…
Browse files Browse the repository at this point in the history
…urchase_register report (#35828)

fix: use correct fieldname for purchase receipt column in item_wise_purcchase_register report

(cherry picked from commit dcfc86e)

Co-authored-by: phot0n <ritwikpuri5678@gmail.com>
  • Loading branch information
mergify[bot] and phot0n committed Jun 24, 2023
1 parent 8ecca2a commit 8f13b48
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def _execute(filters=None, additional_table_columns=None, additional_query_colum
"project": d.project,
"company": d.company,
"purchase_order": d.purchase_order,
"purchase_receipt": d.purchase_receipt,
"purchase_receipt": purchase_receipt,
"expense_account": expense_account,
"stock_qty": d.stock_qty,
"stock_uom": d.stock_uom,
Expand Down Expand Up @@ -241,7 +241,7 @@ def get_columns(additional_table_columns, filters):
},
{
"label": _("Purchase Receipt"),
"fieldname": "Purchase Receipt",
"fieldname": "purchase_receipt",
"fieldtype": "Link",
"options": "Purchase Receipt",
"width": 100,
Expand Down

0 comments on commit 8f13b48

Please sign in to comment.