Commit Graph

8 Commits

Author SHA1 Message Date
Cédric Pigeon (ACSONE)
5859951218 [FIX] account_credit_control: more accurate usage of sudo() to avoid multi-company issues (#666)
Step to reproduce:

* Define 2 companies A and B.
* Configure Policies only for company A (set the list of accounts)
* Set Admin user on company B

Try to change the policy on a partner on campany A. An error message will appear explaining that the account is not allowed on the policy.

The reason is that partner.property_account_receivable_id is evaluate in sudo() the contains the value of company B.
2018-07-14 10:48:02 +02:00
Kinner Vachhani
40a4b736c7 [MIG] account_credit_control: Migration to 11.0 2018-03-29 16:54:03 +02:00
cubells
09260a00ca [IMP] account_credit_control: add account_followup features
* Update translations
* Relocate credit control menu
* Improve partner followup info
* Add manual followup
2018-03-29 16:54:03 +02:00
Benjamin Willig (ACSONE)
85c42094e4 [ADD][account_credit_control] Add an additional text after the details of the credit control summary report (#534) 2018-03-29 16:54:03 +02:00
Sylvain Van Hoof
6ff1cfa88d [MIG] Add some unit tests on the module account_credit_control
(cherry picked from commit 7fa1b0ac883914f3cdfcaaa1a00016a35cced368)

[IMP] Add some unitest and fix a bug with exceptions

(cherry picked from commit c2f34ecd06fa5ba093084cf32f35c722c5866ff5)

[FIX] Reindent line

(cherry picked from commit b643a48f86b20ed6496f2e08366a407095d1540b)

[IMP] Add some new unittests

(cherry picked from commit f118e2391de3b443558d26186fe44f55a7f0b9c4)

[IMP] Add encoding in each python files

(cherry picked from commit 9599a88303b921c8e73174db61318f6dc9f02017)
2018-03-29 16:54:03 +02:00
Akim Juillerat
51902e3166 Fix errors, improve menus, views, readme
(cherry picked from commit 93a9b1ee4fd05c2a8fd97c305e392cab6a24f865)
2018-03-29 16:54:03 +02:00
Sylvain Van Hoof
c68727fa0c [MIG] Clean the code to respect PEP8 (remove useless imports, remove useless spaces, ...) and fix some small bugs
(cherry picked from commit efd9e9f8efe9a5e8da791d179b5a5d57710a31c3)

[FIX] Add space to respect PEP8

(cherry picked from commit 06c93c610646bb4269f303c3a7a55700cc6dfd1f)

[FIX] Replace the field "full_reconcile_id" by "reconciled" in a search domain on account.move.line

(cherry picked from commit cf2cfd43e34dff9eef2571b87de777a183c220c0)
2018-03-29 16:54:03 +02:00
Sylvain Van Hoof
b3b1a6493b [MIG] Migration of the module account_credit_control (from v8 to v10)
(cherry picked from commit 811310fd06ca8589fa8e87da6b8bdaea403bf660)

[MIG] Improve the code and fix some bugs

(cherry picked from commit 5bcdfe3f748884d650120f76d1642b820d0a800b)

[FIX] Change the parent for the menu Credit Control (the previous parent menu was not in the Odoo standard)

(cherry picked from commit 826257ce7b5248956d838cae9c94a012d550327e)

[FIX] Fix a lot of errors to respect pep8

(cherry picked from commit bed6cf35d665eea32122c91d33322af141053f29)

[FIX] Respect PEP8

(cherry picked from commit 6353eef0dce1bfe5db8a38d3410d1cc7f833fa10)
2018-03-29 16:54:03 +02:00