mirror of
https://bitbucket.org/presik/presik_pos.git
synced 2023-12-14 06:03:00 +01:00
Add validation invoice type
This commit is contained in:
parent
845f8745a4
commit
b4a9df2b26
|
@ -1327,7 +1327,7 @@ class MainWindow(FrontWindow):
|
|||
|
||||
def action_invoice_type_selection_changed(self, index):
|
||||
val = self.field_invoice_type.get_id()
|
||||
if val:
|
||||
if val and self._sale and self._sale.get('id'):
|
||||
self._PosSale.write([self._sale['id']], {'invoice_type': val})
|
||||
|
||||
def action_tax_selection_changed(self):
|
||||
|
|
Loading…
Reference in a new issue