commit
faf2eae1cf
|
@ -248,11 +248,17 @@
|
||||||
</div>
|
</div>
|
||||||
<!--## amount_total_due_currency-->
|
<!--## amount_total_due_currency-->
|
||||||
<div class="act_as_cell amount">
|
<div class="act_as_cell amount">
|
||||||
<span t-esc="line['amount_currency']" />
|
<span
|
||||||
|
t-esc="line['amount_currency']"
|
||||||
|
t-options="{'widget': 'monetary', 'display_currency': env['res.currency'].browse(line['currency_id'])}"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<!--## amount_residual_currency-->
|
<!--## amount_residual_currency-->
|
||||||
<div class="act_as_cell amount">
|
<div class="act_as_cell amount">
|
||||||
<span t-esc="line['amount_residual_currency']" />
|
<span
|
||||||
|
t-esc="line['amount_residual_currency']"
|
||||||
|
t-options="{'widget': 'monetary', 'display_currency': env['res.currency'].browse(line['currency_id'])}"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</t>
|
</t>
|
||||||
<t t-if="not line['currency_id']">
|
<t t-if="not line['currency_id']">
|
||||||
|
|
|
@ -7,10 +7,12 @@ import time
|
||||||
from datetime import date
|
from datetime import date
|
||||||
|
|
||||||
from odoo import api, fields
|
from odoo import api, fields
|
||||||
|
from odoo.tests import tagged
|
||||||
|
|
||||||
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
|
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
|
||||||
|
|
||||||
|
|
||||||
|
@tagged("post_install", "-at_install")
|
||||||
class TestGeneralLedgerReport(AccountTestInvoicingCommon):
|
class TestGeneralLedgerReport(AccountTestInvoicingCommon):
|
||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(cls, chart_template_ref=None):
|
def setUpClass(cls, chart_template_ref=None):
|
||||||
|
|
|
@ -7,11 +7,13 @@ from datetime import datetime
|
||||||
from dateutil.relativedelta import relativedelta
|
from dateutil.relativedelta import relativedelta
|
||||||
|
|
||||||
from odoo.fields import Date
|
from odoo.fields import Date
|
||||||
|
from odoo.tests import tagged
|
||||||
from odoo.tests.common import Form
|
from odoo.tests.common import Form
|
||||||
|
|
||||||
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
|
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
|
||||||
|
|
||||||
|
|
||||||
|
@tagged("post_install", "-at_install")
|
||||||
class TestJournalReport(AccountTestInvoicingCommon):
|
class TestJournalReport(AccountTestInvoicingCommon):
|
||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(cls, chart_template_ref=None):
|
def setUpClass(cls, chart_template_ref=None):
|
||||||
|
|
|
@ -2,9 +2,12 @@
|
||||||
# Copyright 2016 Camptocamp SA
|
# Copyright 2016 Camptocamp SA
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||||
|
|
||||||
|
from odoo.tests import tagged
|
||||||
|
|
||||||
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
|
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
|
||||||
|
|
||||||
|
|
||||||
|
@tagged("post_install", "-at_install")
|
||||||
class TestOpenItems(AccountTestInvoicingCommon):
|
class TestOpenItems(AccountTestInvoicingCommon):
|
||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(cls, chart_template_ref=None):
|
def setUpClass(cls, chart_template_ref=None):
|
||||||
|
|
|
@ -3,9 +3,12 @@
|
||||||
# Copyright 2020 ForgeFlow S.L. (https://www.forgeflow.com)
|
# Copyright 2020 ForgeFlow S.L. (https://www.forgeflow.com)
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||||
|
|
||||||
|
from odoo.tests import tagged
|
||||||
|
|
||||||
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
|
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
|
||||||
|
|
||||||
|
|
||||||
|
@tagged("post_install", "-at_install")
|
||||||
class TestTrialBalanceReport(AccountTestInvoicingCommon):
|
class TestTrialBalanceReport(AccountTestInvoicingCommon):
|
||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(cls, chart_template_ref=None):
|
def setUpClass(cls, chart_template_ref=None):
|
||||||
|
|
|
@ -6,11 +6,13 @@ import time
|
||||||
from datetime import date
|
from datetime import date
|
||||||
|
|
||||||
from odoo import fields
|
from odoo import fields
|
||||||
|
from odoo.tests import tagged
|
||||||
from odoo.tests.common import Form
|
from odoo.tests.common import Form
|
||||||
|
|
||||||
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
|
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
|
||||||
|
|
||||||
|
|
||||||
|
@tagged("post_install", "-at_install")
|
||||||
class TestVATReport(AccountTestInvoicingCommon):
|
class TestVATReport(AccountTestInvoicingCommon):
|
||||||
@classmethod
|
@classmethod
|
||||||
def init_invoice(
|
def init_invoice(
|
||||||
|
|
|
@ -265,6 +265,7 @@ class TestAccountTaxBalance(HttpCase):
|
||||||
self.assertEqual(tax.balance, 17.5)
|
self.assertEqual(tax.balance, 17.5)
|
||||||
|
|
||||||
|
|
||||||
|
@odoo.tests.tagged("post_install", "-at_install")
|
||||||
class TestInvoicingBalance(AccountTestInvoicingCommon):
|
class TestInvoicingBalance(AccountTestInvoicingCommon):
|
||||||
def test_balance_recomputation(self):
|
def test_balance_recomputation(self):
|
||||||
"""Check that balances are computed correctly for different dates."""
|
"""Check that balances are computed correctly for different dates."""
|
||||||
|
|
Loading…
Reference in New Issue