Commit Graph

43907 Commits

Author SHA1 Message Date
Thibault Delavallée e09d180008 [MERGE] Merged with new base.needaction implementation
bzr revid: tde@openerp.com-20120315101558-gdxas1qywl15zx7k
2012-03-15 11:15:58 +01:00
Thibault Delavallée 41e4c8dcf8 [MERGE] Merged with main server
bzr revid: tde@openerp.com-20120315101317-l9vj5r7xpvys98a5
2012-03-15 11:13:17 +01:00
Launchpad Translations on behalf of openerp d4319b3524 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120315044609-gdj56b4voubjv5kd
bzr revid: launchpad_translations_on_behalf_of_openerp-20120316050901-r5c17a1hfzkz9f1b
2012-03-16 05:09:01 +00:00
Thibault Delavallée 6c1d5339d7 [MERGE] Merged with user_img branch
bzr revid: tde@openerp.com-20120315101109-5a953ig8qjhq9bq5
2012-03-15 11:11:09 +01:00
Thibault Delavallée 6808cd7e53 [ADD] Added a menu entry in Settings/Users, along with a tree view definition.
bzr revid: tde@openerp.com-20120315100542-xhlvb43lda9d3a0m
2012-03-15 11:05:42 +01:00
Thibault Delavallée 632c5e3036 [DOC] Updated code and server documentation.
bzr revid: tde@openerp.com-20120315095203-8g7drwdz9axjexwj
2012-03-15 10:52:03 +01:00
Thibault Delavallée 0f32742ff0 [FIX] Fixed bug in object create
bzr revid: tde@openerp.com-20120315091257-7h04fdhmjr9gczzy
2012-03-15 10:12:57 +01:00
Thibault Delavallée 67d5a3f425 [FIX] Check of need_action_user_ids is now done after updating the object, not before
bzr revid: tde@openerp.com-20120315090829-1be3yba7yhcw8qxu
2012-03-15 10:08:29 +01:00
Thibault Delavallée 8d627fc8a6 [FIX] bugs in unlink
bzr revid: tde@openerp.com-20120314175935-aylkpt8ejcxqmu82
2012-03-14 18:59:35 +01:00
Thibault Delavallée 0aa3125ce7 [IMP] Cleaned code
bzr revid: tde@openerp.com-20120314171446-75rf519voc4hwuw7
2012-03-14 18:14:46 +01:00
Quentin (OpenERP) 9b9f9fa75b [FIX] hr_timesheet_sheet: fixed yaml test
bzr revid: qdp-launchpad@openerp.com-20120314170050-kma11l6wz66vxv8v
2012-03-14 18:00:50 +01:00
Thibault Delavallée bf3d2cd284 [REF] Refactored base_needaction class.
bzr revid: tde@openerp.com-20120314142605-hhii6p976zrdwmw3
2012-03-14 15:26:05 +01:00
Olivier Dony caf646a7e5 [IMP] test_ir_sequence: avoid spurious traceback logging
bzr revid: odo@openerp.com-20120314142552-283i4s1lwrkt7zx3
2012-03-14 15:25:52 +01:00
Olivier Dony 638a9102c5 [MERGE] Latest fixes from 6.1
bzr revid: odo@openerp.com-20120314142043-9jpk3dkss1hkvb3q
2012-03-14 15:20:43 +01:00
Launchpad Translations on behalf of openerp 277217cae3 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120313053419-651m21hw6ja8naqc
bzr revid: launchpad_translations_on_behalf_of_openerp-20120314054403-pdvtd2s58mehtlrd
bzr revid: launchpad_translations_on_behalf_of_openerp-20120315051817-qfmyll102427mgi9
2012-03-15 05:18:17 +00:00
Olivier Dony 601da46064 [FIX] manifest flag 'active' was renamed to 'auto_install' a while ago
The change occurred in server at revision 3989
and in addons at revision 6451, but had never
been done in openerp-web.
One indirect consequence was that the 'base'
modules was not considered auto-installable
anymore and its CSS files were not loaded on
web, causing layout issues, namely in the
modules kanban view.

Server rev 3989 = al@openerp.com-20120130211001-ytqx759fl920uegc
Addons rev 6451 = al@openerp.com-20120130211812-w0wu42hdu4l7koc4

lp bug: https://launchpad.net/bugs/948866 fixed

bzr revid: odo@openerp.com-20120314181853-kzr6lgqxxcz7rreu
2012-03-14 19:18:53 +01:00
Olivier Dony 01f4ecd1c0 [IMP] bump up release number
bzr revid: odo@openerp.com-20120314141612-3y0v4monykywvg44
2012-03-14 15:16:12 +01:00
Quentin (OpenERP) 84102aa105 [FIX] sale: fixed demo data in order to make runbot green. Having mrp and mrp_jit installed was causing an assertion failure in sale/test/cancel_order.yml because the sale.order was not in shipping exception (as the procurement was automatically confirmed). As i guess this _is_ the wanted behavior where working in just in time, i just changed the demo data in order to have the test working in 'make to stock'
bzr revid: qdp-launchpad@openerp.com-20120314111055-49jiz4z3p87lqos1
2012-03-14 12:10:55 +01:00
Olivier Dony 6a38a66d50 [FIX] BufferedDataSet: avoid randomizing results when there are no sort_fields
Array.sort is not necessarily stable, and sorting an
array with an unstable sort will cause a randomization
of the original order, which should have been preserved.

