Commit Graph

104 Commits

Author SHA1 Message Date
Denis Ledoux d24ff706a9 [FIX] account_followup: check_description constraint must take into account the translation
When adding a `%` in the followup letter content,
the constraint checking there is no syntax error
is supposed to raise a warning, telling '%' must
be set as `%%` when you want to display this percentage
char.

This constraint did not take into account the translation,
so when being in another language (e.g. French),
and adding a `%`, the warning was not raised, while
it should have been.

Closes #8680
2015-09-24 17:28:00 +02:00
Goffin Simon 5831aca505 [FIX] account_followup: contact with type = "invoice"
In "Payment Follow-up" when clicking on "Send Overdue Email"
if contact with type = "invoice"  and an email exists in the childs then
the email will be send to this contact else the normal behavior
is kept. When the overvue email is sent to a contact who is not the commercial
partner, a message is written in the chatter of the commercial partner to inform him
that the email has been sent to the "invoice" contact.

Closes #7870
opw:646149, 646575
2015-08-06 13:04:49 +02:00
Denis Ledoux 41f4b11ef4 [MERGE] forward port of branch saas-3 up to e552e09 2015-04-30 15:45:03 +02:00
Denis Ledoux 2c3c2b57db [MERGE] forward port of branch 7.0 up to f2f4391 2015-04-30 10:50:51 +02:00
Denis Ledoux f2f4391e8b [FIX] account_followup: partial overdue payments
This is related to rev. ab9f02cdee

The above rev. take care to exclude payments that are not yet due;
meaning the ones due in the future, by checking the maturity
date.

Problem: Payments (e.g. move lines from bank statements)
do not have a maturity date. Only move lines that actually
have a maturity date, in the future, must be excluded,
not the one that do not have a maturity date.

opw-633930
2015-04-29 17:45:02 +02:00
Christophe Simonis 416f0246ac [MERGE] forward port of branch saas-3 up to 4a3c471 2015-03-09 12:03:22 +01:00
Christophe Simonis 4a3c4713e9 [MERGE] forward port of branch 7.0 up to 209ce6f 2015-03-09 11:24:32 +01:00
Goffin Simon ab9f02cdee [FIX] account_followup: overdue payments must exclude payments not yet due.
Before this revision, the overdue payments report contained all payments due,
including the ones in the future, that are not actually due yet.

