Commit Graph

63997 Commits

Author SHA1 Message Date
Arnaud Pineux 16203707c3 [IMP] change order for top menu item sequence number
bzr revid: api@openerp.com-20121122082630-ujk49g77z1mb8gqg
2012-11-22 09:26:30 +01:00
Vo Minh Thu afadbae5cb [MERGE] Fix to the `order` search() behavior (with tests!!!!! Thanks Quentinooooo)
bzr revid: vmt@openerp.com-20121121150105-avruq3wuc9kph0b8
2012-11-21 16:01:05 +01:00
Fabien Meghazi 9f9a2996f6 [FIX] __debug__ key wrongly set in QWeb default_dict
bzr revid: fme@openerp.com-20121121144320-mzgynprxpq1jlxey
2012-11-21 15:43:20 +01:00
Vo Minh Thu dc3d462b9f [IMP] test_search: comment typos.
bzr revid: vmt@openerp.com-20121121143159-mppc6s7rezpwc3hx
2012-11-21 15:31:59 +01:00
Fabien Meghazi 4b007e1521 [FIX] Searchview proposition facet does not format date[time]s client side
bzr revid: fme@openerp.com-20121121135657-nh3t6usqkvl9vh03
2012-11-21 14:56:57 +01:00
Quentin (OpenERP) 18b7592b8d [FIX] osv/orm: fixed the use of 'order' argument given to a search function in order to allow to order by 'ID DESC' and by '<another valid order> + ID ASC/DESC'
bzr revid: qdp-launchpad@openerp.com-20121121130736-guj7np9nk65zx3o1
2012-11-21 14:07:36 +01:00
Quentin (OpenERP) b4742249b4 [FIX] base: test_search, invalid use of search criterion 'active in (True, False)' replaced by 'active is True OR active is False'
bzr revid: qdp-launchpad@openerp.com-20121121125347-hsihsibwz0igp03r
2012-11-21 13:53:47 +01:00
Quentin (OpenERP) d0b4d040e1 [FIX] base: fixed syntax errors and test import of test_search python test
bzr revid: qdp-launchpad@openerp.com-20121121122106-4mrnlw4z01np21dq
2012-11-21 13:21:06 +01:00
Olivier Dony a298819cd7 [FIX] web_hello: inherited start() method should return the result of the super call
bzr revid: odo@openerp.com-20121121121005-f28bcm1k022ec1il
2012-11-21 13:10:05 +01:00
Fabien Meghazi d61507a799 [IMP] adaptation to hr demo data
bzr revid: fme@openerp.com-20121121120141-zxj96k7ch8j2xqk7
2012-11-21 13:01:41 +01:00
Quentin (OpenERP) 72014c4109 [ADD] base: added python test on the search() method
bzr revid: qdp-launchpad@openerp.com-20121121114557-5swzfuisp2apttd5
2012-11-21 12:45:57 +01:00
Fabien Meghazi 74a5e92d46 [FIX] Binary fields, limit upload size to 25Mo (only works for browsers supporting FileAPI)
bzr revid: fme@openerp.com-20121121104329-5aa88lxqogn206l2
2012-11-21 11:43:29 +01:00
Olivier Dony 2c3d422964 [FIX] sale.order,invoices: more robust/consistent mechanism for marking documents sent after Send by Email
bzr revid: odo@openerp.com-20121121102137-9wukkbnfktfkg4lo
2012-11-21 11:21:37 +01:00
Olivier Dony fadd311945 [FIX] mail: remove ugly hack for context filtering that wreaks havoc in contexts
This hacks makes a mess and works with a whitelist that
completely breaks the generic context passing mechanism.
Replaced by specific guard through default_get overrides
for the models that are sensitive to default value
leaks via context.
E.g. mail.message is sensitive to leaked default_type
context keys that are meant for other models, such
as those passed by the Invoices menus.

