frappe / books

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

🐛 [General Question] - adding custom field on InvoiceItem and i want only to show on sales invoices #870

Open xcode-ae opened 3 months ago

xcode-ae commented 3 months ago

Summary

Hello team, i have a question regarding adding custom field on "InvoiceItem" called "fieldname": "lowerupper", for showing in sales invoices and it's working fine, but the issue is also showing in purchasing item invoice, how to hide it and allow only to be showing on sales invoices as the PurchaseInvoiceItem.json is "extends": "InvoiceItem" means all the information getting from the file called InvoiceItem.json

Screen Shot 2024-03-24 at 8 57 45 PM

sales invoice which i want "lowerupper"

Screen Shot 2024-03-24 at 8 58 27 PM

purchasing invoice i dont want to be showing "lowerupper"

Screen Shot 2024-03-24 at 8 59 27 PM