Commit Graph

73098 Commits

Author SHA1 Message Date
Denis Ledoux 329bd7d5f3 [FIX]google_spreadsheet: not using requests anymore
bzr revid: dle@openerp.com-20130802130349-206ms4c5s5dnzbti
2013-08-02 15:03:49 +02:00
Launchpad Translations on behalf of openerp 7828e44ea5 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130727050216-3lqngtzz3y4eal03
bzr revid: launchpad_translations_on_behalf_of_openerp-20130728055452-udjnnr7f174dwx7s
bzr revid: launchpad_translations_on_behalf_of_openerp-20130729052557-z3cyhulfa50uou01
bzr revid: launchpad_translations_on_behalf_of_openerp-20130731051700-toxlygnbrq3rfi75
bzr revid: launchpad_translations_on_behalf_of_openerp-20130802053852-k0z9t3xzddxkqibc
2013-08-02 05:38:52 +00:00
niv-openerp f3d634a278 [IMP] http.py: Make it possible to implement a new authentication method for the routes
bzr revid: nicolas.vanhoren@openerp.com-20130801113136-5fg9hyrptjckhtkm
2013-08-01 13:31:36 +02:00
Xavier Morel adfe3e7ec9 [FIX] reinstate basic grouping test, replace strictEqual call on widgets by ok(===)
There seems to be a problem with QUnit's serialization routines when
applied to complex widgets (the view here) while running inside
PhantomJS. It does not seem to be cycles in datastructures (that is
handled) but looks related to complex objects linked from multiple
"children" (skipping any object already serialized makes the issue
disappear).

The bug leads to unbounded memory growth, and on runbot to the process
being summarily terminated (likely by the OOM killer) not even
resulting in an OOM error (which is displayed locally). The issue can
not be observed within browsers. This may be a difference in GC
strategy.

The serialization is applied by the driver on high-level comparison
methods (e.g. strictEqual) so the caller can display the structures if
desired.

Replace the strictEqual(a, b) call by ok(a === b) to avoid any risk of
such serialization.

