Commit Graph

43209 Commits

Author SHA1 Message Date
Stephane Wirtel ebb46f71ef [FIX] babel: Set the right path for the localedata of Babel when we use it via the py2exe app.
lp bug: https://launchpad.net/bugs/917565 fixed

bzr revid: stw@openerp.com-20120214114447-f8k2ze9kszfxvlw1
2012-02-14 12:44:47 +01:00
Olivier Dony ed677bbfae [IMP] fields.date.context_today: actually use the optional timestamp + better naming
- optional datetime was not being used
- parameter renamed to timestamp to better
  indicate that it must be a datetime, not
  a simple date

bzr revid: odo@openerp.com-20120214085044-unpa77hork25gtif
2012-02-14 09:50:44 +01:00
Fabien Meghazi c4d9dfd8a9 [FIX] Use formatted value in kanbans group by
lp bug: https://launchpad.net/bugs/927698 fixed

bzr revid: fme@openerp.com-20120213172038-o0gxr5avtlc2kfbc
2012-02-13 18:20:38 +01:00
Xavier Morel a7ea6c02ab [FIX] don't display a '#' in empty URI fields
lp bug: https://launchpad.net/bugs/931643 fixed

bzr revid: xmo@openerp.com-20120214074632-oumyrm5pd5e2y1ow
2012-02-14 08:46:32 +01:00
Launchpad Translations on behalf of openerp 74b3b0bc69 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120214054303-2gawtr1s4zulhhhs
bzr revid: launchpad_translations_on_behalf_of_openerp-20120214054630-925y7kotw7axa7z4
bzr revid: launchpad_translations_on_behalf_of_openerp-20120214061906-2g5kxwe0xle5u54c
2012-02-14 06:19:06 +00:00
Olivier Dony 4202b11c5b [MERGE] Use of the new fields.date.context_today method for bug 925361
lp bug: https://launchpad.net/bugs/925361 fixed

bzr revid: odo@openerp.com-20120213184853-uoyo7utrnvlh1zoa
2012-02-13 19:48:53 +01:00
Olivier Dony 3520cc25aa [MERGE] Added fields.date.context_today method for bug 925361
lp bug: https://launchpad.net/bugs/925361 fixed

bzr revid: odo@openerp.com-20120213184802-gm6mqd8tk2kkswwn
2012-02-13 19:48:02 +01:00
Olivier Dony f87324e93e [FIX] res.users: don't delay login() if user row is currently locked
Any running transaction that has created or altered
a record that contains a FK to the user is automatically
holding an SharedRowLock that prevents login() from
updating the last login date. As we cannot delay the
login() until all such transactions are finished,
it's simpler to try to get the lock and if that
fails, we skip the login date update for once,
no big deal.
A typical candidate for this situation is the
Admin user, locked out by long running cron
jobs that touch rows as Admin, hence holding
a ShareRowLock to res.users ID 1 because of the
many create_uid/write_uid foreign keys.

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

bzr revid: odo@openerp.com-20120213183207-45ptopqm0szritgx
2012-02-13 19:32:07 +01:00
Olivier Dony 5fc1a9fc7b [FIX] all: use newly introduced fields.date.context_today
Following the introduction of fields.date.context_today,
correct the main cases where we need to use the user's
timezone instead of the default UTC one.
There are probably many minor cases where this may be
useful, but those cases should be easy to fix now
that there is a common way to fix them.

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

bzr revid: odo@openerp.com-20120213180741-4hvd4p7wsep0fomf
2012-02-13 19:07:41 +01:00
Olivier Dony 2b8a0616c7 [ADD] field.date.context_today: added function to use as _defaults for date fields
As discussed on bug 925361, in order to have
a consistent behavior everywhere we need default
values to be using the client's timezone, just
as if the user had set the value themselves
using their local clock.
Because fields.date values are timezone
agnostic by design, they must be correctly
initialized from the start, no conversion
happens later.
The new context_today method is mean to be
easily usable as _defaults initialize, i.e.:
 'date_field': fields.date.context_today