opw-628874
2015-03-04 17:12:23 +01:00
Christophe Simonis 22c390285f [MERGE] forward port of branch 7.0 up to 78a29b3 2014-10-21 13:06:27 +02:00
dhr-odoo 7cc3e65b33 [FIX] account_followup: do no duplicate partner's account.move.line
Duplicating a partner should not duplicate the content of the unreconciled_aml_ids field.
2014-10-20 09:54:43 +02:00
Olivier Dony b9275da8a5 [MERGE] Forward-port 7.0 up to 23cffab 2014-08-13 17:30:06 +02:00
Olivier Dony 18fe7abcc6 [FIX] account_followup: avoid crashing when a move line has no ref 2014-08-13 11:45:59 +02:00
Raphael Collet cbe2dbb672 [MERGE] new v8 api by rco
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Jaydeep Barot 026e38b48f [REM] Unnecessary `size` parameters on char fields 2014-06-25 17:13:43 +02:00
Christophe Simonis b8089a1521 [MERGE] forward port of branch saas-4 up to revid 9410 chs@openerp.com-20140507164207-kmme4tsrd4w1m7l1
bzr revid: chs@openerp.com-20140507170112-bjeltv2b0coy60am
2014-05-07 19:01:12 +02:00
Simon Lejeune 7ad6d7a150 [FIX] Report: usage of ids in get_action more consistent: only pass them when they are useful, else pass an empty list
bzr revid: sle@openerp.com-20140502130310-106au0jsza0b3nwe
2014-05-02 15:03:10 +02:00
Mansi Kariya (OpenERP) afd6aa2472 [IMP] Added context.
bzr revid: mka@tinyerp.com-20140422103802-jhcwotzhh6chcmqu
2014-04-22 16:08:02 +05:30
Mansi Kariya (OpenERP) 60b6ac6669 [IMP] used osv.TransientModel instead of osv.osv_memory in account_followup and removed rml report reference
bzr revid: mka@tinyerp.com-20140422094926-gqc3s87t7ha517q2
2014-04-22 15:19:26 +05:30
Mansi Kariya (OpenERP) c8e215f986 [MERGE] Merged With main Addons
bzr revid: mka@tinyerp.com-20140409132813-61ohxqh8mrtj2xzb
2014-04-09 18:58:13 +05:30
Simon Lejeune 106d06ce5d [IMP] account* reports: removed unused class/report/commented code/test, added the abstract_report wrapper on all old style report classes + some fixes on views and wizards in order to use these classes to render the qweb reports
bzr revid: sle@openerp.com-20140402164053-gry12scy8zca68lv
2014-04-02 18:40:53 +02:00
Simon Lejeune c771903c3b [IMP] account* reports: removed rml, added qweb template, changed the wizard to return qweb actions
bzr revid: sle@openerp.com-20140327182520-uu7ezsqic30x7mqo
2014-03-27 19:25:20 +01:00
Chirag Dodiya (OpenERP) a06919ccc7 [IMP]Improved code to open form view of followup level
bzr revid: cod@tinyerp.com-20140313124645-tdbawyh2tbfsw5ho
2014-03-13 18:16:45 +05:30
Chirag Dodiya (OpenERP) f7c0288478 [IMP]Improved view of followup level and set method on link to open form view of followup level
bzr revid: cod@tinyerp.com-20140313112625-jaqka8ezgcn0exs6
2014-03-13 16:56:25 +05:30
Christophe Simonis 5fa03ad26c [FIX] account_followup: report `datas` MUST include `ids`
bzr revid: chs@openerp.com-20131008170714-61vyjs9zg35cz1ls
2013-10-08 19:07:14 +02:00
Thibault Delavallée a05b0bebbe [FORWARD] Forward port of 7.0 branch until revision 9143.
bzr revid: tde@openerp.com-20130521122359-b5vii7gv8arluz06
2013-05-21 14:23:59 +02:00
Josse Colpaert cb47467d80 [IMP] Only change manual action date when not set already
bzr revid: jco@openerp.com-20130404094816-h9v18bgc3lkaa79u
2013-04-04 11:48:16 +02:00
Quentin (OpenERP) be05b374a1 [MERGE] forwardport of bugfixes made in v7 up to revision 8854.
bzr revid: qdp-launchpad@openerp.com-20130314112740-s01t51p4m7mxcumz
2013-03-14 12:27:40 +01:00
Stephane Wirtel f0116f3696 [FIX] account_followup: Remove the notified_partner_ids and set the
right value for the partner_ids parameter for the message_post
function

