Commit Graph

63 Commits

Author SHA1 Message Date
Fabien Pinckaers 3d9b149dcc [imp] merge + cleaning: contract managemeent, not perfect yet, but good enough -> to replace static email one day
bzr revid: fp@tinyerp.com-20111108225337-5muyehnvgqasv44i
2011-11-08 23:53:37 +01:00
Olivier Dony 8f9f45ea94 [IMP] all: next pass of review/renaming for new mail API
bzr revid: odo@openerp.com-20110822171659-zxho36a6n628i10q
2011-08-22 19:16:59 +02:00
Olivier Dony 50507512cb [MERGE] latest trunk
This was a helluva merge, with hundreds of conflicts resolved manually!!
I hope I did not break too many things, but a full review of the mail-related
features (where most of the conflicts occurred) must still be done before
this feature branch can be merged.

bzr revid: odo@openerp.com-20110809234428-3dsvxrt6t54ju0cf
2011-08-10 01:44:28 +02:00
Raphael Collet be0809a670 [MERGE] remove address_id from user
bzr revid: rco@openerp.com-20110803100602-75dcx4dqsh3sragi
2011-08-03 12:06:02 +02:00
RavishchanraMurari (Open ERP) caa3c07094 email.addresss_id_repalce_by_user_email
bzr revid: rmu@tinyerp.com-20110728061156-swmn5jz78zb3w4vd
2011-07-28 11:41:56 +05:30
Olivier Dony 48e5f7b773 [FIX] base_action_rule: dumb patch to avoid repeated calls to related cron task
base.action.rule uses a trick to piggyback on the
first execution of ir.cron's poolJobs() to register
its ORM hooks. It was currently doing that every
single time poolJobs() was called, leading to
incessant querying the ORM objects for which a
base action rule exist. 
Now it will do it only once, and then respect the
scheduled executions.
Soon this mechanism will be removed and replaced
by a proper event handler for some 'ORM finished init'
event, to be fired by the server.

bzr revid: odo@openerp.com-20110624102419-safqqq1hcc5v1tau
2011-06-24 12:24:19 +02:00
Stephane Wirtel 8fee569a7b [REF] Clean up
bzr revid: stephane@openerp.com-20110422113706-kyeoyfb79uvc5899
2011-04-22 13:37:06 +02:00
Rifakat Haradwala (Open ERP) 2fe7c51e36 [REM] email.smtp_server: removed email.smtp_server and did changes in email module
bzr revid: rha@tinyerp.com-20110321133156-y57yw6sekshnw9ns
2011-03-21 19:01:56 +05:30
Yogesh (OpenERP) 659900e4d5 [IMP] add argument in email_send method of addons module.
bzr revid: ysa@tinyerp.com-20110209091848-tb1d9qcj9bz3iq2b
2011-02-09 14:48:48 +05:30
Yogesh (OpenERP) 6bdf56a973 [MERGE] Merge with lp:openobject-addons
bzr revid: ysa@tinyerp.com-20110204092456-t9lequsjqs7pk1vz
2011-02-04 14:54:56 +05:30
YSA (Openerp) bbdac458fd [IMP] call email_send method of email.message object insted of tools.
bzr revid: ysa@tinyerp.com-20110204061819-bb3p94bs7og680je
2011-02-04 11:48:19 +05:30
Somesh(OpenERP) 8d225e0ef2 [FIX] Automated actions: Should never entertain context=None (Ref : Maintenance case 3924)
bzr revid: jvo@tinyerp.com-20110201064245-c6on0hoj1tdqrfgd
2011-02-01 12:12:45 +05:30
Daniel Watkins 7f30ad0eac [Fix] base_action_rule:Automated Actions with Timing conditions dont seem to fire
lp bug: https://launchpad.net/bugs/629471 fixed

bzr revid: sbh@tinyerp.com-20101221125903-w6ms1ooz44k6i8pu
2010-12-21 18:29:03 +05:30
uco (OpenERP) 6dd290e824 [REF]: Replace the condition 'if not context' with 'if context is None'.
bzr revid: uco@tinyerp.com-20101123070505-9i2lrqhgxzaii3zn
2010-11-23 12:35:05 +05:30
uco (OpenERP) 12fcd1be2f [IMP] : Added context=None on methods used for _constraints and replaced context={} with context=None.
bzr revid: uco@tinyerp.com-20101119134801-974ev29j4tu46pq2
2010-11-19 19:18:01 +05:30
Stephane Wirtel f6c48fdfa9 [IMP] Add the act_email_to field in the base.action.rule
bzr revid: stephane@openerp.com-20100930152942-k2r8q3haabc9jfrh
2010-09-30 17:29:42 +02:00
Daniel Watkins (credativ) 5fc14722bb Don't run timed actions if we don't have a time base.
bzr revid: daniel.watkins@credativ.co.uk-20100909142841-ntwee472cqr50t0i
2010-09-09 15:28:41 +01:00
Daniel Watkins (credativ) a53aeb5c0d Make action date calculation clearer.
bzr revid: daniel.watkins@credativ.co.uk-20100909142809-nrbt7f6sx3e86bxp
2010-09-09 15:28:09 +01:00
Daniel Watkins (credativ) 350887d5ab Wrap long lines and remove trailing whitespace.
bzr revid: daniel.watkins@credativ.co.uk-20100909142708-j16gpfvsxrh6qwno
2010-09-09 15:27:08 +01:00
Daniel Watkins (credativ) a298287a8c Even better removal of get_datetime stuff.
bzr revid: daniel.watkins@credativ.co.uk-20100909142549-zl1yt8s7swcibno5
2010-09-09 15:25:49 +01:00
Daniel Watkins (credativ) 9b37ccf4e2 Extract strptime calls to make code look clearer.
bzr revid: daniel.watkins@credativ.co.uk-20100909141328-3qz1ome23ani3yrm
2010-09-09 15:13:28 +01:00
Daniel Watkins (credativ) 6027763a6a Remove debugging statements.
bzr revid: daniel.watkins@credativ.co.uk-20100909135042-0qvo42y2l9jfq70w
2010-09-09 14:50:42 +01:00
Daniel Watkins (credativ) e5465c80c8 Don't run rules with time conditions from the create/write methods of models.
bzr revid: daniel.watkins@credativ.co.uk-20100909132721-wlnqp4uzwf3s7gjb
2010-09-09 14:27:21 +01:00
Daniel Watkins (credativ) 7c33b854ce Comment change.
bzr revid: daniel.watkins@credativ.co.uk-20100909132650-k4i750ub6y77rx8w
2010-09-09 14:26:50 +01:00
Daniel Watkins (credativ) 42ca500813 SQL case fix.
bzr revid: daniel.watkins@credativ.co.uk-20100909132626-wl8k91c4ae19ounv
2010-09-09 14:26:26 +01:00
Daniel Watkins (credativ) 910b26f28c Get the scheduler to actually run rules with time delays.
bzr revid: daniel.watkins@credativ.co.uk-20100909131750-ntafsguyput7r4xw
2010-09-09 14:17:50 +01:00
Stephane Wirtel 3b13de26ae [FIX] base_action_rule: Escape the emails
bzr revid: stephane@openerp.com-20100908113656-36zshoam6klxxznr
2010-09-08 13:36:56 +02:00
Stephane Wirtel 2a1754ff21 [FIX] base_action_rule: Use a flag on the object from the pool to disable the recursion issue
bzr revid: stephane@openerp.com-20100826142022-9o0xyd3o3a30lsec
2010-08-26 16:20:22 +02:00
Stephane Wirtel e3f3d97414 [FIX] Add a missing comma
bzr revid: stephane@openerp.com-20100824114643-of4n85w09r8kkffu
2010-08-24 13:46:43 +02:00
Stephane Wirtel 81c1a50f3c [FIX] base_action_rule: Pass the context to the base_action_rule#_action method
[REF] base_action_rule: Remove mutable arguments (context)
[REF] base_action_rule: Use getattr instead of hasattr (avoid bugs)
[FIX] project_issue: Specify the state_to key in the context from the message_new function (this key will be used in the do_check method of the base_action_rule object)

bzr revid: stephane@openerp.com-20100824112057-m9k1m92dnonftscs
2010-08-24 13:20:57 +02:00
Stephane Wirtel c2b3467432 [FIX] base_action_rule: Add a new field on the base_action_rule
object, this field helps the user to specify a specific field for the
form field of an email