is all that is needed.
It also avoids the classical mistake of
forgetting to make the default value
dynamic and directly passing the result of
a time.strftime() call.

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

bzr revid: odo@openerp.com-20120213180355-ruyw5j2w7r06kyue
2012-02-13 19:03:55 +01:00
Quentin (OpenERP) e7ca80cdeb [FIX] l10n_be: vat intracom statement fix and polish. Thanks Noviat
bzr revid: qdp-launchpad@openerp.com-20120213172208-wejitichlxwed4mm
2012-02-13 18:22:08 +01:00
Quentin (OpenERP) 83e0e6ae18 [IMP] l10n_be: added Noviat to the authors, for posterity
bzr revid: qdp-launchpad@openerp.com-20120213171735-yf82dpd9shp0r3md
2012-02-13 18:17:35 +01:00
niv-openerp 6d17167b36 [fix] problem in BufferedDataSetStatic : should not trigger a on_change when we call create()
bzr revid: nicolas.vanhoren@openerp.com-20120213165437-lhs3d6iyvx61vlun
2012-02-13 17:54:37 +01:00
Fabien Meghazi d2a0a48e33 [FIX] Fix kanban card floating issue
bzr revid: fme@openerp.com-20120213165200-8ukpklpghjvz6xpj
2012-02-13 17:52:00 +01:00
Fabien Meghazi 7de6dbed4d [FIX] Share wizard: unselectable url and embed code
I used to like Firefox... That was before webkit.

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

bzr revid: fme@openerp.com-20120213163120-7qt0171h81uh8bvp
2012-02-13 17:31:20 +01:00
Vo Minh Thu 1cf8f5680a [IMP] tests: expose an explicit list of test sub-modules.
bzr revid: vmt@openerp.com-20120213162058-e7u9jap679z4hep5
2012-02-13 17:20:58 +01:00
Fabien Meghazi b55edaafd6 [IMP] Move overflow-y: scroll to body.openerp
bzr revid: fme@openerp.com-20120213160728-4jwhlw8lisq7m4pd
2012-02-13 17:07:28 +01:00
Quentin (OpenERP) 859a01bd3a [FIX] account_followup: fixed error due to virtual ids
bzr revid: qdp-launchpad@openerp.com-20120213160319-lpx878gnczz590uz
2012-02-13 17:03:19 +01:00
Fabien Meghazi 60d19cc27a [FIX] footer is not sticky and scroll with page under IE8
A better fix would be not to use Internet Explorer at all !

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

bzr revid: fme@openerp.com-20120213151347-4v9271zgnii90cbi
2012-02-13 16:13:47 +01:00
Olivier Dony c658241072 [IMP] res.partner.bank: swap state/country fields in vertical layout
Users need to fill in country to see the
list of states, so it must be first in the
form, even if that does not feel very
natural in a vertical layout.

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

bzr revid: odo@openerp.com-20120213145904-i731wr9msex3fmx6
2012-02-13 15:59:04 +01:00
Minh Tran a465c4c118 [FIX] Reduced size of CRM from 330kb to 19kb
bzr revid: mit@openerp.com-20120213145239-cv8117ez6do76gig
2012-02-13 15:52:39 +01:00
Fabien Meghazi f12e598b59 [FIX] QWeb2: Array-like character access in String is not supported in IE<8
bzr revid: fme@openerp.com-20120213144234-dtdw5e8ho4x85frj
2012-02-13 15:42:34 +01:00
Olivier Dony 16a8811930 [IMP] mail,email_template: improved views, assert missing email_from
- add missing colspans for notebooks
- remove some buttons from mail.message form view,
  namely because send button can cause record deletion
  possibly causing some weird UI result.. better used
  from the list view for now (web was fixed anyway)
- better domain on Message action, to ease debugging
- added assert for email_from in email_template.send_email()
  to catch errors earlier

