Merge dev from main #1

Merged
admin merged 25 commits from main into dev 2026-01-05 13:03:46 +00:00
Showing only changes of commit c42edc4efd - Show all commits

View File

@@ -1685,7 +1685,7 @@ class Line(sequence_ordered(), ModelSQL, ModelView):
@fields.depends( @fields.depends(
'type', 'quantity', 'unit_price', 'type', 'quantity', 'unit_price',
'purchase', '_parent_purchase.currency') 'purchase', '_parent_purchase.currency','premium')
def on_change_with_amount(self): def on_change_with_amount(self):
if (self.type == 'line' if (self.type == 'line'
and self.quantity is not None and self.quantity is not None