bzr revid: odo@openerp.com-20121121101917-izeu4c493un86udf
2012-11-21 11:19:17 +01:00
Olivier Dony f3bc4f4f41 [FIX] portal: typo makes prevents acquirer defaults from working
bzr revid: odo@openerp.com-20121121101210-1gtejd9u5blpb1o3
2012-11-21 11:12:10 +01:00
Olivier Dony 548994707f [FIX] account.invoice: typos in default email templates: amount_residual -> residual
bzr revid: odo@openerp.com-20121121101133-i14gzydtxzevjcvt
2012-11-21 11:11:33 +01:00
Fabien Meghazi a0c3ba7a1c [MERGE] many2many_tags: correctly checks it's falsy value
bzr revid: fme@openerp.com-20121121100812-gzn25f8g50cr5t3t
2012-11-21 11:08:12 +01:00
Olivier Dony ddc5d6804e [IMP] portal: unify wording as `Customer Portal` + make footer link translatable + cleanup
bzr revid: odo@openerp.com-20121121100434-wq5julc2njlee7t1
2012-11-21 11:04:34 +01:00
Fabien Meghazi fb471068f2 [MERGE] mail followers form widget specific visibility rule
bzr revid: fme@openerp.com-20121121093416-c1gn658pwkca6ldp
2012-11-21 10:34:16 +01:00
Fabien Meghazi df5287b077 [IMP] tools/mail: html_email_clean() roudtrips falsy values
bzr revid: fme@openerp.com-20121121081940-z4onugwqi7uxqvw3
2012-11-21 09:19:40 +01:00
Launchpad Translations on behalf of openerp e5133ecca4 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121121044818-2zv06h9572h362aw
2012-11-21 04:48:18 +00:00
Launchpad Translations on behalf of openerp 3eb3d5bb6b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121121044755-oo3gvj8xlcswn1xq
2012-11-21 04:47:55 +00:00
Christophe Simonis 1782d61e44 [FIX] web: pass env in login_and_redirect
bzr revid: chs@openerp.com-20121120180933-ktarob0a3ll4ccsn
2012-11-20 19:09:33 +01:00
Olivier Dony 437833ba43 [MERGE] Review/Update EDI features for 7.0:
Some EDI features replaced by the improved 7.0 portal (with auth_signup)
------------------------------------------------------------------------
- remove the static export of EDI document and the persistence of these EDI blobs, replaced by the live portal access to the document (via portal module)
- remove all the qweb templates and web controllers that were previously used to give access to the EDI document preview
- preserve the web controllers/URLs that were use for the direct EDI import (so that a document from a 6.1 system can still be imported in a 7.0 system)
- temporarily remove the EDI export UI, replaced for the time being by the portal view. => It is planned in 7.1 to provide a new EDI export system via email notification and attaching JSON EDI blobs to outgoing emails. Thanks to the mail gateway integration and a whitelist/certificate system it will be possible to setup end-to-end B2B EDI automation.
- EDI email notifications now integrated in Sales/Invoicing flows via an explicit "Send by Email" step
- PDF version of the document now sent along with the notification (instead of a simple link to view it)
- Portal signup link integrated in this notification when the portal module is installed (via glue module sale_portal)