bzr revid: odo@openerp.com-20120213143531-eiuhulo46bv059pl
2012-02-13 15:35:31 +01:00
niv-openerp 3aaa2b8f1e [fix] point of sale: problem with total
bzr revid: nicolas.vanhoren@openerp.com-20120213142326-94zlaah6k2rny0xs
2012-02-13 15:23:26 +01:00
Fabien Meghazi a95db7c28c [FIX] Fix one million bugs in IE8
bzr revid: fme@openerp.com-20120213135611-ndrboz8urcg6kclu
2012-02-13 14:56:11 +01:00
Quentin (OpenERP) 7718ad9157 [FIX] account, financial report: don't display lines twice
bzr revid: qdp-launchpad@openerp.com-20120213135604-tsmzruto4h50obd0
2012-02-13 14:56:04 +01:00
Quentin (OpenERP) 614893d620 [MERGE] account: merged the dev branch with workaround of context['line_id'] in line_id field (operation not supported in web client)
bzr revid: qdp-launchpad@openerp.com-20120213131702-f20fl7ydpxvt9o7g
2012-02-13 14:17:02 +01:00
Fabien Meghazi ba05ec55fd [ADD] Add sticky option to do_warn() and do_notify()
[IMP] Form view uses a notification when a record is not found in the database

bzr revid: fme@openerp.com-20120213123805-4dqg4oioous25nuo
2012-02-13 13:38:05 +01:00
Xavier Morel 9552dbc215 [FIX] replace :first-of-type by custom class in treeview styles, so open/close arrows appear in MSIE8
lp bug: https://launchpad.net/bugs/927631 fixed

bzr revid: xmo@openerp.com-20120213115220-dt147bo51q2zqrnp
2012-02-13 12:52:20 +01:00
Xavier Morel b1f1ca0ea1 [FIX] stupid dhtmlxGraph blowing up everything in MSIE8 when not in debug mode
bzr revid: xmo@openerp.com-20120213111746-uojye5kfp1zpsb4a
2012-02-13 12:17:46 +01:00
niv-openerp 899a8e2ece [merge] improvements to view editor
bzr revid: nicolas.vanhoren@openerp.com-20120213110819-xugfuocv0j6lh32q
2012-02-13 12:08:19 +01:00
Quentin (OpenERP) 169534b38c [IMP] l10n_be: removed unused (and not fully covered) options in vat declaration wizard. Thanks Noviat for the feedback
bzr revid: qdp-launchpad@openerp.com-20120213110214-o313ylrffsc6p1j2
2012-02-13 12:02:14 +01:00
Vo Minh Thu 8e2134981d [FIX] ir_rule: disallow ir_rules on ir_rule.
bzr revid: vmt@openerp.com-20120213110144-p5wrxccl39vrkwjy
2012-02-13 12:01:44 +01:00
Olivier Dony a60edc90da [ADD] base: missing post-1995 ISO3166 countries
lp bug: https://launchpad.net/bugs/930242 fixed

bzr revid: odo@openerp.com-20120213105901-hx9qh1hqvqz8h2h0
2012-02-13 11:59:01 +01:00
niv-openerp 301e25915b [imp] rewritten code to be easier to read
bzr revid: nicolas.vanhoren@openerp.com-20120213105341-09pawcz7pau2incs
2012-02-13 11:53:41 +01:00
Quentin (OpenERP) 6645ed25db [MERGE] account: merged the branch that add debit/credit option on financial reports
bzr revid: qdp-launchpad@openerp.com-20120213104937-fyfay6sym8l8dq7d
2012-02-13 11:49:37 +01:00
Olivier Dony b73acbab66 [FIX] pos: better PIL import, courtesy of Mohammad Alhashash
lp bug: https://launchpad.net/bugs/930550 fixed

