Skip to content
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

Closed
wants to merge 53 commits into from

Conversation

TDu
Copy link
Member

@TDu TDu commented Jun 19, 2019

No description provided.

nbessi and others added 30 commits June 19, 2019 10:56
This reverts commit 7eb182744f3057dd5cb9e35faf230412aa7a2331.
…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.
yvaucher and others added 16 commits June 19, 2019 10:58
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/
@pedrobaeza pedrobaeza added this to the 12.0 milestone Jun 19, 2019
Copy link
Member

@i-vyshnevska i-vyshnevska left a 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

self.euro = self.currency_model.search([('name', '=', 'EUR')])
self.assertTrue(self.euro)
self.usd = self.currency_model.search([('name', '=', 'USD')])
self.assertTrue(self.usd)
Copy link
Member

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')])
Copy link
Member

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')

account_credit_control_dunning_fees/model/line.py Outdated Show resolved Hide resolved
account_credit_control_dunning_fees/__manifest__.py Outdated Show resolved Hide resolved
@zeroheure
Copy link

Any news on this ?

@github-actions
Copy link

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.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 24, 2021
@github-actions github-actions bot closed this Nov 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet