Commit Graph
73051 Commits
Author SHA1 Message Date
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
Vo Minh Thu 34c97e9802 [FIX] mrp_operations: undefined name.
bzr revid: vmt@openerp.com-20130726135830-86mrf92bz49rhqzb
2013-07-26 15:58:30 +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
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
Thibault Delavallée 20c11d6703 [FIX] Fixed last commits
bzr revid: tde@openerp.com-20130725152846-zlfd5gluz15tjg2t
2013-07-25 17:28:46 +02:00
Thibault Delavallée 0979b3b6fc [IMP] view_list: better active_domain computation
bzr revid: tde@openerp.com-20130725150243-or624rj2qw6dgxiz
2013-07-25 17:02:43 +02:00
Thibault Delavallée 9e3046d611 [REM] Removed console.log statemetn
bzr revid: tde@openerp.com-20130725135535-qjucav1ss11a2sgd
2013-07-25 15:55:35 +02:00
Thibault Delavallée 7f0824e762 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130725135118-urwxu1ilv1m6ljwh
2013-07-25 15:51:18 +02:00
Thibault Delavallée 91ef7de709 [IMP] mail: better implementation of active domain / use active domain
bzr revid: tde@openerp.com-20130725135029-mx946vaibvz1rzii
2013-07-25 15:50:29 +02:00
Thibault Delavallée 0810ff005c [IMP] Better implementation of header hook check
- list_view: propagate a deselected flag when (un)checking a row
- list_view: define a get_active_domain method that returns an active domain
when having header hook selected

bzr revid: tde@openerp.com-20130725135001-zt8x1leexf7ion4z
2013-07-25 15:50:01 +02:00
Denis Ledoux d91eb53390 [ADD][IMP]google_spreadsheet: module which adds the possibility to display data from OpenERP in Google Spreadsheet in real time, + some adaption to google_drive and google_base_account for more generic to anticipate other google related modules
bzr revid: dle@openerp.com-20130725125016-a20m4qad40xs24ob
2013-07-25 14:50:16 +02:00
Denis Ledoux 2dc7914225 [FIX]google_spreadsheet: typo
bzr revid: dle@openerp.com-20130725124259-h6apjfjpu579tl6z
2013-07-25 14:42:59 +02:00
Denis Ledoux da25e7858d [FIX]google_spreadsheet: i18n add pot file
bzr revid: dle@openerp.com-20130725122804-sx4airv20d7a278s
2013-07-25 14:28:04 +02:00
Thibault Delavallée 8c7e11aca3 [IMP] server action: improved form view to be more clear
bzr revid: tde@openerp.com-20130725122257-im3172kw7k1ksgu7
2013-07-25 14:22:57 +02:00
niv-openerp 4af94efccc [IMP] Added grunt file to use jshint on all the javascript files in the 'web' addons and corrected all the potential errors highlighted by jshint
bzr revid: nicolas.vanhoren@openerp.com-20130725120811-vehacpc8scpfef0p
2013-07-25 14:08:11 +02:00
niv-openerp faffe8805c Minor modifs to grunt file
bzr revid: nicolas.vanhoren@openerp.com-20130725120742-0omjb6l80kwon2vi
2013-07-25 14:07:42 +02:00
Denis Ledoux 329662956f [MERGE]upstream
bzr revid: dle@openerp.com-20130725115829-jtb3v3q42j15nl61
2013-07-25 13:58:29 +02:00
niv-openerp ec9ae7ec81 Does not allow functions in loops anymore
bzr revid: nicolas.vanhoren@openerp.com-20130725113041-n6u9gyo1vbv1blw5
2013-07-25 13:30:41 +02:00
niv-openerp 17ba69eb52 Applied jshint on test files and corrected errors
bzr revid: nicolas.vanhoren@openerp.com-20130725112416-j6wbm254yx05i890
2013-07-25 13:24:16 +02:00
Thibault Delavallée f737eb63d0 [IMP] ir_actions_server: added doc + comments + recursion check
orm: added _check_m2my_recursion, to check loops in many2many recursive fields
tools: removed sms_send

bzr revid: tde@openerp.com-20130725104914-dutxfon3odp8z167
2013-07-25 12:49:14 +02:00
niv-openerp c767a0d34c Added semicolons
bzr revid: nicolas.vanhoren@openerp.com-20130725103301-65nld10p1if7k0zt
2013-07-25 12:33:01 +02:00
niv-openerp 42e493e73e Added Gruntfile with jshint and corrected most js errors
bzr revid: nicolas.vanhoren@openerp.com-20130725100749-0i82gf3k3nvt4r44
2013-07-25 12:07:49 +02:00
Thibault Delavallée 7866c1d811 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130725083606-4nnhytqmt8o5takm
2013-07-25 10:36:06 +02:00