bzr revid: stw@openerp.com-20130304131934-tkly4aesoirvaas6
2013-03-04 14:19:34 +01:00
Quentin (OpenERP) 86126f17b8 [IMP] account_followup: it is now possible to group by the followup level of partners (added store={} on followup level fields)
bzr revid: qdp-launchpad@openerp.com-20130225143309-9652l4j9pojtory9
2013-02-25 15:33:09 +01:00
Quentin (OpenERP) cba250ba86 [FIX] account_followup: merged the branch of jco fixing the account_followup module + made few code improvements during code review (expained on the merge prop)
bzr revid: qdp-launchpad@openerp.com-20130211151352-01k7x8h8klg0z8iu
2013-02-11 16:13:52 +01:00
Josse Colpaert 9d916305a2 [IMP] Add name (description) field in followup table for email template
bzr revid: jco@openerp.com-20130124153945-xl8okcwikb9qgez3
2013-01-24 16:39:45 +01:00
Josse Colpaert 3ca5e52960 [IMP] Improve message when changing responsible
bzr revid: jco@openerp.com-20130124135744-kvxf8vk57cmfaihc
2013-01-24 14:57:44 +01:00
Josse Colpaert a3c5ba7b52 [IMP] Remove payment_no_email field for merge in 7
bzr revid: jco@openerp.com-20130123154259-7z8a2eorg3nk1qg9
2013-01-23 16:42:59 +01:00
Josse Colpaert 06287cfc2f [IMP] Responsible change message private
bzr revid: jco@openerp.com-20130123152923-iu4omw1qmmwcdfyh
2013-01-23 16:29:23 +01:00
Josse Colpaert 4b2d2b8ccf [IMP] Simple responsible change message
bzr revid: jco@openerp.com-20130121095426-0r0y92trm23bef28
2013-01-21 10:54:26 +01:00
Josse Colpaert 0f5eceb07b [IMP] Added checkbox for sending intercompany payment reminders or not
bzr revid: jco@openerp.com-20130118111849-h5dfehmot1231a09
2013-01-18 12:18:49 +01:00
Josse Colpaert 0e3308ef92 [IMP] Add field for not sending emails
bzr revid: jco@openerp.com-20130117163159-ceqq1ewf55go05ua
2013-01-17 17:31:59 +01:00
Olivier Dony 88ffcb91b4 [FIX] account_followup: fix incorrect parameters passed to context_today()
bzr revid: odo@openerp.com-20130111184226-q4w133x1i7cjsthr
2013-01-11 19:42:26 +01:00
Quentin (OpenERP) 925ab0c09f [FIX] account_followup: print the overdue report on partner defined in account_followup instead of the default one from account, when clicking on 'print overdue payments', in the partner form view. Improved the report in order to get the text to print more efficiently, and to return the first text from the sequence even if the partner has no level
bzr revid: qdp-launchpad@openerp.com-20130103094818-4e73d2clqkqai5xh
2013-01-03 10:48:18 +01:00
Quentin (OpenERP) 8606185a23 [FIX] account_followup: print followup button on res.partner now call the overdue report from account_followup module instead of the basic one
bzr revid: qdp-launchpad@openerp.com-20121228160704-z56vb5an236emygg
2012-12-28 17:07:04 +01:00
Cecile Tonglet 15fe515601 [MERGE] From trunk
bzr revid: cto@openerp.com-20121217144306-tkodwpox30cuvb28
2012-12-17 15:43:06 +01:00
Raphael Collet 8e43af0e70 [IMP] account_followup: in email templates, move the followup_table from the context to a partner method
bzr revid: rco@openerp.com-20121214141654-ksmjs6t73wzwedvl
2012-12-14 15:16:54 +01:00
Vo Minh Thu 6072fd11af [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20121210111654-0pm3pupnqqeip52n
2012-12-10 12:16:54 +01:00
Quentin (OpenERP) 354a55715e [MERGE] merged the branch of jco with account_followup improvement, fixes and refactoring. It also includes a fix of the function search on credit field of res.partner that wasn't given proper results if a partner had no account.move.line
bzr revid: qdp-launchpad@openerp.com-20121207094559-q4o6p2gj2d334pad
2012-12-07 10:45:59 +01:00
Quentin (OpenERP) 767fad5f96 [REF] account_followup: use payment_amount_due instead of credit field
bzr revid: qdp-launchpad@openerp.com-20121207085746-fcnkni42jruaiqlu
2012-12-07 09:57:46 +01:00
Quentin (OpenERP) 85e8ece99c [REF] account_followup: refactoring
bzr revid: qdp-launchpad@openerp.com-20121206230918-ff0xi061fbauaj9d
2012-12-07 00:09:18 +01:00
Quentin (OpenERP) df81eada09 [REF] account_followup: refactoring of search functions of function fields
bzr revid: qdp-launchpad@openerp.com-20121206191537-obrvvt2x07iocx4d
2012-12-06 20:15:37 +01:00
Quentin (OpenERP) 885000b0f0 [REF] account_followup: fixing the redbot
bzr revid: qdp-launchpad@openerp.com-20121206181045-jbgmh4um218jk0fv
2012-12-06 19:10:45 +01:00
Quentin (OpenERP) 0f5c3fb9f9 [REF] account_followup: refactoring
bzr revid: qdp-launchpad@openerp.com-20121206174425-p9kzotbpfadicns6
2012-12-06 18:44:25 +01:00
Quentin (OpenERP) 68d4ebc81d [REF] account_followup: refactoring
bzr revid: qdp-launchpad@openerp.com-20121206172626-wv8txhwnlcm5qci9
2012-12-06 18:26:26 +01:00