Christophe Simonis
a756b82372
[MERGE] forward port of branch saas-4 up to revid bb26dea
2014-05-20 20:19:55 +02:00
Christophe Simonis
bb26dea60b
[MERGE] forward port of branch saas-3 up to revid 38abc8a
2014-05-20 19:00:50 +02:00
Christophe Simonis
38abc8a006
[MERGE] forward port of branch 7.0 up to revid b09b6a0
2014-05-20 18:57:04 +02:00
Christophe Simonis
ab4c3534de
[MERGE] merge bzr trunk server branch
2014-05-20 17:30:01 +02:00
Christophe Simonis
8f0066d728
[MERGE] merge bzr saas-4 server branch
2014-05-20 17:05:25 +02:00
Fabien Meghazi
9cd8ec98bc
Automatic @auth='user' redirection for unlogged users
...
opt out with query parameter ?noredirect=1
2014-05-20 12:02:46 +02:00
Thibault Delavallée
f99785e29d
[IMP] ir_qweb: contact widget: handle website info in the contact widget.
2014-05-19 18:15:32 +02:00
Richard Mathot (OpenERP)
f5368a1bad
[FIX] ir_qweb: Duration widget now displays something
2014-05-19 17:37:00 +02:00
Xavier Morel
9cefa76988
[ADD] hasclass() xpath function
...
Server-side, view extension is done via xpath. This includes "template" views
full of HTML.
HTML elements often have a bunch of classes, sometimes even semantic
(!). XPath is generally great, but specifically lousy at dealing with
space-separated values: in standard XPath 1.0 to know if an element has a
class 'foo' the predicate is:
contains(concat(' ', normalize-space(@class), ' '), ' foo ')
and this has to be fully duplicated if there's a second class involved.
Things are slightly better with EXSLT/XPath 2.0 and tokenize, but still not
great:
tokenize(@class, '\s+') = 'foo'
and the equality check is very weird when unaware of XPath's evaluation rules.
``hasclass`` makes this much simpler to deal with: to get any ``foo`` node
with the class ``bar`` is as simple as:
//foo[hasclass('bar')
and it can take multiple class, as with e.g. jquery it will return elements
with all specified classes.
Beware though, the predicate function will be called once for each element to
check, since it's implemented in pure python and not profiled elements should
be filtered as much as possible before this point.
2014-05-19 08:32:23 +02:00
Xavier Morel
66d8934802
[FIX] correctly handle get_inheriting_views_arch when uid=None
2014-05-19 08:32:10 +02:00
Xavier Morel
8a73978063
[FIX] use format_date for date fields
2014-05-19 08:23:15 +02:00
Launchpad Translations on behalf of openerp
d5ca324cd5
Launchpad automatic translations update.
2014-05-19 06:20:39 +00:00
Launchpad Translations on behalf of openerp
b5eabecf40
Launchpad automatic translations update.
2014-05-18 05:53:08 +00:00
Launchpad Translations on behalf of openerp
9f5c423fb7
Launchpad automatic translations update.
2014-05-17 07:10:05 +00:00
Launchpad Translations on behalf of openerp
d6e407d1ec
Launchpad automatic translations update.
2014-05-17 06:42:08 +00:00
Thibault Delavallée
726fad8832
[IMP] res_partner: added a hook to be sure the website is correctly formated.
...
Otherwise the website may consider the website field as local for address like
www.odoo.com
2014-05-16 16:09:27 +02:00
Martin Trigaux
07e4e15f4d
[FIX] ir_model_fields: when adding a new custom column to a custom model, set a valid _rec_name to this model (otherwise would require a server restart to reinstanciate the model)
2014-05-15 16:25:51 +02:00
Launchpad Translations on behalf of openerp
69e2614641
Launchpad automatic translations update.
2014-05-15 06:10:38 +00:00
Launchpad Translations on behalf of openerp
994a6ec022
Launchpad automatic translations update.
2014-05-14 06:20:22 +00:00
Xavier Morel
53d859ba9c
[FIX] a bunch of incomplete website URLs
2014-05-13 10:49:42 +02:00
Launchpad Translations on behalf of openerp
0e41af84a9
Launchpad automatic translations update.
2014-05-13 06:28:18 +00:00
Martin Trigaux
fc7a31f842
[FIX] ir_ui_view: remove undetermist order on search for views as the _order on the model is more specific (opw 607262)
...
This was problematic on some views where two views with the same priority could be chosen depending on the server, postgresql version and the age of the captain
2014-05-12 14:56:30 +02:00
Martin Trigaux
4f5cc00420
Forward-port of latest saas-4, up to revision 5211 (revid fme@openerp.com-20140509164408-rtml4brrhpiv4zz9)
2014-05-12 10:05:23 +02:00
Launchpad Translations on behalf of openerp
8c139b01e7
Launchpad automatic translations update.
2014-05-12 06:38:16 +00:00
Fabien Pinckaers
bcbd263214
[IMP] Adding fields
...
bzr revid: fp@tinyerp.com-20140511074755-5b3iy2b1xk7cjxmf
2014-05-11 09:47:55 +02:00
Launchpad Translations on behalf of openerp
1397b7aa34
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140510075539-empsrh7k5l6q44ln
bzr revid: launchpad_translations_on_behalf_of_openerp-20140510075505-nu0zmfg57i2352lz
bzr revid: launchpad_translations_on_behalf_of_openerp-20140511070820-8xp1e2jxonp4i750
bzr revid: launchpad_translations_on_behalf_of_openerp-20140503064840-v6n2wyrm1l162bh4
bzr revid: launchpad_translations_on_behalf_of_openerp-20140504062728-9tmsk2r01vvs3avi
bzr revid: launchpad_translations_on_behalf_of_openerp-20140506072722-8xpshoxb4um6ef30
bzr revid: launchpad_translations_on_behalf_of_openerp-20140511070841-lboiasc73m8h3fb2
2014-05-11 07:08:41 +00:00
Fabien Meghazi
f506fc45a3
[MOV] ir.ui.view#write() forced noupdate moved in `website` (RTE only)
...
bzr revid: fme@openerp.com-20140509141106-vbokuh0prptxavvg
2014-05-09 16:11:06 +02:00
Martin Trigaux
b87db84c0d
[FIX] ir_values: try to evaluate the given expression before saving it in pickle form (opw 607398)
...
The value_unpickled given by xml data is usualy already evaluated but when it is given by the web client, a str is recieved by the method (as the field is a text field). In the later case, we need to evaluate the field before storing to be correctly evaluated as a default value.
bzr revid: mat@openerp.com-20140509130412-ki211x7qdccdnv5w
2014-05-09 15:04:12 +02:00
Jitendra Prajapati
9b15769a71
[MERGE] [IMP] Misc view improvements using better name_get / name_search.
...
bzr revid: tde@openerp.com-20140509094920-94z2i7hfao3xxu4n
2014-05-09 11:49:20 +02:00
Launchpad Translations on behalf of openerp
12a1a6d09a
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140509064656-2k19o4v4ozt4yvg3
2014-05-09 06:46:56 +00:00
Fabien Meghazi
522dec2fcd
[IMP] assets bundle: allow to filter on type of assets
...
bzr revid: fme@openerp.com-20140508115157-ngtf46vasmygvt7n
2014-05-08 13:51:57 +02:00
Jitendra Prajapati (OpenERP)
49a7338b00
[IMP]improve code: call super method instead of manual search
...
bzr revid: jpr@tinyerp.com-20140508052730-5oztw3um6h42osvd
2014-05-08 10:57:30 +05:30
Fabien Meghazi
cea5591742
[FIX] runbot color
...
bzr revid: fme@openerp.com-20140507074310-bt0r1vt6rsgy9wqe
2014-05-07 09:43:10 +02:00
Fabien Meghazi
15380fd5d2
[ADD] modules global rendering variable
...
This is temporary
bzr revid: fme@openerp.com-20140506163204-u63n3wv1yv6yohd3
2014-05-06 18:32:04 +02:00
Mantavya Gajjar
b712f38fb8
[IMP]: improve code
...
bzr revid: mga@tinyerp.com-20140506122206-o1oj4zihrq3b2t0u
2014-05-06 17:52:06 +05:30
Denis Ledoux
fbbefe43c0
[MERGE] Forward-port of latest saas-3 bugfixes, up to rev. 5122 revid:dle@openerp.com-20140506121627-4oyw4zl4o6azy73w
...
bzr revid: dle@openerp.com-20140506121755-15gj3h43oqof6xx9
2014-05-06 14:17:55 +02:00
Denis Ledoux
b882dd7109
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5294 revid:odo@openerp.com-20140505074636-bl2y5pst4pfmpz3u
...
bzr revid: dle@openerp.com-20140506121627-4oyw4zl4o6azy73w
2014-05-06 14:16:27 +02:00
Jitendra Prajapati (OpenERP)
e418d2b2f6
[IMP]override name_search method
...
bzr revid: jpr@tinyerp.com-20140506102333-c8nrun01dxgjel22
2014-05-06 15:53:33 +05:30
Jitendra Prajapati (OpenERP)
394a525e22
[IMP]override name_search method
...
bzr revid: jpr@tinyerp.com-20140506100853-80b45nx286hw1gfh
2014-05-06 15:38:53 +05:30
Jitendra Prajapati (OpenERP)
41ca72726c
[IMP]ir_property: remove override name_get method
...
bzr revid: jpr@tinyerp.com-20140506084138-icrmht6081fjlrbb
2014-05-06 14:11:38 +05:30
Jitendra Prajapati (OpenERP)
8a0befcc4c
[IMP]base_module_immediate_install.xml: remove the change in spacing
...
bzr revid: jpr@tinyerp.com-20140506084026-sxcy2smsisdrjoo2
2014-05-06 14:10:26 +05:30
Jitendra Prajapati (OpenERP)
d480454ed1
[IMP]ir_config_parameter.py: use _rec_name.
...
bzr revid: jpr@tinyerp.com-20140506083931-j8352t1rqfhvpgz0
2014-05-06 14:09:31 +05:30
Jitendra Prajapati (OpenERP)
d5e9847b0d
[IMP]remove unnecessary check on ids
...
bzr revid: jpr@tinyerp.com-20140506083630-i1o5flr7p8apgrym
2014-05-06 14:06:30 +05:30
Launchpad Translations on behalf of openerp
2b67c9c77b
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140506061338-jwpj0jxfcnakph24
bzr revid: launchpad_translations_on_behalf_of_openerp-20140506061359-p8lxp23aopeb6mwh
bzr revid: launchpad_translations_on_behalf_of_openerp-20140506063612-leryt792evbx9hsy
2014-05-06 06:36:12 +00:00
Ravi Gohil (OpenERP)
166b8efabb
[FIX] Modifying default value for other than char/string/selection fields from 'Setting/Technical/Actions/User-defined Defaults' view sets wrong pickle value for respective record. (Maintenance Case: 607398)
...
lp bug: https://launchpad.net/bugs/1153628 fixed
bzr revid: rgo@tinyerp.com-20140506055725-ryorjswf236plhlc
2014-05-06 11:27:25 +05:30
Ravi Gohil (OpenERP)
636e825876
[FIX] Modifying default value for other than char/string/selection fields from 'Setting/Technical/Actions/User-defined Defaults' view sets wrong pickle value for respective record. (Maintenance Case: 607398)
...
lp bug: https://launchpad.net/bugs/1153628 fixed
bzr revid: rgo@tinyerp.com-20140506054055-xse0aywu6p3hl138
2014-05-06 11:10:55 +05:30
Fabien Meghazi
540b753bf8
[ADD] Support for ir.attachments in assets bundles
...
bzr revid: fme@openerp.com-20140505160953-yk6688ey7eoz5579
2014-05-05 18:09:53 +02:00
Thibault Delavallée
272b71b2a0
[MERGE] [FIX] res_partner: fixed bad display of address in form view in IE9.
...
lp bug: https://launchpad.net/bugs/1293523 fixed
bzr revid: tde@openerp.com-20140505145031-xgvti78aqspr5170
2014-05-05 16:50:31 +02:00
Fabien Meghazi
45d64640f8
[REV] defer
...
bzr revid: fme@openerp.com-20140505131012-owp0qucjbnesp4ee
2014-05-05 15:10:12 +02:00
Fabien Meghazi
33ad1076e9
[TRY] defer
...
bzr revid: fme@openerp.com-20140505121036-044ecvq8s3d669b2
2014-05-05 14:10:36 +02:00