diff options
| -rw-r--r-- | indoteknik_custom/models/logbook_bill.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indoteknik_custom/models/logbook_bill.py b/indoteknik_custom/models/logbook_bill.py index 578ad59b..bb956092 100644 --- a/indoteknik_custom/models/logbook_bill.py +++ b/indoteknik_custom/models/logbook_bill.py @@ -22,7 +22,9 @@ class LogbookBill(models.TransientModel): ('product_id', '=', line.product_id.id), ], order='id desc', limit=1) total += line.quantity_done * po.price_unit - return total + total_with_tax = total * 1.11 + return total_with_tax + def create_logbook_bill(self): logbook_line = self.logbook_bill_line |
