frappe / books

Free Accounting Software
https://frappe.io/books
GNU Affero General Public License v3.0
2.68k stars 614 forks source link

🐛 [Bug] - Price List field is shown when its unselected and Invoice is Submitted / Cancelled #844

Closed akshayitzme closed 4 months ago

akshayitzme commented 4 months ago

Expected Behavior

If Pricelist is not selected, it should be hidden when the Invoice is Submitted / Cancelled

Current Behavior

Pricelist field is visible when its empty and Invoice is Submitted / Cancelled

image

Steps to Reproduce

  1. Go to Sales --> Sales Invoices
  2. Create a New Invoice leaving the Price List field empty.
  3. Save and Submit
  4. Price List field will be shown even if its empty and Invoice is in Submitted / Cancelled state

FrappeBooks Version

0.21

Path or Feature name

Sales Invoice

Country

IN

Language

EN

OS

Linux x86_64

Additional OS Info

Manjaro 23.1.3