Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TA#72320 [14.0][IMO] Remove dependency with odoo-enterprise in UTs
Browse files Browse the repository at this point in the history
majouda committed Dec 6, 2024
1 parent c38c292 commit 17f6087
Showing 3 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .docker_files/main/__manifest__.py
Original file line number Diff line number Diff line change
@@ -11,7 +11,6 @@
"category": "Other",
"summary": "Install all addons required for testing.",
"depends": [
"account_accountant", # Used for testing account_fr_ca_labels
"l10n_generic_coa", # Used for testing addons
"account_additional_group",
"account_analytic_required_forbidden",
@@ -20,6 +19,7 @@
"account_closing_journal",
"account_closing_journal_mis_builder",
"account_closing_wizard",
"account_financial_report", # Used for testing account_fr_ca_labels
"account_fiscalyear_end_on_company",
"account_fr_ca_labels",
"account_invoice_constraint_chronology_forced",
@@ -33,6 +33,7 @@
"account_payment_term_usage_purchase",
"account_payment_term_usage_sale",
"account_payment_widget_link",
"account_reconciliation_widget", # Used for testing account_fr_ca_labels
"account_report_trial_balance",
"account_search_by_amount",
"account_show_full_features",
8 changes: 2 additions & 6 deletions account_fr_ca_labels/tests/test_fr_translations.py
Original file line number Diff line number Diff line change
@@ -38,17 +38,13 @@ def test_translations_found_with_correct_term(self, data):
class TestAgedBalance(TranslationCase):

@data(
('Aged Receivable', 'Balance agée clients'),
('Aged Payable', 'Balance agée fournisseurs'),
('Aged Partner Balances', 'Balances agées des tiers'),
("Aged Partner Balance", "Balances agées des tiers"),
)
def test_no_translation_found_with_wrong_term(self, data):
assert not self._find_translation(data[0], data[1])

@data(
('Aged Receivable', 'Âge des comptes clients'),
('Aged Payable', 'Âge des comptes fournisseurs'),
('Aged Partner Balances', 'Âge des comptes'),
('Aged Partner Balance', 'Âge des comptes'),
)
def test_translations_found_with_correct_term(self, data):
assert self._find_translation(data[0], data[1])
10 changes: 10 additions & 0 deletions gitoo.yml
Original file line number Diff line number Diff line change
@@ -6,6 +6,16 @@
includes:
- partner_affiliate_extended

- url: https://github.com/OCA/account-financial-reporting
branch: "14.0"
includes:
- account_financial_report

- url: https://github.com/OCA/account-reconcile
branch: "14.0"
includes:
- account_reconciliation_widget

- url: https://github.com/OCA/mis-builder
branch: "14.0"
includes:

0 comments on commit 17f6087

Please sign in to comment.