fix(purchase-invoice): add rounded total property setter for purchase invoice (#18841)
This commit is contained in:
		
							parent
							
								
									c174e4d01a
								
							
						
					
					
						commit
						cb44f3a7c3
					
				| @ -58,7 +58,7 @@ class GlobalDefaults(Document): | |||||||
| 
 | 
 | ||||||
| 		# Make property setters to hide rounded total fields | 		# Make property setters to hide rounded total fields | ||||||
| 		for doctype in ("Quotation", "Sales Order", "Sales Invoice", "Delivery Note", | 		for doctype in ("Quotation", "Sales Order", "Sales Invoice", "Delivery Note", | ||||||
| 			"Supplier Quotation", "Purchase Order"): | 			"Supplier Quotation", "Purchase Order", "Purchase Invoice"): | ||||||
| 			make_property_setter(doctype, "base_rounded_total", "hidden", self.disable_rounded_total, "Check") | 			make_property_setter(doctype, "base_rounded_total", "hidden", self.disable_rounded_total, "Check") | ||||||
| 			make_property_setter(doctype, "base_rounded_total", "print_hide", 1, "Check") | 			make_property_setter(doctype, "base_rounded_total", "print_hide", 1, "Check") | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user