Update digits in project invoice test scenario
Since 7c7f60798d49, get_total is always rounding the value with the currency digits.
This commit is contained in:
1 parent
5d9be5e253
commit
a44d43f09b
2 files changed
+4
-4
No files matched your search
@@ -131,7 +131,7 @@ Check project amounts::
|
||||
|
||||
>>> project.reload()
|
||||
>>> project.invoiced_amount
|
||||
Decimal('0')
|
||||
Decimal('0.00')
|
||||
>>> project.amount_to_invoice
|
||||
Decimal('0.00')
|
||||
|
||||
@@ -144,7 +144,7 @@ Check project amounts::
|
||||
|
||||
>>> project.reload()
|
||||
>>> project.invoiced_amount
|
||||
Decimal('0')
|
||||
Decimal('0.00')
|
||||
>>> project.amount_to_invoice
|
||||
Decimal('100.00')
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ Check project amounts::
|
||||
>>> project.amount_to_invoice
|
||||
Decimal('0.00')
|
||||
>>> project.invoiced_amount
|
||||
Decimal('0')
|
||||
Decimal('0.00')
|
||||
|
||||
Do project and subproject::
|
||||
|
||||
@@ -95,7 +95,7 @@ Check project amounts::
|
||||
>>> project.amount_to_invoice
|
||||
Decimal('120.00')
|
||||
>>> project.invoiced_amount
|
||||
Decimal('0')
|
||||
Decimal('0.00')
|
||||
|
||||
Invoice project::
|
||||
|
||||
|
||||
Reference in new issue
Block a user