account_usability: Fix py3o method
This commit is contained in:
@@ -121,7 +121,7 @@ class AccountMove(models.Model):
|
|||||||
res = []
|
res = []
|
||||||
has_sections = False
|
has_sections = False
|
||||||
subtotal = 0.0
|
subtotal = 0.0
|
||||||
sign = self.type == 'out_refund' and -1 or 1
|
sign = self.move_type == 'out_refund' and -1 or 1
|
||||||
for line in self.invoice_line_ids:
|
for line in self.invoice_line_ids:
|
||||||
if line.display_type == 'line_section':
|
if line.display_type == 'line_section':
|
||||||
# insert line
|
# insert line
|
||||||
|
|||||||
Reference in New Issue
Block a user