bzr revid: xmo@openerp.com-20130801091326-u2q9e163zls4k8ad
2013-08-01 11:13:26 +02:00
Xavier Morel cdee92f984 [IMP] update QUnit to 1.12.0 (doesn't fix issue, adds features)
bzr revid: xmo@openerp.com-20130801091239-6lz0ya595i226l85
2013-08-01 11:12:39 +02:00
Xavier Morel e57e50fdfa [FIX] unneeded & dangerous start call in async test
bzr revid: xmo@openerp.com-20130801091130-vx7ow7vxifu7ak84
2013-08-01 11:11:30 +02:00
Vo Minh Thu a507a9ea05 [MERGE] workflows: added some documentation and some tests.
bzr revid: vmt@openerp.com-20130731151636-05lgd5i08rie6yqp
2013-07-31 17:16:36 +02:00
Vo Minh Thu 07f5e9a4d6 [REM] workflows: removed temporary run.py script from the tests.
bzr revid: vmt@openerp.com-20130731151104-mxo8qu5x12krto0h
2013-07-31 17:11:04 +02:00
Vo Minh Thu 3d1d7ee39c [DOC] workflows: typos, and removed inaccurate environment symbols.
bzr revid: vmt@openerp.com-20130731150943-etfvn08fnkhcecvt
2013-07-31 17:09:43 +02:00
niv-openerp 245b009a0b [FIX] avoid error message in the web client when we go on the Apps menu, replace it with a warning message explaining that the apps is not working currently
bzr revid: nicolas.vanhoren@openerp.com-20130731144129-x9po16ihtbp4rj8m
2013-07-31 16:41:29 +02:00
Raphael Collet 3c0d11271e [IMP] doc: improve workflow documentation
bzr revid: rco@openerp.com-20130731135814-386v5w6rkc40kwwv
2013-07-31 15:58:14 +02:00
niv-openerp 46869ba52d [FIX] desactivated test creating random false positive
bzr revid: nicolas.vanhoren@openerp.com-20130731133504-vt2fx11jziyad47e
2013-07-31 15:35:04 +02:00
niv-openerp 4ec2906626 [FIX] attempt to solve false-positive in js tests on the runbot
bzr revid: nicolas.vanhoren@openerp.com-20130731131933-ur5vdahgnbjsj16o
2013-07-31 15:19:33 +02:00
niv-openerp 494c12d8fc [IMP] Added compass compilation to grunt file
bzr revid: nicolas.vanhoren@openerp.com-20130731102037-ai9ldek3vaph27l8
2013-07-31 12:20:37 +02:00
niv-openerp 52f05210a2 [IMP] Removed the JavaScript module system of OpenERP and added a layer of retro-compatibility instead.
Also create the openerpframework.js file and put some basic tools in it. Made it reusable so it can be added in any project.

bzr revid: nicolas.vanhoren@openerp.com-20130731095336-9a5jchoe89svkfo7
2013-07-31 11:53:36 +02:00
Launchpad Translations on behalf of openerp 6f70aa3991 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130727050954-96mxb3jjb92i8ebt
bzr revid: launchpad_translations_on_behalf_of_openerp-20130730044424-p2gnfpj9j7r2rgx2
2013-07-30 04:44:24 +00:00
niv-openerp cf4c185f8c Removed jshint in the "test" task of grunt
bzr revid: nicolas.vanhoren@openerp.com-20130729164952-srjsdg8pmq1x2ahd
2013-07-29 18:49:52 +02:00
niv-openerp e12b980f46 [IMP] Added command in openerp command to launch tests with grunt.
bzr revid: nicolas.vanhoren@openerp.com-20130729150655-z25icrvpmd045thf
2013-07-29 17:06:55 +02:00
niv-openerp f1b47a3e0e Added grunt-tests command
bzr revid: nicolas.vanhoren@openerp.com-20130729150553-ps7w9g6fuqx4qxes
2013-07-29 17:05:53 +02:00
niv-openerp e817310ce6 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20130729141149-63jsx00l9zqckmkv
2013-07-29 16:11:49 +02:00
niv-openerp 80df99fa18 cosmetic
bzr revid: nicolas.vanhoren@openerp.com-20130729093657-p0xdm0nyhg4jn3i7
2013-07-29 11:36:57 +02:00
niv-openerp 22ac3304e1 Added strict mode and es3 mode to framework and corrected some problems
bzr revid: nicolas.vanhoren@openerp.com-20130729092512-1ip4abjrypf74qr2
2013-07-29 11:25:12 +02:00
niv-openerp 4157b860bc Desactivated some sample tests
bzr revid: nicolas.vanhoren@openerp.com-20130726161143-z77m3ez5vm9kcehn
2013-07-26 18:11:43 +02:00
niv-openerp 95599aefd4 Corrected class tests
bzr revid: nicolas.vanhoren@openerp.com-20130726160845-z2ug9cwp41y1h9yj
2013-07-26 18:08:45 +02:00
niv-openerp e01b96e762 Put class and widgets tests in framework.js
bzr revid: nicolas.vanhoren@openerp.com-20130726160715-adjyalkubyismvao
2013-07-26 18:07:15 +02:00
niv-openerp 89a9ab8cd0 Now uses only openerpframework in widget's tests
bzr revid: nicolas.vanhoren@openerp.com-20130726160315-l60r6z706urv2hga
2013-07-26 18:03:15 +02:00
niv-openerp 861186d136 Fixed potential problem in web_test_demo
bzr revid: nicolas.vanhoren@openerp.com-20130726154454-9hu2gpxcz4ynhmkj
2013-07-26 17:44:54 +02:00
niv-openerp a02da32a08 Changed some testing code creating side effects and making other tests crash
bzr revid: nicolas.vanhoren@openerp.com-20130726143647-rz01o0cnwm2a1gyo
2013-07-26 16:36:47 +02:00
niv-openerp 0c79e1b079 Fixed multiple side effects related to the session
bzr revid: nicolas.vanhoren@openerp.com-20130726142707-eyfq5hmubm38slk1
2013-07-26 16:27:07 +02:00
Vo Minh Thu 34c97e9802 [FIX] mrp_operations: undefined name.
bzr revid: vmt@openerp.com-20130726135830-86mrf92bz49rhqzb
2013-07-26 15:58:30 +02:00
niv-openerp 38bc6817d6 Fixed problem with parsing functions tests that created side effects
bzr revid: nicolas.vanhoren@openerp.com-20130726133550-96zyro1znep8ip6x
2013-07-26 15:35:50 +02:00
niv-openerp 5c7b6cffde Fixed some problems about testing framework
bzr revid: nicolas.vanhoren@openerp.com-20130726131805-wstt1de2qqq7w7hx
2013-07-26 15:18:05 +02:00
niv-openerp c94c4599b2 Moved proxy()
bzr revid: nicolas.vanhoren@openerp.com-20130726124837-yze64evp7r70uv5y
2013-07-26 14:48:37 +02:00
niv-openerp 99e07f1e3e Put some qweb globals in the framework
bzr revid: nicolas.vanhoren@openerp.com-20130726124446-6z3xpm1mu22mgep3
2013-07-26 14:44:46 +02:00
niv-openerp 32190ba02e [IMP] Put Class and Widget in a openerpframework.js
bzr revid: nicolas.vanhoren@openerp.com-20130726124057-qwmslhhheso5xy1x
2013-07-26 14:40:57 +02:00
Thibault Delavallée abde98eb16 [MERGE] active_domain management for mass actions
[IMP] list_view: uncheck header hook when unchecking one of the row displayed in the list view. This is done through the propagation of a deselected flag through the 'selected' event.

[IMP] list_view: added get_active_domain method that returns the evaluated current domain (from the search view), if the header hook is checked

[IMP] sidebar (More menu): add in the action context the active_domain if the list header hook is checked

[IMP] export: now works on the active_domain if the list header hook is checked; otherwise use selected_ids. The search using the active_domain is done in the python code, not JS-side.

bzr revid: tde@openerp.com-20130726123705-vdtzxmmk5tszrwqf
2013-07-26 14:37:05 +02:00
Thibault Delavallée 65c7a6fedb [MERGE] [IMP] mass mailing improvements: use active_domain from list view, better management of templates
mail.message: now have mail_server_id field, taken from mail_mail, to be able to store preferences about the server to use to send notification emails

email.template: mail.compose.message:
- now handles mail_server_id from the template
- improved user_signature management from templates

mail.compose.message: now can use the active_domain form context, taken from the list view. This means that when checking all records through the header hook, the mass mailing is done on all the records that match the search domain, not only to the ones in the displayed pager.

bzr revid: tde@openerp.com-20130726123642-vmey18jiacwng1pz
2013-07-26 14:36:42 +02:00
niv-openerp ea92a186f5 [FIX] mail: minor potential problem with JavaScript module loading
bzr revid: nicolas.vanhoren@openerp.com-20130726121938-b2uapok2dup56ol9
2013-07-26 14:19:38 +02:00
niv-openerp fd1df3ee22 [IMP] Removed openerp's ineffective JavaScript module loader and added retro-compatibility layer
bzr revid: nicolas.vanhoren@openerp.com-20130726121514-ss0omrhed76ybv5a
2013-07-26 14:15:14 +02:00
Thibault Delavallée 3770ec073e [DOC] mail, email_template: added changelog
bzr revid: tde@openerp.com-20130726115918-5g4sfapjql4hs7zr
2013-07-26 13:59:18 +02:00
Thibault Delavallée de3b587a98 [TEST] mail: added test for support of active_domain
bzr revid: tde@openerp.com-20130726114854-y05kwah4v5k9v6bx
2013-07-26 13:48:54 +02:00
Thibault Delavallée 7aec524456 [CLEAN] data_export: removed a not-completely-deleted line
bzr revid: tde@openerp.com-20130726105801-2sh62ew7kpn7qudp
2013-07-26 12:58:01 +02:00
Thibault Delavallée d47c1c5d36 [IMP] mail_compose_message: pass new fields as invisible before merging
bzr revid: tde@openerp.com-20130726104902-l3ax6ycautky97gh
2013-07-26 12:49:02 +02:00
Thibault Delavallée fa7fc1277b [FIX] mail_compose_message: keep empty domains
bzr revid: tde@openerp.com-20130726104342-8o5s2k85d7sjuwoy
2013-07-26 12:43:42 +02:00
Vo Minh Thu fc435af428 [FIX] workflows: fixed the non-deterministic workflow K, added workflow L in tests.
bzr revid: vmt@openerp.com-20130726103600-t58rshix01q7vpot
2013-07-26 12:36:00 +02:00
Thibault Delavallée d83c7aeccc [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130725135057-a8m4pxqjbwnxzvs3
bzr revid: tde@openerp.com-20130726102342-1luyh4sh6rbziev4
2013-07-26 12:23:42 +02:00
Thibault Delavallée 0aa304e656 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130726102315-9e77xp76333un48g
2013-07-26 12:23:15 +02:00
Thibault Delavallée 0738dc5359 [MERGE] Server action cleaning and usability improvements. This branch comes with a server-side branch.
[IMP] Addons: cleaned server action definition according to refactoring.

[ADD] email_template: added support for 'email' server action.
Email server action are now entirely based on templates.

[IMP] crm: fixed an issue with an on_change + specific template used in the email server action to remind users of their forgotten leads

[TEST] email_template: added tests for the email server action

bzr revid: tde@openerp.com-20130726101815-z6b7pghb33u65u4x
2013-07-26 12:18:15 +02:00
Thibault Delavallée b80e86def0 [MERGE] [REF] Server action cleaning and usability improvements.
Main modifications:
- removed dummy, email (moved to email_template), loop, sms types; merged object_create and object_copy; renamed other to multi
- cleaned code, made it easier to override
- improved view to ease the definition of new server actions
- changed/updated fields
- added tests
- added changelog and base for documentation

[ADD] ORM: added _check_m2m_recursion on BaseModel. This method checks for recursions in intramodel many2manyrelationships, aka models having childs in the same model.

bzr revid: tde@openerp.com-20130726101805-a2vby7q1j7df9wte
2013-07-26 12:18:05 +02:00
Thibault Delavallée 0a4fd128e0 [ADD] ir_actions: added documentation
bzr revid: tde@openerp.com-20130726101545-o4mtnaz18cni4pm3
2013-07-26 12:15:45 +02:00