See also:
  - http://ecma262-5.com/ELS5_Section_15.htm#Section_15.4.4.11
  - http://code.google.com/p/v8/issues/detail?id=90

lp bug: https://launchpad.net/bugs/928389 fixed

bzr revid: odo@openerp.com-20120314111014-1igxhrynu5557di5
2012-03-14 12:10:14 +01:00
Launchpad Translations on behalf of openerp 57b2b97308 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120310052736-h7pcyns8m0yapx2r
bzr revid: launchpad_translations_on_behalf_of_openerp-20120311050705-4g6qxsmwzmefmekl
bzr revid: launchpad_translations_on_behalf_of_openerp-20120313053506-zeuvhbd8ml1rhmy8
bzr revid: launchpad_translations_on_behalf_of_openerp-20120314054433-q7eqdv6c3ise2wv1
2012-03-14 05:44:33 +00:00
Launchpad Translations on behalf of openerp 9cd37929e4 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120314044306-qli11mrllvyx0ctl
2012-03-14 04:43:06 +00:00
Launchpad Translations on behalf of openerp 0d81febc81 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120310045436-575z33tnn4ylhgmt
bzr revid: launchpad_translations_on_behalf_of_openerp-20120312043902-d43ik1qvtuz6xkvd
bzr revid: launchpad_translations_on_behalf_of_openerp-20120313050751-hkilihhs8zm4a8mp
bzr revid: launchpad_translations_on_behalf_of_openerp-20120314044248-xm1kexxswy9nc7wp
2012-03-14 04:42:48 +00:00
niv-openerp 4e7796cfee [imp] added some stuff to manage interfaces
bzr revid: nicolas.vanhoren@openerp.com-20120313163719-ez4n7ca4qxus0m9t
2012-03-13 17:37:19 +01:00
Thibault Delavallée 5ef1483f93 [IMP] base.needaction: clened code
bzr revid: tde@openerp.com-20120313155425-vkmzmobas76re0x4
2012-03-13 16:54:25 +01:00
Thibault Delavallée dbd4f6dfce [FIX] Added base_needaction import
bzr revid: tde@openerp.com-20120313155339-eqifoe0celu5n43b
2012-03-13 16:53:39 +01:00
niv-openerp 89061adc7d [imp] possible problem with debug & qweb
bzr revid: nicolas.vanhoren@openerp.com-20120313153707-zi6kdlbxz72dit7l
2012-03-13 16:37:07 +01:00
Quentin (OpenERP) a5b56361e4 [FIX] hr_timesheet_sheet: fixed the automatic computation of sheet_id field on hr.analytic.timesheet object. Before it was not automatically triggered at the creation and it was causing a problem in a YAML test of module project_timesheet
bzr revid: qdp-launchpad@openerp.com-20120313150347-230dwv8a96y1j04x
2012-03-13 16:03:47 +01:00
Quentin (OpenERP) e5728537ce [FIX] point_of_sale: fixed error in yaml test
bzr revid: qdp-launchpad@openerp.com-20120313133956-gwfzj2ns33ou3nph
2012-03-13 14:39:56 +01:00
Thibault Delavallée 059cc5bef3 [ADD] Added documentation for merge proposal, related to the need_action mixin class.
bzr revid: tde@openerp.com-20120313122939-239ae3ftask1rrmb
2012-03-13 13:29:39 +01:00
Thibault Delavallée 94051b9812 [ADD] base_needaction file, holding the base.needaction mixin class.
bzr revid: tde@openerp.com-20120313122351-fw8e4gk3zuhaqr18
2012-03-13 13:23:51 +01:00
Thibault Delavallée 4c41a2994a [IMP] Avatar mini field gets automatically recomputed to avoid screwing the display when choosing a new one.
bzr revid: tde@openerp.com-20120313111418-fsrtwhcp0eesg0aq
2012-03-13 12:14:18 +01:00
Thibault Delavallée 8454553a5b [DOC] Updated merge documentation.
bzr revid: tde@openerp.com-20120313104155-221i8zfzfs03yenq
2012-03-13 11:41:55 +01:00
Thibault Delavallée 14b71b0aeb [ADD] Added files for new default avatars.
bzr revid: tde@openerp.com-20120313103146-6b6yloob7pkxrscq
2012-03-13 11:31:46 +01:00
Thibault Delavallée 9f2a5f2d03 [IMP] Improved default avatar (now takes randomly between 6 avatars); cleaned code about avatar and avatar_mini management; fixed bug when creating a new user where the chosen avatar was not saved
bzr revid: tde@openerp.com-20120313102916-w5rdtwco72xe8m7n
2012-03-13 11:29:16 +01:00
Thibault Delavallée 0790cbbfd7 [IMP] res.users: code cleaning
bzr revid: tde@openerp.com-20120313091651-6jvvuljjrlpjsto6
2012-03-13 10:16:51 +01:00
Thibault Delavallée 6c4ccf9bd5 [DOC] Added merge proposal documentation
bzr revid: tde@openerp.com-20120313085743-oa9jrbvnqwklpnlb
2012-03-13 09:57:43 +01:00
Launchpad Translations on behalf of openerp 8dc8016a37 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120313050811-m4u0qfmbq2k6omd6
2012-03-13 05:08:11 +00:00
Fabien Meghazi ec8c17161c [REM] Removed forgotten console.log
bzr revid: fme@openerp.com-20120312153743-i6qi3fzmondezrdh
2012-03-12 16:37:43 +01:00
Quentin (OpenERP) 16c9a25c0d [MERGE] merged few enhancements related to event* modules (better demo data in event_sale + new module to fix incompatibility with event_sale and sale_layout modules)
bzr revid: qdp-launchpad@openerp.com-20120312120145-2ahlt8jnh9pm1p1w
2012-03-12 13:01:45 +01:00
Quentin (OpenERP) 3dd0a4c334 [IMP] event_sale_layout: better module description
bzr revid: qdp-launchpad@openerp.com-20120312115601-ne4dwkl76o6jeo8a
2012-03-12 12:56:01 +01:00
Quentin (OpenERP) d0c2d2c45f [FIX] event_sale: fields set back to invisible on sale.order.line
bzr revid: qdp-launchpad@openerp.com-20120312114602-ckonmf9044u1m4ej
2012-03-12 12:46:02 +01:00
Quentin (OpenERP) 6a5e210d49 [IMP] event_sale: better demo data
bzr revid: qdp-launchpad@openerp.com-20120312114404-2ter4n11mkyy85gh
2012-03-12 12:44:04 +01:00
Olivier Dony 5492dbe760 [FIX] project_issue: global CC fields contains email(s), not a URL
bzr revid: odo@openerp.com-20120312112931-3oeretod35lsgmug
2012-03-12 12:29:31 +01:00
Launchpad Translations on behalf of openerp 1ec19d6641 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120314054427-vp8js9o3lw1h7ds6
2012-03-14 05:44:27 +00:00
Quentin (OpenERP) f237e56790 [FIX] account: qucik and dirty fix on the common wizard of reports to set the company_id by default in order to avoid having the name_search of fiscalyear processed before it is correctly set by the onchange of default value of chart account id. This bug is due to asynchronous calls of web client and will be solved asap, but in the meanwhile this little hack will localy solve the problem.
bzr revid: qdp-launchpad@openerp.com-20120313125119-0to4xin6rb8mb75o
2012-03-13 13:51:19 +01:00
Launchpad Translations on behalf of openerp 98a6a99173 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120313053503-xvlvyuystb8tvif8
2012-03-13 05:35:03 +00:00
Olivier Dony e74c011a60 [FIX] ir.mail_server: SMTP user and pass should be passed as bytes to login()
Passing a unicode used to work in Python 2.5 but that
changed in 2.6 due to a change in the hmac module.
In any case the various RFCs that describe such
authentication mechanism do specify that UTF-8 encoded
values should be used, so we should be safe coercing
the user and passsword to UTF-8 bytes strings.
And of course it should not change anything for
the ASCII passwords out there anyway.

