Commit Graph

139 Commits

Author SHA1 Message Date
Thibault Delavallée 62bcae6fcc [REF] ir.actions.server: cleaning and refactoring.
Main modifications:
- removed dummy, email (now coming with email_template), loop, sms
- cleaned code, made it easy to override
- improved view to ease the definition of new server actions
- changed/updated fields
- added tests
- added changelog

bzr revid: tde@openerp.com-20130715152424-deucc2rlg2ax3tyc
2013-07-15 17:24:24 +02:00
ggh-openerp dd7614e716 [IMP] Remove space before Exclamation marks [!] in Warning
bzr revid: ggh@tinyerp.com-20130429072938-knas9ymmny5o2z0v
2013-04-29 12:59:38 +05:30
Raphael Collet 05851d21ba [MERGE] from trunk
bzr revid: rco@openerp.com-20130411073017-x6e4h8xbvmy3ofdw
2013-04-11 09:30:17 +02:00
Thibault Delavallée 2ab15ddeaf [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20130405110750-1dd4y02xz3wb6ill
bzr revid: tde@openerp.com-20130405133237-n7k66b3w0b3a17o3
2013-04-05 15:32:37 +02:00
Vo Minh Thu 307ca374d6 [MERGE] forward merge 7.0 until revision 4919.
bzr revid: vmt@openerp.com-20130404130704-24vsmczw34cssytd
2013-04-04 15:07:04 +02:00
Thibault Delavallée 140ba0a6a7 [FIX] ir_action: no string but var.
bzr revid: tde@openerp.com-20130402081234-v6w6oga8q4y23yy4
2013-04-02 10:12:34 +02:00
Raphael Collet 09be864f1d [IMP] replace all tests like 'registry.get(X)' by 'X in registry' where X is non static
bzr revid: rco@openerp.com-20130329140723-dnrl02saky570xg0
2013-03-29 15:07:23 +01:00
Thibault Delavallée c696445656 [FIX] ir_action: when truing to get get_empty_list_help, be sure the model actually exists. Issue trigered by some tests.
bzr revid: tde@openerp.com-20130328093847-8k4o9vvs4p71a4al
2013-03-28 10:38:47 +01:00
Thibault Delavallée 655ef77092 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20130328092414-htawc7j3jrxte866
2013-03-28 10:24:14 +01:00
Vo Minh Thu 4ed7ec95b7 [MERGE] removed LocalService("workflow"), Logger class, and TEST log level.
bzr revid: vmt@openerp.com-20130327170639-uamgg7shlmtxgpxv
2013-03-27 18:06:39 +01:00
Vo Minh Thu de5c84c0e1 [REF] removed nested import openerp.
bzr revid: vmt@openerp.com-20130327154714-fa3k6gqtsmlt3vx6
2013-03-27 16:47:14 +01:00
Vo Minh Thu a4fbd26541 [REF]: use openerp.workflow instead of LocalService("workflow").
bzr revid: vmt@openerp.com-20130326162040-kkq46wrur3pgn6eh
2013-03-26 17:20:40 +01:00
Vo Minh Thu 6e43e6c4e1 [FIX] reports: now that _register_all() has been removed, LocalService() must be modified to do the lookup in the database too.
bzr revid: vmt@openerp.com-20130325123359-szxx6a0n06tha70p
2013-03-25 13:33:59 +01:00
Vo Minh Thu 010d8044fe [REF] ir.actions.report.xml: renamed ids to res_ids because those are not the self model IDs.
bzr revid: vmt@openerp.com-20130322162251-j0f3eobpc6oh4il1
2013-03-22 17:22:51 +01:00
Vo Minh Thu b08d7ef6bd [REF] ir.actions.report.xml: register_all do not make sense any more:
auto=True reports are looked up in the database for each rendering, so they do
no have to be in the report registry any longer.
auto=False reports will register themselves but at this point
they can be updated to use the new `parser` XML attribute.

bzr revid: vmt@openerp.com-20130322153955-s6nyux2pyez6c01w
2013-03-22 16:39:55 +01:00
Vo Minh Thu 1683fc7abd [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20130322135152-1hdlptwj1qqqfz4z
2013-03-22 14:51:52 +01:00
Christophe Matthieu 01eb15bdfa [IMP] ir_actions: change var name and add comment
bzr revid: chm@openerp.com-20130322093759-cq0uj3c6ucmrpe05
2013-03-22 10:37:59 +01:00
Thibault Delavallée 4e74279576 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20130322090938-xoh67sg08m3ylcrk
2013-03-22 10:09:38 +01:00
Christophe Matthieu 491c3b73f3 [IMP] code cleaning for get_empty_list_help
bzr revid: chm@openerp.com-20130321133207-j4tiibjev6lkeuxa
2013-03-21 14:32:07 +01:00
Vo Minh Thu fa3a3414f2 [FIX] ir.actions.action: fix the execute wich install/uninstall modules and thus invalidate its own pool.
bzr revid: vmt@openerp.com-20130319142701-1cvo6dh2yvg4z81f
2013-03-19 15:27:01 +01:00
Christophe Matthieu a37aea3a85 [MERGE] from trunk
bzr revid: chm@openerp.com-20130313141600-pyazzzanowtrfjja
2013-03-13 15:16:00 +01:00
Vo Minh Thu a2f5e9d201 [IMP] ir_actions: removed forgotten print statements.
bzr revid: vmt@openerp.com-20130222151702-d73geh539mb99m5b
2013-02-22 16:17:02 +01:00
Vo Minh Thu 460cc6f755 [IMP] ir.actions.report.xml: allow for a smoother transition for reports still declared the old way (in Python).
bzr revid: vmt@openerp.com-20130222142400-qoomw17s2u8a73kh
2013-02-22 15:24:00 +01:00
Vo Minh Thu 575771f651 [FIX] ir_actions: wrong namespace.
bzr revid: vmt@openerp.com-20130222133637-14d903ci0hvwej5j
2013-02-22 14:36:37 +01:00
Vo Minh Thu 729d969fd9 [IMP] report: use openerp.report.render_report() instead of LocalService().create().
bzr revid: vmt@openerp.com-20130222124801-zhhbw2bgghhf6rg6
2013-02-22 13:48:01 +01:00
Vo Minh Thu 0cb53890df [IMP] report: reports with custom parsers can be declared in XML files.
bzr revid: vmt@openerp.com-20130222093428-f1isxxqlbaj7uhuo
2013-02-22 10:34:28 +01:00
Christophe Matthieu 8d0ed1edcc [FIX] ir_action: catch and mute exception for the safe_eval of context
bzr revid: chm@openerp.com-20130206122039-d3mh29qt472qacpm
2013-02-06 13:20:39 +01:00
Christophe Matthieu 18985e673f [FIX] ir_action: read context with uid
bzr revid: chm@openerp.com-20130205160932-nqr1rk4t3l2yjhrz
2013-02-05 17:09:32 +01:00
Christophe Matthieu db35042ff8 [FIX] ir_action: read accept list ids or id
bzr revid: chm@openerp.com-20130205151548-t66esec4ygrw6z4v
2013-02-05 16:15:48 +01:00
Christophe Matthieu ec02389784 [FIX] ir_action: read ir.actions.act_window
bzr revid: chm@openerp.com-20130205112258-heruqrx53dahqi02
2013-02-05 12:22:58 +01:00
Christophe Matthieu 3da294f56a [IMP] ir_action: averwrite read to add a dynamic_help on model
bzr revid: chm@openerp.com-20130204145824-mq423czac9k2inzo
2013-02-04 15:58:24 +01:00
Vo Minh Thu c8ffd1cedc [REF] service: netsvc.Service is removed. LocalService(object_proxy) is never used so it is removed.
bzr revid: vmt@openerp.com-20130201112232-2k8geufmryx6p249
2013-02-01 12:22:32 +01:00
Raphael Collet 534b07c3c2 [MERGE] lp:~serpent-consulting-services/openobject-server/trunk-956898-SerpentCS (enable multiple email addresses in server actions)
bzr revid: rco@openerp.com-20121221163755-saafbs7pb8bxyrsf
2012-12-21 17:37:55 +01:00
Raphael Collet 940fc2fa85 [IMP] ir.actions.server: improve code of email actions
bzr revid: rco@openerp.com-20121221163359-bfv218b315r3z9wr
2012-12-21 17:33:59 +01:00
Vo Minh Thu 83786b4178 [FIX] ir.actions.action: fix the execute wich install/uninstall modules and thus invalidate its own pool.
bzr revid: vmt@openerp.com-20130319150057-fq6nkp4qhgy9x9mq
2013-03-19 16:00:57 +01:00
Xavier Morel 018416630d [FIX] strip server action code before passing it to eval
Python 2.7's compile handles trailing whitespaces correctly, Python
2.6 does not and blows up.

bzr revid: xmo@openerp.com-20130304164423-83vm9teu7b3c52y3
2013-03-04 17:44:23 +01:00
Cecile Tonglet ad8b76de53 [MERGE] From trunk (second time)
bzr revid: cto@openerp.com-20121217144753-1rboqdw01h8yrehj
2012-12-17 15:47:53 +01:00
Cecile Tonglet 5179507e22 [MERGE] Branch updated with trunk
bzr revid: cto@openerp.com-20121217125902-idtlh4ztyah17bdn
2012-12-17 13:59:02 +01:00
Xavier Morel 5155f30303 [REM] unused local variables
bzr revid: xmo@openerp.com-20121214132533-aafgbov19ckb9ksp
2012-12-14 14:25:33 +01:00
Vo Minh Thu 509a084e79 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121210152723-mv4dykfu6ip1991h
2012-12-10 16:27:23 +01:00
Hardik 3b5d70bf3b [IMP]Settings : view type and action typefield is select
bzr revid: hsa@tinyerp.com-20121127073012-f97e468x17mzzy1w
2012-11-27 13:00:12 +05:30
Xavier Morel 5bd939f0ac [REM] useless intermediate lambdas in default values
bzr revid: xmo@openerp.com-20121102094705-6vcutz0bv4dc0jkl
2012-11-02 10:47:05 +01:00
Mayur Maheshwari (OpenERP) e1dfd1fadc [IMP]all: imporve string state to status
bzr revid: mma@tinyerp.com-20121012122419-mtiw3wpxlcbl4y1r
2012-10-12 17:54:19 +05:30
Xavier Morel 1e4a677f05 [MERGE] from trunk
bzr revid: xmo@openerp.com-20121010154436-wz29sdkbs9vvhjba
2012-10-10 17:44:36 +02:00
Olivier Dony e35992cc53 [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121001144941-16d8mbi5475c3tyb
2012-10-01 16:49:41 +02:00
Xavier Morel a9c2cfcdb9 [IMP] make help attribute available on all actions
bzr revid: xmo@openerp.com-20120924145750-n0gj4bww1d83h3fy
2012-09-24 16:57:50 +02:00
Stephane Wirtel 97278d6ed5 [MERGE] base: fix some address formats and some English
bzr revid: stw@openerp.com-20120911150724-yh4kvtstv8fehaj1
2012-09-11 17:07:24 +02:00
Thibault Delavallée 12294252d4 [MERGE] Merged with server/trunk.
bzr revid: tde@openerp.com-20120903081949-ucy4e1kpbb30dhko
2012-09-03 10:19:49 +02:00
Stephane Wirtel b3988436cb [REF] Replace the user id 1 by openerp.SUPERUSER_ID
bzr revid: stw@openerp.com-20120831135309-o4plzf5wp0kyuzgf
2012-08-31 15:53:09 +02:00
Fabien Pinckaers 84625969c0 [FIX] needaction on mail.groups
bzr revid: fp@tinyerp.com-20120823143525-28mnbgd015jd8yyd
2012-08-23 16:35:25 +02:00