Commit Graph

174 Commits

Author SHA1 Message Date
Adrien Peiffer (ACSONE)
d6a5c6ce67 [CHG] account_credit_control: remove demo file.
(cherry picked from commit c32d167ac05ebef2256e3cb5919c13e7b9229fdf)
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
Stéphane Bidoul
801aac59a1 [UPD] prefix versions with 8.0 2018-03-29 16:54:03 +02:00
OCA Transbot
873326b1f4 OCA Transbot updated translations from Transifex 2018-03-29 16:54:03 +02:00
Adrien Peiffer (ACSONE)
a1777bbf81 [CHG][account_credit_control] Change policy level data according field text to html change 2018-03-29 16:54:03 +02:00
Adrien Peiffer (ACSONE)
676832868a [ADD][account_credit_control] Add migration script for text field to html field change 2018-03-29 16:54:03 +02:00
OCA Transbot
e0abbc8c05 OCA Transbot updated translations from Transifex 2018-03-29 16:54:03 +02:00
Matthieu Dietrich
786b8221d3 Add 'api.one' to function setting model values 2018-03-29 16:54:03 +02:00
Yannick Vaucher
fde6d4a6b2 Add missing default oca icons 2018-03-29 16:54:03 +02:00
Adrien Peiffer (ACSONE)
a8b77fc784 [FIX][account_credit_control] Use HTML field instead of use a replace in the mail template - fix transiflex 2018-03-29 16:54:03 +02:00
Alexis de Lattre
28e4f2c24a FIX bug #262 in account_credit_control: Avoid a crash 2018-03-29 16:54:03 +02:00
Adrien Peiffer (ACSONE)
6d6e6306f3 [FIX][account_credit_control] Replace '/n' with '<br />' in credit control mail template 2018-03-29 16:54:03 +02:00
Laurent Mignon
ff9882bd0d [FIX] fix security issue on account_invoice
This fix seems ugly, but I cant figure why I've a security error when an invoice is  displayed for a user without right on credit_control despite the attribute 'groups' declared on the field definition in the form view
2018-03-29 16:54:03 +02:00
Andrius Preimantas
12e5862bb2 [FIX+IMP] account_credit_control: Fixes + Danish translation
* 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.
2018-03-29 16:54:03 +02:00
Stefan Rijnhart
93df67c9a1 [DEL] Group access for transient model 2018-03-29 16:54:03 +02:00
Adrien Peiffer (ACSONE)
9df22555e5 [IMP] Include the fees in the total due 2018-03-29 16:54:02 +02:00
Maxime Vanderhaeghe
cba101f95c fix active_ids instead of active_id 2018-03-29 16:54:02 +02:00
Guewen Baconnier
70e7966266 [MIG] account_credit_control: Migration to 8.0 2018-03-29 16:54:01 +02:00
Nicolas Bessi
3e36773432 [FIX] move all unported addons into __unported__ folder instead of adding _unported suffix 2018-03-29 16:53:22 +02:00
Nicolas Bessi
42a4171121 [FIX+IMP] account_credit_control
* 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
* ...
2018-03-29 16:48:56 +02:00
Vincent Renaville
9f1e86178c [FIx] Add active on credit control policy in order to deactivate it 2018-03-29 16:41:48 +02:00
Yannick Vaucher
675509627a [FIX] account_credit_control - add encoding on mako template to fix translation extraction 2018-03-29 16:41:48 +02:00
Guewen Baconnier
3e11c92a38 [IMP+FIX] account_credit_control:
* 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'
2018-03-29 16:41:22 +02:00
Vincent Renaville
7f6fcc5625 [FIX] account_credit_control: Test if invoice have credit control line in non draft state before deleting it 2018-03-29 16:40:42 +02:00
Guewen Baconnier
59cd274f80 [FIX] account_credit_control: Do not copy lines credit control lines when partners or accounts are duplicated 2018-03-29 16:40:16 +02:00
Vincent Renaville
d4a4974c45 [FIX] account_credit_control:
* Translation + report invoice address layout
* Label Force credit control policy + french translation
2018-03-29 16:39:22 +02:00
unknown
bde27de945 [FIX+IMP+REF] account_credit_control:
* 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
2018-03-29 16:34:59 +02:00
Yannick Vaucher
46824b3609 [FIX+IMP] account_credit_control
* 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
2018-03-29 16:34:02 +02:00
Alexandre Fayolle
fb703ab8d1 [FIX+IMP] account_credit_control
* 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
2018-03-29 16:32:53 +02:00
unknown
c62d4d2daf [IMP+FIX] account_credit_control: Several improvements & fixes
* 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
2018-03-29 16:30:34 +02:00
openerp
ae6d3b040f [IMP] account_credit_control: Add scenarios 2018-03-29 16:30:23 +02:00
unknown
bb1f454ddb [MIG] account_credit_control: Migration to 7.0 2018-03-29 16:29:38 +02:00
@
d3305d3566 [MIG] account_credit_control: Renamed and migrated to 6.1 2018-03-29 16:28:13 +02:00
OCA Git Bot
49587eb35b [ADD] setup.py 2018-03-27 04:35:19 +02:00
Stefan Rijnhart (Opener)
fd258f3d16 Merge pull request #638 from feketemihai/mig_account_move_fiscal_year
[11.0] [MIG} Migrate account_move_fiscal_year to 11.0
2018-03-26 14:13:59 +02:00
OCA Transbot
125daa2eb0 OCA Transbot updated translations from Transifex 2018-03-24 00:20:16 +01:00
OCA Git Bot
058f3a25b5 [ADD] setup.py 2018-03-22 04:35:26 +01:00
Jordi Ballester Alomar
a5b831ad55 Merge pull request #625 from etobella/11.0-add-account_loan
[ADD] account_loan
2018-03-21 18:02:36 +01:00
Enric Tobella
26faf32d8c [ADD] account_loan 2018-03-20 11:01:41 +01:00
Fekete Mihai
63daff9290 Migrate account_move_fiscal_year.
Remove store
2018-03-17 17:36:27 +02:00
OCA Transbot
3212467d08 OCA Transbot updated translations from Transifex
OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex
2018-03-17 17:36:27 +02:00
Adrien Peiffer (ACSONE)
9d95d48f6c [FIX] account_move_fiscal_year: check if the company is defined. 2018-03-17 17:36:27 +02:00
Benjamin Willig
abe6e57833 [10.0][ADD] Module which display the fiscal year on journal entries/items 2018-03-17 17:36:27 +02:00
Pedro M. Baeza
c4608579de Merge pull request #635 from feketemihai/11.0
[11.0] [BUG] Update demo data tax names.
2018-03-17 12:21:54 +01:00
OCA Git Bot
29da2fc9af [ADD] setup.py 2018-03-17 04:35:29 +01:00
OCA Transbot
a071deb0c1 OCA Transbot updated translations from Transifex 2018-03-17 00:19:43 +01:00
Fekete Mihai
d24577108b Update demo data tax names. 2018-03-16 17:27:47 +02:00
Jordi Ballester Alomar
f34058c90c Merge pull request #632 from feketemihai/add-account-group-menu
[11.0] [ADD] Add account_group_menu.
2018-03-16 15:29:02 +01:00
Jordi Ballester Alomar
02833e98b7 Merge pull request #631 from feketemihai/add-account-tag-menu
[11.0] [ADD] Add account_tag_menu module.
2018-03-16 15:28:41 +01:00
Fekete Mihai
dc9b0ec3e5 Add account_group_menu. 2018-03-15 13:41:40 +02:00