For references, see:
- Zope bug https://bugs.launchpad.net/zope.sendmail/+bug/597143
- Python issue http://bugs.python.org/issue5285
- http://tools.ietf.org/html/draft-ietf-sasl-crammd5-10#section-4

bzr revid: odo@openerp.com-20120312174348-iiqfa2toupn3udr3
2012-03-12 18:43:48 +01:00
Stephane Wirtel f817f3f340 [FIX] In the case where the user has no signature, we set up a default value to avoid to have a body with 'False'.
bzr revid: stephane@openerp.com-20120312103025-dn5q7hml9sy5u0t7
2012-03-12 11:30:25 +01:00
Olivier Dony b3c0d126e9 [FIX] project: project preference field must be editable
The user preferences screen is kind of a hack
because it lets the user modify fields on a
model that is normally read-only for her (res.users).
This is accomplished by a custom write() method
on res.users combined with a view on which some
fields are forced to be read-write using a
trick: @readonly=0.

bzr revid: odo@openerp.com-20120312102001-aas39wknhsyxkhbx
2012-03-12 11:20:01 +01:00
Olivier Dony 49459c7219 [FIX] hr_holidays: Leaves calendar view should be filtered by users, not description
bzr revid: odo@openerp.com-20120312090809-rloqoz5lb3rr7a9a
2012-03-12 10:08:09 +01:00