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

[12.0][MIG] account_credit_control #16

Merged
merged 66 commits into from
May 9, 2019

Conversation

MiquelRForgeFlow
Copy link
Contributor

@oca-clabot

This comment has been minimized.

@pedrobaeza
Copy link
Member

@mreficent does #18 's comments applied here?

account_credit_control/README.rst Show resolved Hide resolved
account_credit_control/README.rst Show resolved Hide resolved
account_credit_control/models/credit_control_policy.py Outdated Show resolved Hide resolved
@ and others added 20 commits April 5, 2019 17:31
* Modify scenarios to be compatible with python scenarios
* Voucher/statement related steps
* Deprecated step implementation
* Print report generation
* All tests green
* Mail + print of reminder
* Broken translations
* Fix failure to confirm invoice when both account_credit_control  and account_constraints are installed
* use except_orm instead of except_osv
* reindent code
* Cleanup
* use of deprecated field user_email causes permission error in multicompany setting fixed by using the correct 'email' field in the template
* Address in mako template to make sure address is displayed
* Remove 'more info here' from report
* Add some css to reminder report and set texts taking the whole width of the document
* Add a subject in reminder report
* Report use precise mode by default
* date_entry fields on line model to be used by report or in next MP on filter group by
* reporting layer, + add hook function to get contact address
* credit control mail are not in plain text but send as attachement
* policy level name is now translatable as it is use in report and mail
* permission on invoices because onetomany widget load data even if hidden ...
* translation files + lang source
* french translation
* Translation + report invoice address layout
* Label Force credit control policy + french translation
* pep8 (space after comma, reduced length of lines)
* does not need to check if there is ids before calling unlink, it will return early
* remove unused import
* 'raise a new invoice' is a British English expression for 'issue a new invoice'
* scenarios: We fix year of scenario on 2013 to have reproducable setup, and ensure test maintnability. The credit control scenarios are based on base_finance setup scenario provided in the project OpenERP Scenarios. This setup provide a financial setup for 2012 2013. We also fix some value as precision computation has been improved in OpenERP.
* bug 1287072 Level calculation error if previous credit line is ignored
* unifing wizard views to respect UI guide lines
* credit control policy changer. Add a wizard on Invoice that will add a credit line and deprecate exisiting one on the invoice
* test to ensure that wizard run on customer invoice
* Scenario that test coherence of credit run after manually altering an invoice level
* multicurrency in communication
* ...
* Partner Form view: field "credit_limit" is defined in account module, not base
* Minimal Danish translation
* Do not link e-mails to Transient records

Transient records are deleted periodically so res_id will point to ID which
does not exists. And when reading email records system would also check if
res_id can be read by user which would cause an exception because res_id
might not exist at that point.
pedrobaeza and others added 14 commits April 5, 2019 17:31
Currently translated at 71.3% (149 of 209 strings)

Translation: account-financial-tools-11.0/account-financial-tools-11.0-account_credit_control
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-11-0/account-financial-tools-11-0-account_credit_control/de/
Currently translated at 86,1% (180 of 209 strings)

Translation: account-financial-tools-11.0/account-financial-tools-11.0-account_credit_control
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-11-0/account-financial-tools-11-0-account_credit_control/nl/
Currently translated at 100,0% (209 of 209 strings)

Translation: account-financial-tools-11.0/account-financial-tools-11.0-account_credit_control
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-11-0/account-financial-tools-11-0-account_credit_control/de/
Currently translated at 100.0% (209 of 209 strings)

Translation: account-financial-tools-11.0/account-financial-tools-11.0-account_credit_control
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-11-0/account-financial-tools-11-0-account_credit_control/nl/
Currently translated at 95.7% (200 of 209 strings)

Translation: account-financial-tools-11.0/account-financial-tools-11.0-account_credit_control
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-11-0/account-financial-tools-11-0-account_credit_control/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-11.0/account-financial-tools-11.0-account_credit_control
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-11-0/account-financial-tools-11-0-account_credit_control/

[UPD] Update account_credit_control.pot
Currently translated at 12.0% (26 of 217 strings)

Translation: account-financial-tools-11.0/account-financial-tools-11.0-account_credit_control
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-11-0/account-financial-tools-11-0-account_credit_control/nl_NL/
Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-11.0/account-financial-tools-11.0-account_credit_control
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-11-0/account-financial-tools-11-0-account_credit_control/
@MiquelRForgeFlow
Copy link
Contributor Author

@pedrobaeza I think it's ready!

@pedrobaeza
Copy link
Member

Well, everything is red...

@MiquelRForgeFlow
Copy link
Contributor Author

Yeah, now is green 😁

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why have you changed all create calls with lists? There's no performance benefit for one record, and makes the diff very big.

account_credit_control/models/credit_control_run.py Outdated Show resolved Hide resolved
account_credit_control/tests/test_account_invoice.py Outdated Show resolved Hide resolved
Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pending on @cubells' comment.

Co-Authored-By: mreficent <miquel.raich@eficent.com>
@pedrobaeza
Copy link
Member

Merging as comment resolved.

@pedrobaeza pedrobaeza merged commit b4511e9 into OCA:12.0 May 9, 2019
@MiquelRForgeFlow MiquelRForgeFlow deleted the 12.0-mig-account_credit_control branch May 9, 2019 19:14
@OCA-git-bot OCA-git-bot mentioned this pull request Jun 19, 2019
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet