-
-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MIG] account_credit_control_dunning_fees: Migration to 12.0 #20
Conversation
…hout needing overriding
This reverts commit 7eb182744f3057dd5cb9e35faf230412aa7a2331.
…ding _unported suffix
…noqa on scenario while waiting improvement of quality-tools
It will be easier to write additional tests
... on the policy level if it is empty. Also, it fixes a bug when a credit line had no currency and the level had the company's currency. As False is different than any currency, it entered in res_currency.compute() with a False currency. It must just fallback on the company's currency if the credit line's currency is empty.
With that, the suite is run even when we update another module and that not what we expect.
Display the fees column before the open amount, it is more logical since it is invoice amount + fees amount.
To avoid constraint.
Currently translated at 100.0% (20 of 20 strings) Translation: account-financial-tools-10.0/account-financial-tools-10.0-account_credit_control_dunning_fees Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-10-0/account-financial-tools-10-0-account_credit_control_dunning_fees/pt_PT/
Currently translated at 95.0% (19 of 20 strings) Translation: account-financial-tools-10.0/account-financial-tools-10.0-account_credit_control_dunning_fees Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-10-0/account-financial-tools-10-0-account_credit_control_dunning_fees/pt/
…ount-financial-tools into mig-dunning-fee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
base work LG, just nit-picking
account_credit_control_dunning_fees/tests/test_fees_generation.py
Outdated
Show resolved
Hide resolved
self.euro = self.currency_model.search([('name', '=', 'EUR')]) | ||
self.assertTrue(self.euro) | ||
self.usd = self.currency_model.search([('name', '=', 'USD')]) | ||
self.assertTrue(self.usd) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line 11-15 are weird
"""Initialize credit control level mock to test fees computations""" | ||
super(FixedFeesTester, self).setUp() | ||
self.currency_model = self.env['res.currency'] | ||
self.euro = self.currency_model.search([('name', '=', 'EUR')]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do not use self.env.ref('base.EUR')
Any news on this ? |
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
No description provided.