bzr revid: stephane@openerp.com-20100819162750-brcq0jvu1ua3ua6s
2010-08-19 18:27:50 +02:00
Olivier Dony 23a7ad661d [IMP] base_action_rule: improved test conditions to avoid irrelevant error messages when accessing non-existant fields on browsed object
bzr revid: odo@openerp.com-20100726155306-qnz7wggnktyttjrh
2010-07-26 17:53:06 +02:00
rpa (Open ERP) a069671a8a [FIX]: crm: Name in domain for base_action_rule
bzr revid: rpa@tinyerp.com-20100726105949-fop8p9d2vdq6iwef
2010-07-26 16:29:49 +05:30
rpa (Open ERP) 1d07f4092b [IMP]: base_action_rule: Improvement for field 'name' + fix for trg_state_to
bzr revid: rpa@tinyerp.com-20100726092014-0anymi9z1g3b5cte
2010-07-26 14:50:14 +05:30
Anup (OpenERP) 3bc22e3169 [FIX] base_action_rule : Added domain for filters on rule
bzr revid: ach@tinyerp.com-20100721100142-oj2k4jnj6a10wzkv
2010-07-21 15:31:42 +05:30
qdp-launchpad@tinyerp.com dc8c7b4e5d [IMP] base_action_rule: correct typo on help tooltip
bzr revid: qdp-launchpad@tinyerp.com-20100712223854-0twb20jgfsa88wq2
2010-07-13 04:08:54 +05:30
rpa (Open ERP) 4f3a973bfa [IMP]: base_action_rule: Improvement for filter_id, removed domain and max level
bzr revid: rpa@tinyerp.com-20100710105548-wctwrr6dkg6w4sul
2010-07-10 16:25:48 +05:30
rpa (Open ERP) 7303590f8b [REF]: base_action_rule: Replace mx.Datetime with datetime.datetime
bzr revid: rpa@tinyerp.com-20100709121444-3kgw195rdgprmlz3
2010-07-09 17:44:44 +05:30
rpa (Open ERP) 86f8d9bc64 [IMP]: base_action_rule: Improvement for computing regex on history and number of history
bzr revid: rpa@tinyerp.com-20100709115422-hu6s5adz77qpzvk5
2010-07-09 17:24:22 +05:30
Olivier Dony d49f2a8170 [FIX] base_action_rule: fix deadlock by ensuring parent method is called *after* end transaction - pending refactoring for this ugly thing!
bzr revid: odo@openerp.com-20100706160342-dzd684u172juereq
2010-07-06 18:03:42 +02:00
rpa (Open ERP) 8985969fba [IMP]: base_action_rule: Improved query to get only active rules
bzr revid: rpa@tinyerp.com-20100706134805-pnlo2ry5fjs31sj7
2010-07-06 19:18:05 +05:30
rpa (Open ERP) 0a71188f44 [REF]: base_action_rule: Code cleaning + View improvement
bzr revid: rpa@tinyerp.com-20100706114625-b950gbemt6kux67n
2010-07-06 17:16:25 +05:30
qdp-launchpad@tinyerp.com 75cd7834c5 [FIX] base_action_rule: a condition that is triggered by a button return False if a button isn't pushed
bzr revid: qdp-launchpad@tinyerp.com-20100625134109-nxj529sqzn80u2yq
2010-06-25 15:41:09 +02:00
rpa (Open ERP) 80b8e5978d [IMP]: base_action_rule: Improved string labels in proper case
* Put filter in top

bzr revid: rpa@tinyerp.com-20100624125554-9xtlxzcwfa49zaaa
2010-06-24 18:25:54 +05:30
Mod2 Team (OpenERP) cd86bccc13 [IMP] base_action_rule:
* make proxy method of create/write methods of subcribed rule object to generate log details
* Move data of scheduler to check action rule every 4 hours from crm module into base_action_rule

bzr revid: hmo@tinyerp.com-20100624061755-blx8nzf8h9tr8xar
2010-06-24 11:47:55 +05:30
rpa (Open ERP) b3fbffbcfb [IMP]: base_action_rule: Improvement in view, Added missing changes back
bzr revid: rpa@tinyerp.com-20100511085948-qkgstav1qlouh84y
2010-05-11 14:29:48 +05:30
rpa (Open ERP) ba6b04d599 [IMP]: crm: Improvements in tooltips
bzr revid: rpa@tinyerp.com-20100510130729-ncctg8dtzper8zhz
2010-05-10 18:37:29 +05:30
rpa (Open ERP) 1d9d6af4c4 [IMP]: base_action_rule: Added ir.filter in action rule
bzr revid: rpa@tinyerp.com-20100430095832-j4oonfeduhbxoe1u
2010-04-30 15:28:32 +05:30
rpa (Open ERP) 031d2f1492 [IMP]: base_action_rule: Removed rule lines object and made changes accroding to it
bzr revid: rpa@tinyerp.com-20100426134517-jtqsvu18vh7j3hql
2010-04-26 19:15:17 +05:30
Stephane Wirtel 464fa73f7a [FIX] base_action_rule: Add the deadline option in the selection for the date fields to handle
bzr revid: stephane@openerp.com-20100422114419-wvrkppr72hj7wi7b
2010-04-22 13:44:19 +02:00