facho/fe/form(InvoiceLine.quantity): se adicion restriccion entero.
FossilOrigin-Name: efaddef05d2d0564462b8ba78617ea7895ffa7fe77b2210c7094a8fa19aafe22
This commit is contained in:
		| @@ -355,6 +355,9 @@ class InvoiceLine: | ||||
|     def calculate(self): | ||||
|         self.tax.calculate(self) | ||||
|  | ||||
|     def __post_init__(self): | ||||
|         if not isinstance(self.quantity, int): | ||||
|             raise ValueError("quantity must be integer") | ||||
|  | ||||
| @dataclass | ||||
| class LegalMonetaryTotal: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user