Online Payment (Paypal) features preserved in a different form
--------------------------------------------------------------
- as the EDI preview was removed, the payment button was moved to a new banner in the portal view of relevant documents, as follows:
- addition of a new portal.payment_acquirer model to define online payment gateways such as Paypal, Google Checkout, etc. (Paypal included by default)
- new payment banner added to the portal form view of Sale Orders and Customer Invoices, allowing online payment via defined payment_acquirers
- new settings item in Settings>Invoicing>Banks&Cash to make the payment banner visible to all employees as well (normally it's only visible in the portal)

+ minor cleanup and removal of deprecated fields

bzr revid: odo@openerp.com-20121120170915-cmb77iubyrwmib2l
2012-11-20 18:09:15 +01:00
Olivier Dony b770240247 [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121120113600-4oyx9sziigbxn8w8
bzr revid: odo@openerp.com-20121120163429-l4cf6r75vwqfvxty
2012-11-20 17:34:29 +01:00
Christophe Matthieu 53d35debfd [FIX] mail followers: invisible attribute and mode create
bzr revid: chm@openerp.com-20121120162434-g5wfgwndozrcstld
2012-11-20 17:24:34 +01:00
Denis Ledoux dle@openerp.com bdca6b0925 [FIX]Fix bug lp:1080997. Add option 'disable_editable_mode' which disable editable widget when setted to true. This is because search popups should not be editable. 'search more...' was not clickable in fields with many2many_tags widget and default tree view with flag editable setted
bzr revid: dle@openerp.com-20121120161634-xc0qxyz6x1ccrl2o
2012-11-20 17:16:34 +01:00
niv-openerp 3edac34949 [IMP] mail: changed controller due to modification in the clear_action() method
bzr revid: nicolas.vanhoren@openerp.com-20121120155258-32chebnbcrz37tks
2012-11-20 16:52:58 +01:00
niv-openerp 6bc1e836a7 [FIX] pad: very bad conception that produced html injection that produced a lot of incorrect css
bzr revid: nicolas.vanhoren@openerp.com-20121120155155-y1wd0px4trljf453
2012-11-20 16:51:55 +01:00
Christophe Matthieu 5bbce53e35 [FIX] tools mail : html_email_clean
bzr revid: chm@openerp.com-20121120154217-4ewxir45q1wtjoax
2012-11-20 16:42:17 +01:00
Denis Ledoux dle@openerp.com 08e0522ad6 [FIX]Add option 'disable_editable_mode' which disable editable widget when setted to true. This is because search popups should not be editable. 'search more...' was not clickable in fields with many2many_tags widget and default tree view with flag editable setted
lp bug: https://launchpad.net/bugs/1080997 fixed

bzr revid: dle@openerp.com-20121120153958-jopkpxmz38b78phj
2012-11-20 16:39:58 +01:00
Stephane Wirtel 5f4f975d30 [FIX] auth_oauth: set the right copyright and change the description of the module
bzr revid: stw@openerp.com-20121120141921-y8yk0q19n2jhgw8p
2012-11-20 15:19:21 +01:00
Fabien Meghazi c9de04d796 [FIX] Fixed wrong width computing in Dialog. Removed extraneous call to init_dialog(). Remove Dialog#$buttons dom manipulation hack.
bzr revid: fme@openerp.com-20121120141807-pvdryoib39eqh1u7
2012-11-20 15:18:07 +01:00
Christophe Matthieu 50f09660fb [FIX] tools mail: html_email_clean return False (standard OpenERP) if the param is False
bzr revid: chm@openerp.com-20121120134001-ivw9dqxha2du70o6
2012-11-20 14:40:01 +01:00
Olivier Dony caa51abb34 [MERGE] fields_view_get: avoid messing up selection fields' _domain attributes, courtesy of Stefan Rijnhart (Therp)
lp bug: https://launchpad.net/bugs/1081092 fixed

bzr revid: odo@openerp.com-20121120132230-7xb6d2xxwcgn7ipn
2012-11-20 14:22:30 +01:00
Olivier Dony f0ef9bda04 [IMP] Model.default_get: allows setting user default values of x2m to False (for consistency with write())
bzr revid: odo@openerp.com-20121120131839-1kdzevubi74ibthy
2012-11-20 14:18:39 +01:00
Olivier Dony 4f58796e38 [IMP] res.users: avoid spurious warnings when last login date cannot be updated
bzr revid: odo@openerp.com-20121120131610-v0xwu5zsbmxwvcwe
2012-11-20 14:16:10 +01:00
Stefan Rijnhart d924cec182 [FIX] Append view domain (in case of selection widget) to a copy of the field's domain
lp bug: https://launchpad.net/bugs/1081092 fixed

bzr revid: stefan@therp.nl-20121120121936-8b1wiho0q96ckeqk
2012-11-20 13:19:36 +01:00
Raphael Collet bd7090d0d1 [IMP] auth_oauth: restrict menuitem 'OAuth Providers' to group Technical Features
bzr revid: rco@openerp.com-20121120113725-w3wezijifdg21hr7
2012-11-20 12:37:25 +01:00
Thibault Delavallée cf04a17078 [MERGE] [DEMO] mail, crm: improved demo data.
Misc :
- added message subtypes to CRM
- archives and sent mailboxes unified
- mail.group description displayed in discussion view
- fixe some issues in Chatter
- fixed some action rules now having user_id = False; otherwise they could not be used to anybody else than admin, leading to a crash

bzr revid: tde@openerp.com-20121120112022-hzdt2x29wvlhs0nz
2012-11-20 12:20:22 +01:00
Thibault Delavallée 35323f7426 [MERGE] [DEMO] mail, crm: improved demo data.
This server branch holds the avatars for admin and demo.

bzr revid: tde@openerp.com-20121120112007-nuvqalc2tr9cqe49
2012-11-20 12:20:07 +01:00
niv-openerp ade1a5df87 [IMP] allows to specify a specific eval domain in /web/action/load
bzr revid: nicolas.vanhoren@openerp.com-20121120110748-5idnflvmxx0jibwe
2012-11-20 12:07:48 +01:00
Fabien Meghazi 6c07b70017 [FIX] Fixed Export dialog buttons. Cleanup openerp.web.Dialog
lp bug: https://launchpad.net/bugs/1078640 fixed

bzr revid: fme@openerp.com-20121120110104-ge6k5n22cul5jrax
2012-11-20 12:01:04 +01:00
Cedric Snauwaert 6f489aeb9a [REF]improvement of constraint from rev id : csn@openerp.com-20121120085452-pvvu2aamy2zthwo3 to an sql constraint
bzr revid: csn@openerp.com-20121120103738-fqgi10ucuw9ca735
2012-11-20 11:37:38 +01:00
Thibault Delavallée 99a3ef8860 [CLEAN] Demo data: fixed some typos, cleaned a bit before merging.
bzr revid: tde@openerp.com-20121120102325-5xts5n801p9islgy
2012-11-20 11:23:25 +01:00
niv-openerp 999c0b2cab [FIX] Modified behavior when we click on an action in the 'More' menu.
Since revision 1517, when using the sidebar from a form view, it merged all the fields of the form view in the context of the action.
It was modified to avoid that context pollution, now it only uses those fields to evaluate the context of that action. So it allows
specifying contexts like "{'invoice_id': invoice_id}", but invoice_id will not be propagated any more to the new action context if not
explicitely specified.

bzr revid: nicolas.vanhoren@openerp.com-20121120100620-ig4e02uctysk7oj8
2012-11-20 11:06:20 +01:00
Cedric Snauwaert 0e3d3328cc [FIX]fix constraint to an SQL constraint
bzr revid: csn@openerp.com-20121120100252-ieznyh43zanv2w7q
2012-11-20 11:02:52 +01:00
Christophe Matthieu ceefb58670 [IMP] tools mail: remove one line test (double)
bzr revid: chm@openerp.com-20121120100225-it12j6qgxjn3ilbg
2012-11-20 11:02:25 +01:00
Fabien Meghazi ceae7544ca [FIX] Fixed Export dialog buttons. Cleanup openerp.web.Dialog
bzr revid: fme@openerp.com-20121120095042-6f4tyiap3t6cxk9e
2012-11-20 10:50:42 +01:00
Thibault Delavallée d6639ba1e6 [MOV] admin and demo avatar: moved from mail to server.
bzr revid: tde@openerp.com-20121120091854-ksun8xc0ya79olil
2012-11-20 10:18:54 +01:00