bzr revid: odo@openerp.com-20120213102432-tl0d0yhfyrg8iwnn
2012-02-13 11:24:32 +01:00
Xavier Morel 48645fe412 [IMP] remove nonsensical attributes on tree and search, tighten tree/@toolbar
bzr revid: xmo@openerp.com-20120213101758-i20p214w21u0ik5r
2012-02-13 11:17:58 +01:00
Xavier Morel 042a5f823d [FIX] don't use 'undefined' as a fallback value for .attr, it makes jquery think that's a get and breaks chaining
bzr revid: xmo@openerp.com-20120213100543-0zu2ij95tnufu5df
2012-02-13 11:05:43 +01:00
Fabien Meghazi 85ac428a7b [FIX] Login without selected database returns uncatched error
lp bug: https://launchpad.net/bugs/931320 fixed

bzr revid: fme@openerp.com-20120213100102-4ooonwfjzmjo4en8
2012-02-13 11:01:02 +01:00
Xavier Morel c900d355f8 [REM] base_module_quality: nonsensical attributes on module.quality.detail list view
bzr revid: xmo@openerp.com-20120213095245-ysocamwgtbvlnr4s
2012-02-13 10:52:45 +01:00
Xavier Morel 346805aa02 [FIX] sizing of date widgets in search view
lp bug: https://launchpad.net/bugs/930049 fixed

bzr revid: xmo@openerp.com-20120213094015-px9udeft0v0htnyu
2012-02-13 10:40:15 +01:00
Xavier Morel 919cf2a51f [FIX] get_last_modified in case no file is provided
lp bug: https://launchpad.net/bugs/931293 fixed

bzr revid: xmo@openerp.com-20120213091049-thhwo5fzadsy4671
2012-02-13 10:10:49 +01:00
Xavier Morel 49a20fa44a [FIX] CSS rules inheritance leading to listview colors not being taken in account in o2m (and probably m2m) fields
lp bug: https://launchpad.net/bugs/927950 fixed

bzr revid: xmo@openerp.com-20120213085624-pia163tdfm018q3j
2012-02-13 09:56:24 +01:00
Olivier Dony 5ecb66312c [REV] Last merge by AL breaks tests
bzr revid: odo@openerp.com-20120213084242-wn07hua23owewgvm
2012-02-13 09:42:42 +01:00
Xavier Morel c0c89da4b8 [FIX] rendering of readonly URI fields
don't call FieldChar's set_value as this nukes the URI widget's content (link in this case). Either that, or empty the content and add the link back via DOM manipulations

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

bzr revid: xmo@openerp.com-20120213082047-931ea10a8lrb18wf
2012-02-13 09:20:47 +01:00
Launchpad Translations on behalf of openerp d970294f61 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120211054143-ombd21qpgp6dwowo
bzr revid: launchpad_translations_on_behalf_of_openerp-20120212050000-l6kpoprwuejqy53f
bzr revid: launchpad_translations_on_behalf_of_openerp-20120213050809-dfeuvbboy9mk6ox5
2012-02-13 05:08:09 +00:00
Launchpad Translations on behalf of openerp 2aa2378015 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120211050953-f8t9zos3qjzmnj3t
bzr revid: launchpad_translations_on_behalf_of_openerp-20120212044319-nxuw0h7g5aqrqy4s
bzr revid: launchpad_translations_on_behalf_of_openerp-20120213045042-jyku2inv3wkcae91
2012-02-13 04:50:42 +00:00
Launchpad Translations on behalf of openerp 769e8fc3a7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120211050703-tr5u3ccsyn3nr4a3
bzr revid: launchpad_translations_on_behalf_of_openerp-20120212044214-22i3b1p1odzszfm8
bzr revid: launchpad_translations_on_behalf_of_openerp-20120213044933-drlzxl0ds3vw5pct
2012-02-13 04:49:33 +00:00
Antony Lesuisse 87c00a1d3e [MERGE] webkit wkhtmltopdf path configuration
bzr revid: al@openerp.com-20120210173911-9f7oqrtghejse9o4
2012-02-10 18:39:11 +01:00