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
Stephane Wirtel
1052e36d7c
[FIX] report_webkit: Use the parent of the root_path if we use openerp on Windows
...
bzr revid: stw@openerp.com-20120213173514-vj6mqv9qrqs0y7k6
2012-02-13 18:35:14 +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
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
MVA
2779663422
[REF] rewrite test
...
bzr revid: mva@openerp.com-20120213171950-hc0lb1dc8ysew3wg
2012-02-13 18:19:50 +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
MVA
40f8dc4fd9
[REF] change the test try if it works
...
bzr revid: mva@openerp.com-20120213165816-srkjna6xnm5at55v
2012-02-13 17:58:16 +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
MVA
aa8d8e92bd
[REF] change the test try if it works
...
bzr revid: mva@openerp.com-20120213164633-6yayl4yic8659acq
2012-02-13 17:46:33 +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
Thibault Delavallée
bd2e58fe4f
[REF] Refactored the fix. It now uses the add_payment method to ensure that the back-end and front-end behaviors are the same.
...
bzr revid: tde@openerp.com-20120213161201-xsc581kb4rdc65a5
2012-02-13 17:12:01 +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
MVA
1604698095
[REF] remove e.section_id in the repport
...
bzr revid: mva@openerp.com-20120213155011-3mtkxmryrq7dylpd
2012-02-13 16:50:11 +01:00
MVA
ebaa7bd063
[MERGE] correct conflict
...
bzr revid: mva@openerp.com-20120213153924-jbyeq83s6e8tp96t
2012-02-13 16:39:24 +01:00
MVA
067998af5d
[MERGE] merge with the trunk
...
bzr revid: mva@openerp.com-20120213152755-0k020gmyzoeah1rt
2012-02-13 16:27:55 +01:00
MVA
254a7be264
[REF] change email template and refactore event code
...
bzr revid: mva@openerp.com-20120213152422-iakgz4scpj9y2g9t
2012-02-13 16:24:22 +01:00
Thibault Delavallée
35446546d3
[IMP] Small code cleaning.
...
bzr revid: tde@openerp.com-20120213152152-cp4c6akarz1k45u1
2012-02-13 16:21:52 +01:00
Thibault Delavallée
a22726ffe6
[IMP] Add comments
...
bzr revid: tde@openerp.com-20120213152121-tkdldypj70v52jrn
2012-02-13 16:21:21 +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
Thibault Delavallée
901a88bf25
[IMP] When trying to launch the Chart of Accounts configuration wizard, there is now a check of the number of unconfigured companies. This prevents from having a wizard impossible to execute due to the lack of company_id. Also cleaned a bit the code in account_view.xml (ir_actions_server_action_wizard_multi_chart id).
...
bzr revid: tde@openerp.com-20120213150322-a8d6kx5047r0sdd9
2012-02-13 16:03:22 +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
Stephane Wirtel
586b3ae7c1
[FIX] l10n_ch: Use the right signature for the get_lib function WebKit Report
...
bzr revid: stw@openerp.com-20120213144456-dohbw9h8e2iskvbw
2012-02-13 15:44:56 +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
MVA
139c69c18a
[REF] change the name get to change the date with the event name
...
bzr revid: mva@openerp.com-20120213132127-d40qca9ummv717f3
2012-02-13 14:21:27 +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
Vo Minh Thu
ac9fe7be3c
[REV] gunicorn.conf.py: reverted temporary changes.
...
bzr revid: vmt@openerp.com-20120213124321-l5ba59s3m95iszo8
2012-02-13 13:43:21 +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
Vo Minh Thu
a49dd47178
[IMP] cron: no master cron thread when no workers are needed.
...
bzr revid: vmt@openerp.com-20120213115354-qa4kqx6hea82q8se
2012-02-13 12:53:54 +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
Thibault Delavallée
413e09e5fe
[FIX] Fixed wrong account_id not using property_account_receivable by default when using web-based POS front-end
...
bzr revid: tde@openerp.com-20120213112823-6mdf83hqiawoca27
2012-02-13 12:28:23 +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
Vo Minh Thu
0ae195798b
[MERGE] merged trunk.
...
bzr revid: vmt@openerp.com-20120213111233-ontycsea5cpnvsgv
2012-02-13 12:12:33 +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
MVA
f5091c315f
[REF] refactoring the event code
...
bzr revid: mva@openerp.com-20120213104910-ofanaw6ntiz8lvzq
2012-02-13 11:49:10 +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