Skip to content

Commit

Permalink
fix: typo in sales_register's filter mode_of_payment (backport #32371) (
Browse files Browse the repository at this point in the history
#32447)

fix: typo in sales_register's filter mode_of_payment (#32371)
  • Loading branch information
mergify[bot] committed Oct 1, 2022
1 parent 001afb9 commit cdc8297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/accounts/report/sales_register/sales_register.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def get_sales_invoice_item_field_condition(field, table="Sales Invoice Item") ->
where parent=`tabSales Invoice`.name
and ifnull(`tab{table}`.{field}, '') = %({field})s)"""

conditions += get_sales_invoice_item_field_condition("mode_of_payments", "Sales Invoice Payment")
conditions += get_sales_invoice_item_field_condition("mode_of_payment", "Sales Invoice Payment")
conditions += get_sales_invoice_item_field_condition("cost_center")
conditions += get_sales_invoice_item_field_condition("warehouse")
conditions += get_sales_invoice_item_field_condition("brand")
Expand Down

0 comments on commit cdc8297

Please sign in to comment.