Commit Graph

73070 Commits

Author SHA1 Message Date
niv-openerp e4acf6c902 [IMP] now uses bower for some libs
bzr revid: nicolas.vanhoren@openerp.com-20130731131731-9yq9deun2b5q6sxv
2013-07-31 15:17:31 +02: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 e817310ce6 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20130729141149-63jsx00l9zqckmkv
2013-07-29 16:11:49 +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 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 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
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
Thibault Delavallée b4d2fc5512 [IMP] crm: improved reminder ot user template
bzr revid: tde@openerp.com-20130726095638-0pdkph3xl9cl8v3j
2013-07-26 11:56:38 +02:00
Thibault Delavallée ac26676968 [IMP] crm: reminder to user: uses a different and more adequate template
bzr revid: tde@openerp.com-20130726093347-jhu39cmvg2b947gj
2013-07-26 11:33:47 +02:00
Thibault Delavallée d758de88f0 [IMP] email_template: server action: better management of template fields, saved but not editable
bzr revid: tde@openerp.com-20130726093335-vxniwn121djpaw32
2013-07-26 11:33:35 +02:00
Thibault Delavallée a3c546a600 [REM] crm: removed new_email_send, now unused and deprecated with chatter / templates.
bzr revid: tde@openerp.com-20130726091305-8lsmidcxyau3shw0
2013-07-26 11:13:05 +02:00
Thibault Delavallée c4210aeeb0 [FIX] email_template: ir_actions: fixed email server action form view, a copy and paste introduced an error
bzr revid: tde@openerp.com-20130726091212-kzt029fechedq0yp
2013-07-26 11:12:12 +02:00
Thibault Delavallée 26ff871ab8 [FIX] crm: fixed a typo in onchange method name
bzr revid: tde@openerp.com-20130726085426-gpw86mn4ugno43o1
2013-07-26 10:54:26 +02:00
niv-openerp 6e6108e9b6 [FIX] Problem with exports that make them crash
lp bug: https://launchpad.net/bugs/1205238 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130726084640-lz11kdlsk27mrjec
2013-07-26 10:46:40 +02:00
Thibault Delavallée d3f0d70efe [DOC] server actions: added comments in various methods
bzr revid: tde@openerp.com-20130726084138-vca3lamr0ye3bwuv
2013-07-26 10:41:38 +02:00
Thibault Delavallée 1dff0b7c4f [DOC] email_template: added changelod
bzr revid: tde@openerp.com-20130726081825-xmq8agjvph3trb7t
2013-07-26 10:18:25 +02:00
Thibault Delavallée 644198eb41 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130726080758-zsogt79b2mn983we
2013-07-26 10:07:58 +02:00
Thibault Delavallée fd2f1e1d6a [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130726080751-mlegngtci0w9z7yb
2013-07-26 10:07:51 +02:00
Launchpad Translations on behalf of openerp 3cfdf52710 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130726051510-qp7tlkt1tmnazfdr
2013-07-26 05:15:10 +00:00
Launchpad Translations on behalf of openerp ff8af0b04d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130725051258-3nzwdk9vxqbek8el
bzr revid: launchpad_translations_on_behalf_of_openerp-20130726051450-12v8h0so01s5y7xn
2013-07-26 05:14:50 +00:00
Thibault Delavallée 47d72f7a0f [IMP] export: delegated ids computation to the python side, the js gives ids or the domain to use; + fixed statically export formats
bzr revid: tde@openerp.com-20130725155740-g9a76z08ogjejp86
2013-07-25 17:57:40 +02:00
Thibault Delavallée 27735a2b85 [IMP] export: work on selected_ids or all_ids if header is selected; ugly hack to solve issue when exporting
bzr revid: tde@openerp.com-20130725153114-6rjhktvuz1k1qrnb
2013-07-25 17:31:14 +02:00