Xavier Morel
b9dfef2fab
[ADD] formatting of date and datetime t-field
...
bzr revid: xmo@openerp.com-20131021152639-2o2j2knhuppdlbzm
2013-10-21 17:26:39 +02:00
Xavier Morel
61b306edc0
[ADD] format floating-point values (including monetary values) according to user lang
...
bzr revid: xmo@openerp.com-20131021125723-66rc4w5ist6rx22o
2013-10-21 14:57:23 +02:00
Xavier Morel
5b4775c840
[REF] simplification of res.lang format
...
bzr revid: xmo@openerp.com-20131021111457-k9rgt5ojnk9doqh9
2013-10-21 13:14:57 +02:00
Xavier Morel
3eae335a9b
[ADD] comment to ir.qweb.field.monetary to explain its workings/purpose
...
bzr revid: xmo@openerp.com-20131021100543-wlsc93puu23qnv8c
2013-10-21 12:05:43 +02:00
Xavier Morel
a348a5e92f
[ADD] hook in qweb.field.float for overriding precision
...
bzr revid: xmo@openerp.com-20131021091607-mirzojqhsbskx57g
2013-10-21 11:16:07 +02:00
Xavier Morel
b50e90607f
[ADD] context all the things!
...
bzr revid: xmo@openerp.com-20131021083120-6v6xy0bm4w686d2m
2013-10-21 10:31:20 +02:00
Xavier Morel
5a257c5318
[FIX] recursive qweb render calls to pass (void) cr and uid
...
both are already in the qwebcontext passed as last argument
bzr revid: xmo@openerp.com-20131018144838-xvtg0f7uoxf360zr
2013-10-18 16:48:38 +02:00
Xavier Morel
55c38976c0
[ADD] cr, uid, context to qweb.render & qweb rendering context
...
bzr revid: xmo@openerp.com-20131018144546-p693x1iur5gm98ez
2013-10-18 16:45:46 +02:00
Xavier Morel
b6c7adced6
[FIX] import/reference warning
...
bzr revid: xmo@openerp.com-20131018143659-e9tapiu7c5tf5t2i
2013-10-18 16:36:59 +02:00
Xavier Morel
8d6302f260
[IMP] use existing tools for the job
...
bzr revid: xmo@openerp.com-20131018141510-1x1w5ba5fqfzebfk
2013-10-18 16:15:10 +02:00
Christophe Matthieu
aeb0125c84
[IMP] ir_qweb: better exception with message, node, template
...
bzr revid: chm@openerp.com-20131018113927-vnsk2mj1g8gsl5hs
2013-10-18 13:39:27 +02:00
Christophe Matthieu
4c1076420c
[IMP] ir_qweb: add a class QWebException and raise a better exception message
...
bzr revid: chm@openerp.com-20131018095913-7ut45k9r9c1qp2wf
2013-10-18 11:59:13 +02:00
Xavier Morel
0ed91c4b29
[FIX] move loaded templates storage to context
...
Didn't think of the _t attribute storing loaded templates when qweb
was moved from a Python object instantiated every rendering to an
openerp never reinstantiated. This unexpectedly moved _t from the
status of a per-render cache (to avoid reloading sub-templates or
recursive templates a billion times) into a permanent cache with no
invalidation.
Move _t to QWebContext.templates, which should be per-render, for now.
bzr revid: xmo@openerp.com-20131015152858-u89wx46e0ngh58of
2013-10-15 17:28:58 +02:00
Xavier Morel
41327fda79
[MERGE] from trunk after fonts have been added
...
bzr revid: xmo@openerp.com-20131015114534-bmuu05j125s9mbo9
2013-10-15 13:45:34 +02:00
Martin Trigaux
b9c3d93416
[IMP] font: handle better the difference of fonts
...
bzr revid: mat@openerp.com-20131014150507-4ueuyyneo6h2f6ju
2013-10-14 17:05:07 +02:00
Fabien Meghazi
392776523b
[ADD] QWeb: t-keep-query
...
bzr revid: fme@openerp.com-20131014150442-7gn82i8bb8p6tfi7
2013-10-14 17:04:42 +02:00
Martin Trigaux
53e8625cea
[FIX] font: cleaning and better default data
...
bzr revid: mat@openerp.com-20131014123815-6tnegdiv4cnaimtf
2013-10-14 14:38:15 +02:00
Xavier Morel
625f4e253f
[IMP] correctly handle empty m2o field serialization
...
bzr revid: xmo@openerp.com-20131014105621-mwiucen7glajccea
2013-10-14 12:56:21 +02:00
Martin Trigaux
3798b1ed96
[IMP] better labels
...
bzr revid: mat@openerp.com-20131014101523-bwb4lda2rxbqpb8a
2013-10-14 12:15:23 +02:00
Fabien Meghazi
9cf7418b18
[FIX] Temporary fix for xmlid
...
bzr revid: fme@openerp.com-20131014100753-3pk226p4gsa6zrec
2013-10-14 12:07:53 +02:00
Martin Trigaux
b3a8a4493d
[IMP] fonts: adapt fonts to many2one instead of list
...
bzr revid: mat@openerp.com-20131014094122-6ndc5scni2xyzksy
2013-10-14 11:41:22 +02:00
Xavier Morel
a720eec77c
[FIX] monetary field rounding, QWebContext in tests
...
bzr revid: xmo@openerp.com-20131014093657-wl00zhbgk5b1zs0o
2013-10-14 11:36:57 +02:00
Xavier Morel
64ea89e3be
[MERGE] from parent
...
bzr revid: xmo@openerp.com-20131014085215-qoqytud1mkpdqbz0
2013-10-14 10:52:15 +02:00
Xavier Morel
29d10fd8ea
[REM] conversion in monetary widget, turns out to be a misunderstood need
...
bzr revid: xmo@openerp.com-20131011142512-3j5vuik1o4k6q6jj
2013-10-11 16:25:12 +02:00
Xavier Morel
20f89a8d85
[IMP] change monetary t-field options, make them more sensible and flexible
...
bzr revid: xmo@openerp.com-20131011111620-sitjaxoykgjp2175
2013-10-11 13:16:20 +02:00
Xavier Morel
9cbc632fa1
[IMP] smartenify res_currency code
...
bzr revid: xmo@openerp.com-20131011105120-1d5fg06j6zsuxty2
2013-10-11 12:51:20 +02:00
Thibault Delavallée
b0d16d0fcc
[MERGE] Sync with trunk until revision 4967
...
bzr revid: tde@openerp.com-20131011091605-79yhy54spnenf21u
2013-10-11 11:16:05 +02:00
Launchpad Translations on behalf of openerp
8c3f19d913
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131011044915-qxutw9o1lhyymj8l
2013-10-11 04:49:15 +00:00
Xavier Morel
7537157519
[REV] broken commit
...
bzr revid: xmo@openerp.com-20131010070857-svf0oh7qk9xw0goi
2013-10-10 09:08:57 +02:00
Thibault Delavallée
4fa93e29b8
[MERGE] Sync with main website branch
...
bzr revid: tde@openerp.com-20131008152345-bbr6csg6z9m0q52z
2013-10-08 17:23:45 +02:00
Christophe Matthieu
1f5f1006fd
[IMP] ir.rule: add the http secure session in the eval context.
...
bzr revid: chm@openerp.com-20131008151937-ox3ktq8uq9mxnpvp
2013-10-08 17:19:37 +02:00
Xavier Morel
ef848653af
[FIX] rename currency widget to monetary to match views
...
bzr revid: xmo@openerp.com-20131008122006-k7xjv2lkd0t7lza7
2013-10-08 14:20:06 +02:00
Thibault Delavallée
fe57ed6f8d
[MOV] portal: moved group_portal from portal module to base. First step towards including portal stuff directly into server.
...
bzr revid: tde@openerp.com-20131008113338-mrkae8rwv4jif1x6
2013-10-08 13:33:38 +02:00
Christophe Matthieu
1a0b74d033
[IMP] ir_ui_view: improve security dev. Log a warning message if the browse record used in the views have a SUPERUSER access.
...
bzr revid: chm@openerp.com-20131008095805-8ek62kl4k0spw9b8
2013-10-08 11:58:05 +02:00
Xavier Morel
273f62bc78
[IMP] move translate flag out of base qweb rendering
...
bzr revid: xmo@openerp.com-20131008092207-m27ox8pebl36a45p
2013-10-08 11:22:07 +02:00
Xavier Morel
d414f8c7cf
[IMP] make view rendering engine kinda sorta pluggable
...
bzr revid: xmo@openerp.com-20131008082555-l8b2mu8ny8ouf5n5
2013-10-08 10:25:55 +02:00
Xavier Morel
e29028ea0e
[ADD] missing access rule thing
...
bzr revid: xmo@openerp.com-20131008082543-pzpknr48xfdbxxna
2013-10-08 10:25:43 +02:00
Xavier Morel
5e1c17a3a7
[ADD] docstring about qweb usage
...
bzr revid: xmo@openerp.com-20131008070742-4k1egtvmdvz3pv6e
2013-10-08 09:07:42 +02:00
Xavier Morel
47fc0a1093
[ADD] apply currency's rounding to currency widget values
...
bzr revid: xmo@openerp.com-20131008064226-ry22z6w23d88szr8
2013-10-08 08:42:26 +02:00
Xavier Morel
a6e4951886
[ADD] currency prefix symbol
...
bzr revid: xmo@openerp.com-20131007150330-sys0320gaui2crtt
2013-10-07 17:03:30 +02:00
Xavier Morel
727b0e27c5
[ADD] currency qweb field widget, postfix currency
...
bzr revid: xmo@openerp.com-20131007145346-a3hlb6xjdwroyvzb
2013-10-07 16:53:46 +02:00
Xavier Morel
a30a4640c2
[IMP] add some docstrings, split out fetching the converter model in ir.qweb in its own method
...
This way, it's possible to inherit from ir.qweb and override converter discovery
bzr revid: xmo@openerp.com-20131007125155-5j0xeov213sz4ccq
2013-10-07 14:51:55 +02:00
Xavier Morel
7a8ea1eb75
[IMP] move image serialization to image widget, not all binary fields
...
bzr revid: xmo@openerp.com-20131007113133-y0xcj0tgp8ionrzo
2013-10-07 13:31:33 +02:00
Xavier Morel
0bce14ccd7
[MERGE] from trunk for tests fixes
...
bzr revid: xmo@openerp.com-20131007093527-gkem29e7agcmt0rd
2013-10-07 11:35:27 +02:00
Xavier Morel
e5d67ad2e0
[REM] broken tests
...
expectation of view validation errors when creating view referencing
non-existent fields or models, but in website branch models and views
have become independents, these are not context-free errors anymore.
Also fix shit code.
bzr revid: xmo@openerp.com-20131007093328-gjrktqbsoe48ikol
2013-10-07 11:33:28 +02:00
Xavier Morel
cd31b4af4d
[IMP] move field conversion around
...
ir.fields architecture turns out not to be a very good or simple fit,
especially as different widgets/fields need different granularity of
customizations. Having objects dedicated to each field type/widget
makes things simpler as it allows a conversion pipeline which can be
plugged into at any point.
bzr revid: xmo@openerp.com-20131007091556-03azc2mdhcb7kmwo
2013-10-07 11:15:56 +02:00
Thibault Delavallée
b94389dfca
[FIX] ir_ui_view: MOVABLE_BRANDING back, was deleted by error when merging trunk
...
bzr revid: tde@openerp.com-20131007090206-f0y2vtv84113tbcd
2013-10-07 11:02:06 +02:00
Xavier Morel
856e3d0b91
[MERGE] from trunk
...
bzr revid: xmo@openerp.com-20131007085815-sfzb0lrhysxsdxzg
2013-10-07 10:58:15 +02:00
Thibault Delavallée
b74c255168
[MERGE] Sync with trunk until revision 4967 (including al cleaning)
...
bzr revid: tde@openerp.com-20131007081039-adyay7oy1tpx4g2k
2013-10-07 10:10:39 +02:00
Antony Lesuisse
df230e07e4
move workflow
...
bzr revid: al@openerp.com-20131006151827-oevn6uuv005qbsu8
2013-10-06 17:18:27 +02:00