cysnake4713
bd36f36281
[FIX] report localcontext setHtmlImage Method error #24 #36
2014-05-18 18:20:51 +08:00
Launchpad Translations on behalf of openerp
b5eabecf40
Launchpad automatic translations update.
2014-05-18 05:53:08 +00:00
kevin wang
b1dfb8e193
check no match result in convert_pgerror_* functions
2014-05-17 23:14:53 +08: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
Olivier Dony
7e66bd9d55
[FIX] orm.search_read: drop active_test context flag during the read() step
...
The active_test flag is meant for search(),
but when passed to search_read() it was also
propagated to the read() call.
This has little consequence normally because
read() ignores this flag, but it can have
side-effects when reading x2m fields or
function fields. They are likely to call
search() somewhere downstream, still with
the propagated active_test flag, while
it should not be applied anymore.
Ultimately dropping this flag could be
done by read() in all cases, but changing
search_read() is less likely to block
exotic cases where the flag was passed
on purpose. Moving it to read() could
be done as a later step.
2014-05-13 17:29:35 +02: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
Fabien Meghazi
e9572c56b3
[IMP] monodb selects first database if only one match. Even if db-filter was not provided
...
bzr revid: fme@openerp.com-20140508083921-pu2zte8fq69wvo8o
2014-05-08 10:39:21 +02:00
Fabien Meghazi
cf87afbe0a
[FIX] configuration file dbfilter's option has no effect
...
lp bug: https://launchpad.net/bugs/940439 fixed
bzr revid: fme@openerp.com-20140508075025-yszqmzie1z4n7l4j
2014-05-08 09:50:25 +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
Olivier Dony
4a248b029a
[MERGE] I18N: make fr_CA one of the default installation languages, courtesy of Maxime Chambreuil (SavoirFaireLinux)
...
bzr revid: odo@openerp.com-20140507123155-blwh7uvmltajkmf5
2014-05-07 14:31:55 +02:00
Thibault Delavallée
0f9917c9a3
[FIX] service: wrapper: fixed context fetching. Indeed call_kw set its context
...
in kwargs of kwargs, leading to a kwargception.
bzr revid: tde@openerp.com-20140507110637-qlj1rj8lrcpkejf6
2014-05-07 13:06:37 +02:00
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
Martin Trigaux
5e406734ab
[FIX] module: do not crash in case of not found module
...
bzr revid: mat@openerp.com-20140505121840-f84u36mng3p1gstn
2014-05-05 14:18:40 +02:00
Fabien Meghazi
33ad1076e9
[TRY] defer
...
bzr revid: fme@openerp.com-20140505121036-044ecvq8s3d669b2
2014-05-05 14:10:36 +02:00
Ravi Gohil (OpenERP)
1e1c2230fd
[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-20140505115121-lwz1crjjoxyqfgax
2014-05-05 17:21:21 +05:30
Jitendra Prajapati (OpenERP)
1bb22f2ddd
[MERGE]with main branch
...
bzr revid: jpr@tinyerp.com-20140505095333-v514kj2dz0advdf8
2014-05-05 15:23:33 +05:30
Olivier Dony
188930bb01
[FIX] convert: gracefully ignore missing XML IDs when processing <delete> tags + warn in log
...
bzr revid: odo@openerp.com-20140505074636-bl2y5pst4pfmpz3u
2014-05-05 09:46:36 +02:00
Launchpad Translations on behalf of openerp
f426972e37
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140430070138-uuemdpfseyysxlvs
bzr revid: launchpad_translations_on_behalf_of_openerp-20140502064550-9r0c2t3tr8dp1hwu
bzr revid: launchpad_translations_on_behalf_of_openerp-20140501063929-ta3t6lhed5dpdz9a
bzr revid: launchpad_translations_on_behalf_of_openerp-20140502064608-1zwt52snc5pg5kfi
bzr revid: launchpad_translations_on_behalf_of_openerp-20140504062721-dgb7m6o6ge2btumg
2014-05-04 06:27:21 +00:00
Antony Lesuisse
434c3c455e
[FIX] free chs who was stuck in a 2010 spacetime continuum
...
bzr revid: al@openerp.com-20140501214501-dnt6qjxvqa8tm58o
2014-05-01 23:45:01 +02:00
Antony Lesuisse
6c950dc970
[FIX] ir_qweb revert async script attribute
...
bzr revid: al@openerp.com-20140501212023-x9r57i05nrr0g29f
2014-05-01 23:20:23 +02:00
Antony Lesuisse
e6532d91ba
[FIX] ir_qweb set js assets to async
...
bzr revid: al@openerp.com-20140501205153-ko00g1vyyrmc21k8
2014-05-01 22:51:53 +02:00
Antony Lesuisse
8c6cbebc0e
[IMP] ir_qweb improve css minify
...
bzr revid: al@openerp.com-20140501190544-egvc85ctdxs69cmr
2014-05-01 21:05:44 +02:00
Antony Lesuisse
8d04c66dc3
[IMP] cleanups, move tests, remove deprecated model instantiation
...
bzr revid: al@openerp.com-20140501184217-pgi1gzbdpysdybog
2014-05-01 20:42:17 +02:00
Antony Lesuisse
7e25b9ae55
[MERGE] saas-4 report_webkit missing dependency on report
...
bzr revid: al@openerp.com-20140501152604-4cobh5ui47dt4pem
bzr revid: al@openerp.com-20140501155633-gefnc3zqcsr2rhaz
bzr revid: al@openerp.com-20140501161156-4wbsvhh8gz4r22h3
2014-05-01 18:11:56 +02:00
Antony Lesuisse
739793cdcd
[FIX] tests race condition in phanthomjs tests
...
A deadlock occurs when
- phantomjs_test1 is executedd, enter_test_mode is activated
- console.log('ok') is issued, sigterm is sent to phantomjs_test1 process
- phantomjs_test1 is finished and leave_test_mode restores the registrymanager lock
- phantomjs_test1 process, just before dying, makes a last http request phantomjs_test1_last_request
- phantomjs_test1_last_request thread will wait for the registrymanager lock, when all tests will be completed
- phantomjs_test2 is run, enter_test_mode is activated
- phantomjs_test2 is reach its end and _wait_remaining_requests is called
- phantomjs_test2 _wait_remaining_requests hangs forever waiting for phantomjs_test1_last_request
bzr revid: al@openerp.com-20140501150641-ua0b7pntesgm3n5p
2014-05-01 17:06:41 +02:00
Fabien Meghazi
8c20eeef6a
[MERGE] Web assets moved from manifests to ir.ui.view bundles
...
bzr revid: fme@openerp.com-20140430151137-c4ue5ko0vdyvoijt
2014-04-30 17:11:37 +02:00
Fabien Meghazi
a1b46eb0d2
[FIX] Disable inherit_branding for t-call-assets
...
bzr revid: fme@openerp.com-20140430081042-f77suergc85qemnn
2014-04-30 10:10:42 +02:00
Fabien Meghazi
677de74fef
[REM] @filename from WebAsset constructor
...
bzr revid: fme@openerp.com-20140430073537-lk4i126urhfkjdtz
2014-04-30 09:35:37 +02:00
Antony Lesuisse
c9873fb0b4
[FIX] http Internal Server Error when switching branches
...
When the source code doesnt match ir.models of the current session database,
openerp is unable to build a registry, we now clear the session instead of
issuing an http 500 error.
bzr revid: al@openerp.com-20140429232213-omao31x6fdxwg2ov
2014-04-30 01:22:13 +02:00
Kersten Jeremy
525b47510d
[IMP] allow to pass an avatar_filter in calendar view. this field allow the user to customize the sidebar pictures with another picture that the event.
...
bzr revid: jke@openerp.com-20140429150233-us6e51xl3o4ixzsi
2014-04-29 17:02:33 +02:00
Randhir Mayatra (OpenERP)
27bd093089
[MERGE][REM] Configurable menu action for users -- was broken (server part)
...
This commit requires r3995 of web branch
bzr revid: rim@openerp.com-20140429144026-4zgv8ahb5er3rl83
2014-04-29 16:40:26 +02:00
Fabien Meghazi
db9448f8d2
[MERGE] upstream
...
bzr revid: fme@openerp.com-20140429142601-5pgb4l701c0deg58
2014-04-29 16:26:01 +02:00
Richard Mathot (OpenERP)
c7e68feca8
[FIX] Dirty revert
...
bzr revid: rim@openerp.com-20140429135200-m6sx0gx0ga2qrk4g
2014-04-29 15:52:00 +02:00
Fabien Meghazi
2248056167
[FIX] routing_type meta info was populated too late in routing_map()
...
Could not call methods outside of an http request context
bzr revid: fme@openerp.com-20140429130916-7zuyzhf2ebcrlbhn
2014-04-29 15:09:16 +02:00
Vidhin Mehta (OpenERP)
e8cf1cfb36
[IMP]
...
bzr revid: vme@tinyerp.com-20140429122209-djy2py9bswt602to
2014-04-29 17:52:09 +05:30
Vidhin Mehta (OpenERP)
b93ca4f5fe
[IMP]indent
...
bzr revid: vme@tinyerp.com-20140429121650-n5resq8mwbxkjpcs
2014-04-29 17:46:50 +05:30
Vidhin Mehta (OpenERP)
32674d563d
[IMP]add action_id
...
bzr revid: vme@tinyerp.com-20140429121349-ikq6iz1wswme7btn
2014-04-29 17:43:49 +05:30
Richard Mathot (OpenERP)
f3b5913842
[IMP] res_group: more explicit constraint error message
...
bzr revid: rim@openerp.com-20140429071125-avjggwlmlozv7hz5
2014-04-29 09:11:25 +02:00
Olivier Dony
4836354a16
[FIX] safe_eval: allow STORE_FAST and DELETE_FAST opcodes, used e.g. for comprehension expressions
...
bzr revid: odo@openerp.com-20140428151133-uz7mphscch35dl6o
2014-04-28 17:11:33 +02:00
Fabien Meghazi
5d13ad7ee8
[REM] query additional params for bundles
...
`translatable` has been removed from assets templates, no need for this anymore
bzr revid: fme@openerp.com-20140428124431-3b5rvyejjosftpq3
2014-04-28 14:44:31 +02:00
Martin Trigaux
42d7f69af9
[IMP] base: add arch in searchable fields for model ir.ui.view (opw 607201)
...
bzr revid: mat@openerp.com-20140428121910-00wqenzg9adl2ukb
2014-04-28 14:19:10 +02:00
Denis Ledoux
93ba7cc575
[FIX] base: ir.model.fields, write, use tools.ustr instead of str so it handle if the string is already unicode
...
Writing special chars in the field label resulted in a traceback (write only, no problem with creation)
bzr revid: dle@openerp.com-20140428110042-qeaswuwsquy1612h
2014-04-28 13:00:42 +02:00
Anael Closson
9462bec025
[FIX] Restore missing field arch in ir_ui_view search view - opw 607201
...
bzr revid: acl@openerp.com-20140428100319-52oband82ysw3tus
2014-04-28 12:03:19 +02:00
Christophe Simonis
b2fc19045b
[FIX] release.py: correct version number (wrongly forward-ported from saas-4)
...
lp bug: https://launchpad.net/bugs/1278411 fixed
bzr revid: chs@openerp.com-20140428093924-2aq3zomkbxv31iu0
2014-04-28 11:39:24 +02:00
Christophe Simonis
ee613ec6cd
[IMP] remove useless table/column creations in base.sql. Let the ORM do it job.
...
[FIX] force creation of workflow used columns.
bzr revid: chs@openerp.com-20140425162828-e85aut02ua8c53nv
2014-04-25 18:28:28 +02:00
Fabien Meghazi
4b3212c076
[IMP] better exception handling in case of missing asset
...
bzr revid: fme@openerp.com-20140425132804-e0dbsl5t2sod7kv5
2014-04-25 15:28:04 +02:00
Fabien Meghazi
75408134f9
[REM] Removed js and css manifest keys from base
...
bzr revid: fme@openerp.com-20140424165659-qzhryvgp8vmo1ssd
2014-04-24 18:56:59 +02:00
Simon Lejeune
cebd89c148
[FIX] QWeb contact widget: fixed double escaping: only the address part needs to be escaped as it is shown in a t-raw (other parts are shown in t-esc).
...
bzr revid: sle@openerp.com-20140424144329-vj51bt0y269f1pwo
2014-04-24 16:43:29 +02:00
Denis Ledoux
be43d5bdfd
[FIX] http: set back the gen_session_id controller, because still used by openframework.js of web branch
...
Related to revision 5124 revid:al@openerp.com-20140316141311-m0xqh386ax952va1
bzr revid: dle@openerp.com-20140424135507-5130yyy5brpfqd5f
2014-04-24 15:55:07 +02:00
Christophe Simonis
c16780df83
[MERGE] forward port of branch saas-3 up to revid 5120 chs@openerp.com-20140424125338-26k5atvtqwmmfv4e
...
bzr revid: chs@openerp.com-20140424131405-4oannh1102x42m8b
2014-04-24 15:14:05 +02:00
Christophe Simonis
e59aecca94
[MERGE] forward port of branch 7.0 up to revid 5288 mat@openerp.com-20140423150215-578nzug1glccvpwy
...
bzr revid: chs@openerp.com-20140424125338-26k5atvtqwmmfv4e
2014-04-24 14:53:38 +02:00
Stephane Wirtel
2ce61258ad
[FIX] Importing dateutil.relativedelta.relativedelta
...
bzr revid: stw@openerp.com-20140424092828-j8l6j1re9sa94m85
2014-04-24 11:28:28 +02:00
Launchpad Translations on behalf of openerp
5b3fcaa293
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140424060156-3rq751eej5io1y4c
bzr revid: launchpad_translations_on_behalf_of_openerp-20140424060216-3ssubkaumaln393r
2014-04-24 06:02:16 +00:00
Randhir Mayatra rma-openerp
40bbf7b14d
[MERGE] merge with latest trunk
...
bzr revid: rma@tinyerp.com-20140424050500-dpi783nqij6ovg0j
2014-04-24 10:35:00 +05:30
Jitendra Prajapati (OpenERP)
39312207d7
[MERGE]with main branch
...
bzr revid: jpr@tinyerp.com-20140415053250-r784vpfu9x8gnfll
bzr revid: jpr@tinyerp.com-20140424045737-h6pshjslqw8xqyvm
2014-04-24 10:27:37 +05:30
Antony Lesuisse
56d2df71d3
[FIX] ir.ui.view missing time libraries in qweb rendering context
...
bzr revid: al@openerp.com-20140423162827-zw1fjysgkshgamwa
2014-04-23 18:28:27 +02:00
Simon Lejeune
825848ba12
[MERGE] saas-4
...
bzr revid: sle@openerp.com-20140423160802-2kngtsa0zgkkegqx
2014-04-23 18:08:02 +02:00
Martin Trigaux
91bf583b1c
[FIX] amount_to_text: make sure accented string is in unicode
...
bzr revid: mat@openerp.com-20140423150215-578nzug1glccvpwy
2014-04-23 17:02:15 +02:00
Christophe Simonis
156225f9ea
[IMP] do not fail if cannot delete the pidfile. It may have a race-condition when in multi-workers.
...
bzr revid: chs@openerp.com-20140423150117-nyt16snzwvey2vz4
2014-04-23 17:01:17 +02:00
Christophe Simonis
981f683f0f
[FIX] ir.ui.view: when post-validating views of a module, only validate updated views (left out old views that will be deleted at the end of the update)
...
bzr revid: chs@openerp.com-20140423145639-whfipjobbxgfzqvx
2014-04-23 16:56:39 +02:00
Simon Lejeune
e3d7d2d7f5
[FIX] res_company view: improve usability of report configuration by hiding the rml fields without technical features
...
bzr revid: sle@openerp.com-20140423132635-ew4i2yu8xfxa1qls
2014-04-23 15:26:35 +02:00
Martin Trigaux
901bb47235
[MERGE] [IMP] mail sanitizer: do not remove comments in html body when cleaning (and do not remove too many content) (opw 605315)
...
bzr revid: mat@openerp.com-20140423131919-q3vbw12tokglwdsq
2014-04-23 15:19:19 +02:00
Fabien Meghazi
8370d3f60e
[MERGE] upstream
...
bzr revid: fme@openerp.com-20140423123808-q58dtl8a0bb2ymlf
2014-04-23 14:38:08 +02:00
Richard Mathot (OpenERP)
700763f2da
[MERGE][IMP] More explicit error message in res_currency
...
bzr revid: rim@openerp.com-20140423074037-igw9je00rcfgfzia
2014-04-23 09:40:37 +02:00
Richard Mathot (OpenERP)
22df13f4fd
[FIX] res_currency: Removing unnecessary 'browse'
...
bzr revid: rim@openerp.com-20140423073511-kkjkt0a0baxz3466
2014-04-23 09:35:11 +02:00
Denis Ledoux
c6189d91a0
[FIX] base: in partner search view, use operator=child_of instead of filter_domain with a child_of domain
...
operator child_of has the advantage to do exact ID matching for many2one, and not just matching on the name
bzr revid: dle@openerp.com-20140422150736-o2t3eank6yqttlel
2014-04-22 17:07:36 +02:00
Christophe Simonis
618fbde36f
[MERGE] forward port of branch saas-4 up to revid 9365 chs@openerp.com-20140422143249-3cfh18tenn3a5ry1
...
bzr revid: chs@openerp.com-20140422144651-840zze7p5549k88s
bzr revid: chs@openerp.com-20140422144933-0su8g7pgrcloijco
2014-04-22 16:49:33 +02:00
Fabien Meghazi
f4a37244ca
[ADD] query to assets bundle html
...
bzr revid: fme@openerp.com-20140422134613-8652pfbrdso1qoqd
2014-04-22 15:46:13 +02:00
Christophe Simonis
a2b3b47b38
[FIX] cli mode: initialisation of the addons path do not setup the logger (as we only parse the addons path, we ends with the default logging config)
...
bzr revid: chs@openerp.com-20140422123533-b6lcm76ydf8vpw9u
2014-04-22 14:35:33 +02:00
Christophe Simonis
ada7facefe
[FIX] when runing in prefork mode, empty connection pool *after* the registry preloading
...
bzr revid: chs@openerp.com-20140422120648-2np8izn19z97e4iy
2014-04-22 14:06:48 +02:00
Fabien Meghazi
d2f51a75d5
[FIX] asset debug shall bypass cache
...
bzr revid: fme@openerp.com-20140422112732-1p94f77ymusmsan2
2014-04-22 13:27:32 +02:00
Fabien Meghazi
1cde3cb02b
[ADD] debug mode in asset bundle
...
bzr revid: fme@openerp.com-20140422111548-5htr1gfj7x3ioval
2014-04-22 13:15:48 +02:00
Rakesh Sindhav (OpenERP)
65c1b294b2
[MERGE][IMP] res_bank & res_county: missing labels in form views
...
bzr revid: rim@openerp.com-20140422090439-sbljlpntcv10s7da
2014-04-22 11:04:39 +02:00
Martin Trigaux
1db082db9d
[FIX] convert: use _all_columns instead of _columns as it contain fields from inherited models.
...
bzr revid: mat@openerp.com-20140418164552-2mlprexkdlqlui2h
2014-04-18 18:45:52 +02:00
Launchpad Translations on behalf of openerp
2e07433d11
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140418072138-5fv3mmbsqnlcpk4b
bzr revid: launchpad_translations_on_behalf_of_openerp-20140419063447-v94cfwvpby4h6d0v
bzr revid: launchpad_translations_on_behalf_of_openerp-20140420055823-r61ad07jgr3110pw
2014-04-20 05:58:23 +00:00
Christophe Simonis
c3cf8000e6
[FIX] module loading: mark module as initialized *after* the data files have been loaded
...
When the registry is updating, the view verification only validates the views
from initialized modules. Not taking the current module allow update of views
that have also an inherited view in the same module. The verification of the base view
must not try to apply the old inherited view against it as it may not be applicable
anymore.
After module update, we re-validate all the views of this module. This is needed because
a module can declare two (or more) inherited views that are correct when applyed alone,
but not when combined with others.
bzr revid: chs@openerp.com-20140418141550-7b57b1xl4fx0rgqq
2014-04-18 16:15:50 +02:00
Xavier Morel
4c5b1d9484
[FIX] comment: we've already removed @charset movements entirely
...
bzr revid: xmo@openerp.com-20140418133017-1cyq5wkxj4opygww
2014-04-18 15:30:17 +02:00
Xavier Morel
59b8b7ede0
[IMP] preclude unbounded growth by using an LRU cache for asset bundle compressed content
...
bzr revid: xmo@openerp.com-20140418132929-qnyh3zoarjuo9q6a
2014-04-18 15:29:29 +02:00
Xavier Morel
4934579abb
[IMP] No cause to store self.fget.__name__ to its own attribute when it's only used once
...
bzr revid: xmo@openerp.com-20140418130629-30vp1veih7jfmnx7
2014-04-18 15:06:29 +02:00
Xavier Morel
24512edac9
[IMP] don't reimplement lazy_property by hand when we already have one
...
bzr revid: xmo@openerp.com-20140418130603-ekgsfsi1c07y7wuo
2014-04-18 15:06:03 +02:00
Christophe Simonis
66ba3092cf
[FIX] http: correct detection of old (v7) routes that still take "req" as first argument
...
bzr revid: chs@openerp.com-20140418115556-717tlcwejszmi0lb
2014-04-18 13:55:56 +02:00
Bharat R. Devnani (OpenERP)
a684b9a96a
[MERGE] merged with main server branch
...
bzr revid: bde@tinyerp.com-20140418061057-r33mkw0xqmmmk5ff
2014-04-18 11:40:57 +05:30
Christophe Simonis
efbf7632b8
[FIX] some tests need the http daemon to be available
...
bzr revid: chs@openerp.com-20140417170620-48tw5nj3jt43zxgk
2014-04-17 19:06:20 +02:00
Christophe Simonis
2024cc28b2
[FIX] when running in threaded mode with "--stop-after-init", do not spawn httpd and cron thread
...
bzr revid: chs@openerp.com-20140417162801-se9s84dsoh45sq0v
2014-04-17 18:28:01 +02:00
Darshan Kalola
37bf72aca5
[MERGE] [IMP] res_partner: correctly take the 'use parent address'
...
into account in the onchange. Slightly updated the view that was weird with this parameter.
bzr revid: tde@openerp.com-20140417145522-yte3976um2a1t0dr
2014-04-17 16:55:22 +02:00
Xavier Morel
424f03c172
[REV] datetime for source-only WebAsset
...
thinking about it, this is the *inline* data taken directly from the template,
probably makes more sense if it does not change the coalesced asset's
last_modified
bzr revid: xmo@openerp.com-20140417143656-upgj5b0syi10c9ve
2014-04-17 16:36:56 +02:00
Xavier Morel
d9f26840af
[IMP] don't alter call-assets's template_attributes in-place, create fake one for sub-call
...
bzr revid: xmo@openerp.com-20140417143525-0qyqddd1niwsg7ad
2014-04-17 16:35:25 +02:00
Xavier Morel
5b081731cc
[FIX] remove existing sourcemaps in CSS files
...
bzr revid: xmo@openerp.com-20140417142012-mhi8saeofkon5pe5
2014-04-17 16:20:12 +02:00
Xavier Morel
f8964db435
[IMP] @import regex
...
bzr revid: xmo@openerp.com-20140417131249-gbvnq2zb09kzdifv
2014-04-17 15:12:49 +02:00
Xavier Morel
a2889a1cf8
[FIX] @charset in CSS files
...
* there should be *at most* one per file, not 12
* use existing @charset to know file encoding when reading files (before
concatenation)
* remove existing @charset while reading, if any
* werkzeug's default output charset is UTF-8 and CSS algo uses content-type
encoding or assumes UTF-8, so don't put any @charset back in
bzr revid: xmo@openerp.com-20140417125213-8c9z2d7eu900kkyw
2014-04-17 14:52:13 +02:00
Darshan Kalola
7cd07d0c1f
[MERGE] [IMP] ir_ui_view: kanban view: also add action_enabled information
...
about the columns in kanban view. This allows to display the 'create a new column', as well as 'edit' or 'delete'
options on column in kanban view, based on the users' access rights.
bzr revid: tde@openerp.com-20140417114033-39rez93cmcwask69
2014-04-17 13:40:33 +02:00
Darshan Kalola (OpenERP)
19d2466b0f
[MERGE]sync with trunk.
...
bzr revid: dka@tinyerp.com-20140417102052-b84zv8e1m32jo19j
2014-04-17 15:50:52 +05:30
Darshan Kalola (OpenERP)
d75405572f
[IMP]removed use_company_address method, added same feature in single method, to achive this added new parameter 'empty_fields' to empty all address field when use compny address is unchecked.
...
bzr revid: dka@tinyerp.com-20140417101219-gs68pfe64a7l97hc
2014-04-17 15:42:19 +05:30
Christophe Simonis
f1f3e73604
[REL] saas-4
...
bzr revid: chs@openerp.com-20140417083457-xg5kyml7t92chir7
2014-04-17 10:34:57 +02:00
Quentin (OpenERP)
104451bd56
[FIX] fields.date's date_to_datime function fixed
...
bzr revid: qdp-launchpad@openerp.com-20140416154450-ws9w6wzf9s5kmjjj
2014-04-16 17:44:50 +02:00
Launchpad Translations on behalf of openerp
54907b2c48
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140417055523-1cxq9nzdf7w0rr20
2014-04-17 05:55:23 +00:00
Xavier Morel
23eb006772
[IMP] style, default last_modified
...
* replaced type is other by isinstance
* used generators instead of list when applicable
* removed unused methods, useless parameters
* not sure why explicit call to dict() instead of literal, fixed it
bzr revid: xmo@openerp.com-20140416153536-84s01gbnjfu6hysl
2014-04-16 17:35:36 +02:00
Denis Ledoux
42025a6af5
[ADD] osv: add get_formview_action and get_formview_id methods
...
return an action to open the document. This method is meant to be
overridden in addons that want to give specific view ids for example
bzr revid: dle@openerp.com-20140416143431-syqu1ko74xt04oo5
2014-04-16 16:34:31 +02:00
Denis Ledoux
3298051016
[FIX] base: search groups by full name not working with operators 'in' nor with operand boolean
...
bzr revid: dle@openerp.com-20140416112239-vl20z3xzgp61vygu
2014-04-16 13:22:39 +02:00
Kersten Jeremy
73bbf079c7
[MERGE] qweb-m2o-view - Allow to use many2one for qweb template (work also with view_id)
...
bzr revid: jke@openerp.com-20140416085407-krltmt3jhw802a5c
2014-04-16 10:54:07 +02:00
Christophe Simonis
15e151dca7
[IMP] orm: postprocess function field values in batch
...
bzr revid: chs@openerp.com-20140415162321-l8hgeh6s48252zhl
2014-04-15 18:23:21 +02:00
Anael Closson
1528f9273b
[FIX] tools: Comments in e-mail templates are removed before mako/jinja2 processing - opw 605315
...
bzr revid: acl@openerp.com-20140415143736-bcgwgribsv2hsbvo
2014-04-15 16:37:36 +02:00
Christophe Simonis
3d2e9b4d2b
[MERGE] forward port of branch 7.0 up to revid 5281 launchpad_translations_on_behalf_of_openerp-20140412094159-mhy3v2prb3ctx32k
...
bzr revid: jke@openerp.com-20140409153527-mic1a8afcvdhsd27
bzr revid: chs@openerp.com-20140410102422-fcwxhjk40z0oy8x5
bzr revid: chs@openerp.com-20140415133650-y46i0o3qkb2atbvi
2014-04-15 15:36:50 +02:00
Darshan Kalola (OpenERP)
2f9c0ad1af
[MERGE]sync with trunk.
...
bzr revid: dka@tinyerp.com-20140415091644-v0kfy7qiybm2uccl
2014-04-15 14:46:44 +05:30
Quentin (OpenERP)
43b8d2aec1
[IMP] fields.date: added date_to_datetime function
...
bzr revid: qdp-launchpad@openerp.com-20140414153613-geu20zacxnf0swol
2014-04-14 17:36:13 +02:00
Randhir Mayatra rma-openerp
a80d6878a6
[IMP] remove 'action_menu_admin' record, because its not required anymore
...
bzr revid: rma@tinyerp.com-20140414123321-mh0ecde7m7mhjiff
2014-04-14 18:03:21 +05:30
Richard Mathot (OpenERP)
96417099b3
[MERGE] Sync with trunk
...
bzr revid: ypa@tinyerp.com-20140404114223-zalha5tvp2l0ov8f
bzr revid: rim@openerp.com-20140414091137-icatnn1humn7kisc
2014-04-14 11:11:37 +02:00
Raphael Collet
ea167ad7ab
[IMP] test cursor: code cleanup to make it more robust to concurrent accesses
...
bzr revid: rco@openerp.com-20140414075906-2d0i4qhe4x7czsao
2014-04-14 09:59:06 +02:00
Launchpad Translations on behalf of openerp
001a034e58
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140412094159-mhy3v2prb3ctx32k
bzr revid: launchpad_translations_on_behalf_of_openerp-20140412094217-3u3f03f0wjhbzyo4
bzr revid: launchpad_translations_on_behalf_of_openerp-20140413062047-z833pejjrtuhfygs
bzr revid: launchpad_translations_on_behalf_of_openerp-20140414055948-intynzk8l823ukei
2014-04-14 05:59:48 +00:00
Antony Lesuisse
e69b086ecd
[FIX] logging, pg logging use thread db
...
bzr revid: al@openerp.com-20140412134728-vzn9247twgyfbcid
2014-04-12 15:47:28 +02:00
Thibault Delavallée
ac8f4d62a5
[IMP] [FIX] ir_qweb: fixed a call to a parameter considered as being
...
a dict but that could be None; added management of country flag on the
contact widget.
bzr revid: tde@openerp.com-20140411183425-nzhuk6mb80pahvwm
2014-04-11 20:34:25 +02:00
Antony Lesuisse
f0dcf52159
[FIX] instrumentation to debug a deadlock probably due to a race condition in
...
the test cursor
bzr revid: al@openerp.com-20140411143645-ojb4t9plop4dmizh
2014-04-11 16:36:45 +02:00
Thibault Delavallée
2929f2438a
[MERGE] Sync with trunk
...
bzr revid: tde@openerp.com-20140411140929-7w4qo086j991houy
2014-04-11 16:09:29 +02:00
Rakesh Sindhav (OpenERP)
3b00ebebf4
[IMP]base: Need view improvements in some modules
...
bzr revid: rsi@tinyerp.com-20140411131501-rvdrg4v2if1akhsg
2014-04-11 18:45:01 +05:30
Richard Mathot (OpenERP)
1e330fdd9e
[MERGE] Sync with trunk
...
bzr revid: rim@openerp.com-20140401071103-v3290rmesztf6rjl
bzr revid: rim@openerp.com-20140402073433-y5spv10ms9nnmdim
bzr revid: rim@openerp.com-20140404062949-88d0tqhn8mr4ejnz
bzr revid: rim@openerp.com-20140407141506-e54pr3bwtnts6y3g
bzr revid: rim@openerp.com-20140408140530-fy6u3iz2x75xil9c
bzr revid: rim@openerp.com-20140409193801-ckzgmc5zfjlg4irk
bzr revid: rim@openerp.com-20140410120421-md5ts8wxd33mitnl
bzr revid: rim@openerp.com-20140410152240-t54id35dkowbqi56
bzr revid: rim@openerp.com-20140411115553-cbd8pq1yafkv7qcr
2014-04-11 13:55:53 +02:00
Thibault Delavallée
24e5270347
[IMP] ir_qweb: added country flag management in contact widget
...
bzr revid: tde@openerp.com-20140411091621-q0c2ndzv9xpptzqo
2014-04-11 11:16:21 +02:00
chm@openerp.com
9941f49364
[MERGE] from trunk
...
bzr revid: chm@openerp.com-20140411081513-xlptxuxmvs5ysb8s
2014-04-11 10:15:13 +02:00
Martin Trigaux
478cbd7c70
[FIX] read_group: avoid shared context and initialise if none
...
bzr revid: mat@openerp.com-20140411075556-kdxn1lsth45twgmj
2014-04-11 09:55:56 +02:00
Randhir Mayatra rma-openerp
cbc86bb4ee
[MERGE] merge with latest trunk
...
bzr revid: rma@tinyerp.com-20140411061647-m6iupt9567igzs4x
2014-04-11 11:46:47 +05:30
Fabien Meghazi
93073dff94
[FIX] exclude /web/[css|js] in parsing
...
bzr revid: fme@openerp.com-20140410174025-74hmzzalkxux3tvb
2014-04-10 19:40:25 +02:00
Fabien Meghazi
4cc3ed6fab
[MERGE] trunk
...
bzr revid: fme@openerp.com-20140410173630-eq1uh58nba7yptf8
2014-04-10 19:36:30 +02:00
Fabien Meghazi
cc722b62a2
[ADD] cache
...
bzr revid: fme@openerp.com-20140410164744-i7fr4bqax88430ao
2014-04-10 18:47:44 +02:00
Fabien Meghazi
71d1a7f6e3
[ADD] checksum
...
bzr revid: fme@openerp.com-20140410155412-64h843qo6k9vcwbz
2014-04-10 17:54:12 +02:00
Christophe Simonis
979bb51925
[IMP] ir.attachment: add method to force all attachments to use selected storage
...
bzr revid: chs@openerp.com-20140410152039-hyf0yaizw8p4weg0
2014-04-10 17:20:39 +02:00
Fabien Meghazi
b8e9e0e8f4
[ADD] last modified date
...
bzr revid: fme@openerp.com-20140410143224-rb8892vn0yqmr56g
2014-04-10 16:32:24 +02:00
Christophe Simonis
95701c28c0
[FIX] test: HttpCase wait http requests to finish
...
bzr revid: chs@openerp.com-20140410123519-wngil3aghdc6llqc
2014-04-10 14:35:19 +02:00
Gery Debongnie
c6f41caf99
[MERGE] merge from trunk
...
bzr revid: ged@openerp.com-20140409120604-tgc4o9zkkr69sf4q
bzr revid: ged@openerp.com-20140409150557-1wsyuvpw1ly75fhn
bzr revid: ged@openerp.com-20140410133251-k200ui19hjs6jnur
2014-04-10 15:32:51 +02:00
Jitendra Prajapati (OpenERP)
1d54a738d5
[IMP]improve if condition for more menu in module form view
...
bzr revid: jpr@tinyerp.com-20140410120828-23mwiujn165b5afh
2014-04-10 17:38:28 +05:30
Raphael Collet
d67e63150e
[FIX] sql_db: forgotten attribute renaming _pool -> __pool
...
bzr revid: rco@openerp.com-20140410113950-71gcyz0t2rfuww57
2014-04-10 13:39:50 +02:00
Christophe Simonis
15680c94e1
[MERGE] forward port of branch saas-3 up to revid 5115 chs@openerp.com-20140410102422-fcwxhjk40z0oy8x5
...
bzr revid: chs@openerp.com-20140410105454-6utwgruj80h8wdss
2014-04-10 12:54:54 +02:00
Fabien Meghazi
8e878a8e01
[WIP] bundle minify
...
bzr revid: fme@openerp.com-20140410101847-srs54wvf39rjjf2j
2014-04-10 12:18:47 +02:00
Christophe Simonis
52760fd424
[FIX] modules: install_from_urls: restrict to administrators. Urls must come from apps server.
...
[FIX] modules: download() method is now a no-op. This method was in fact already a no-op as the "url" field is never set explicitly in the code.
bzr revid: chs@openerp.com-20140410095817-bkni63g346wneybb
2014-04-10 11:58:17 +02:00
chm@openerp.com
9d187f9915
[IMP] ir_qweb: first tag 't' template of a view is added to qwebcontext.templates with id of ir_ui_view
...
bzr revid: chm@openerp.com-20140410080058-tx59gwh8nsefria3
2014-04-10 10:00:58 +02:00
Fabien Meghazi
c1dc467701
[WIP] AssetsBundle
...
bzr revid: fme@openerp.com-20140409161758-3hye6u21rjmoiio9
2014-04-09 18:17:58 +02:00
Kersten Jeremy
3285feab53
[FIX] Allow missing opcodes, harden check for private attributes (dunder), check inside embedded code objects.
...
bzr revid: jke@openerp.com-20140409151659-xwttchbtbj02v1w7
2014-04-09 17:16:59 +02:00
Raphael Collet
5640f3076a
[MERGE] test_cursor: implement a cursor mockup that never commits to database, and use it for http tests
...
bzr revid: rco@openerp.com-20140409145830-rop8esgic2y435kf
2014-04-09 16:58:30 +02:00
jba
1578776814
[FIX] expression: when evaluatoing *like operator, add cast to text to column in case of different type
...
bzr revid: mat@openerp.com-20140409144346-nbn0dno3bs6ozwk5
2014-04-09 16:43:46 +02:00
Raphael Collet
be0096c4a7
[FIX] registry: stupid typo
...
bzr revid: rco@openerp.com-20140409135225-6ks1kbuchba7u4li
2014-04-09 15:52:25 +02:00
Raphael Collet
980f6fc4b1
[IMP] registry: avoid every direct access registry.db, and rename attribute as registry._db
...
bzr revid: rco@openerp.com-20140409133515-x2ywcm0d2qkdq3hq
2014-04-09 15:35:15 +02:00
Raphael Collet
dda229273d
[IMP] sql_db: simplify TestCursor, given that method execute() does not need overriding
...
bzr revid: rco@openerp.com-20140409130825-rnc9hqh9t16hqcaq
2014-04-09 15:08:25 +02:00
chm@openerp.com
64462173c1
[IMP] ir_qweb, ir_ui_view: can use id insead of xml_id; can render ir.ui.view many2one with widget='qweb' in template
...
bzr revid: chm@openerp.com-20140409124626-ccxnfef7bb7h1gm6
2014-04-09 14:46:26 +02:00
Raphael Collet
fd8fd0906f
[IMP] make TestCursor more robust, and remove some tests on tools.config['test_enable']
...
bzr revid: rco@openerp.com-20140409103337-r0a1nx9h8nfg3cn3
2014-04-09 12:33:37 +02:00
Raphael Collet
e5e00e4c0a
[IMP] registry: now cursor() simply returns a cursor, which may itself be used as a context manager
...
bzr revid: rco@openerp.com-20140409095604-joh9dt0qkma12ykm
2014-04-09 11:56:04 +02:00
Gery Debongnie
2df67ad6c9
[FIX] make sure the read_group method use the correct time interval when grouping with an interval of days (stupid typo) (orm.py)
...
bzr revid: ged@openerp.com-20140409092759-91ruq32vkxh698kh
2014-04-09 11:27:59 +02:00
Darshan Kalola (OpenERP)
6ef7aa5134
[MERGE]sync with trunk.
...
bzr revid: dka@tinyerp.com-20140409084452-w1e499j21i3eli9d
2014-04-09 14:14:52 +05:30
Launchpad Translations on behalf of openerp
c8b88d0f02
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140409061259-ap1np1ygzq8srd4c
2014-04-09 06:12:59 +00:00
Raphael Collet
f0fd48c44a
[IMP] http tests: implement a test cursor that keeps a transaction open accross requests
...
- TestCursor subclasses Cursor, and simulates commit and rollback with savepoints
- the registry manages a test mode, in which it only uses the test cursor
- a reentrant lock forces the serialization of parallel requests
bzr revid: rco@openerp.com-20140408151736-j0guy68i2wjexy3d
2014-04-08 17:17:36 +02:00
Raphael Collet
6bc60505f4
[IMP] registry: add method get_cursor() to simply retrieve a new cursor, and refactor code to use it
...
bzr revid: rco@openerp.com-20140408125122-ki0zmin3m21k2itd
2014-04-08 14:51:22 +02:00
Gery Debongnie
e143250b7a
[IMP] simplifies the readgroup code to select order by (orm.py)
...
bzr revid: ged@openerp.com-20140408122417-y75wp0plyloiamuy
2014-04-08 14:24:17 +02:00
Raphael Collet
b49f536baf
[IMP] tests.common: turn class methods into instance methods (this will ease some future refactoring)
...
bzr revid: rco@openerp.com-20140408114936-jfagg4qvft8bk3ms
2014-04-08 13:49:36 +02:00
Raphael Collet
81b84c62b1
[IMP] registry: switch for a dummy lock only during the execution of http tests
...
bzr revid: rco@openerp.com-20140408094513-ahtwod1q17ijohbg
2014-04-08 11:45:13 +02:00
Gery Debongnie
5d31c979a1
[MERGE] merge from trunk
...
bzr revid: ged@openerp.com-20140408090618-vs4e9c9ckhat9aem
2014-04-08 11:06:18 +02:00
Gery Debongnie
6d234c01bd
[IMP] change the regex matching orders in orm.py to accept field:interval. This simplifies the code in _check_qorder (no need to compute the raw field name)
...
bzr revid: ged@openerp.com-20140408090418-5yjnfp6axumytmrq
2014-04-08 11:04:18 +02:00
Gery Debongnie
568b8c7632
[IMP] add and fix the documentation on some helper methods in read_group. (orm.py)
...
bzr revid: ged@openerp.com-20140408082029-pmdzkbak0zjvs8jw
2014-04-08 10:20:29 +02:00
Thibault Delavallée
26e710fa2a
[FIX] res_partner demo data: fixed email address, using a symbol not valid for
...
an email address.
bzr revid: tde@openerp.com-20140408081648-5au34720s2m4izm6
2014-04-08 10:16:48 +02:00
Fabien Meghazi
cbb5488f97
[ADD] t-call-assets
...
bzr revid: fme@openerp.com-20140408075205-9v8fxg786jj0fj77
2014-04-08 09:52:05 +02:00
Gery Debongnie
6aa003f1ad
[IMP] improves the helper function _read_group_format_result so that it is slightly faster (orm.py)
...
bzr revid: ged@openerp.com-20140408073813-8z23fun5274fvqaa
2014-04-08 09:38:13 +02:00
Christophe Simonis
c1cc370d75
[FIX] ir_actions: add missing comma
...
bzr revid: chs@openerp.com-20140407165455-0zbsl1omgvw9e5ta
2014-04-07 18:54:55 +02:00
Christophe Simonis
0161666e8b
[MERGE] forward port of branch saas-3 up to revid 5112 chs@openerp.com-20140407144238-3s38zadkh7yxpdy7
...
bzr revid: chs@openerp.com-20140407160548-ttuc877kknuycoqw
2014-04-07 18:05:48 +02:00
Christophe Simonis
1e9ed7baf6
[MERGE] forward port of branch 7.0 up to revid 5275 odo@openerp.com-20140407105740-elbz311w5u9e8eos
...
bzr revid: chs@openerp.com-20140407144238-3s38zadkh7yxpdy7
2014-04-07 16:42:38 +02:00
Gery Debongnie
b683b9c614
[IMP] removes useless calls to field_get and replace them by self._all_columns in read_group method (orm.py).
...
bzr revid: ged@openerp.com-20140407133931-hrf9dmdj2fx050ww
2014-04-07 15:39:31 +02:00
Gery Debongnie
82825c4acd
[FIX] add context parameter to various helper methods to avoid stupid crash in read_group (orm.py)
...
bzr revid: ged@openerp.com-20140407130223-pdzge17omntpbh23
2014-04-07 15:02:23 +02:00
Antony Lesuisse
cee85a925a
[FIX] temporary fix for concurrent commit during test until we improve test
...
cursor to emulate multiple cursors
bzr revid: al@openerp.com-20140407125050-c4fq8okuya4jxj0w
2014-04-07 14:50:50 +02:00
Olivier Dony
f042113b6f
[FIX] res.font: re-introduce substitution for builtin PDF fonts
...
This substitution was removed when res.font was implemented
based on the idea that it would be best to allow the use of
the real Helvetica/Times/Courier font if really required.
However the builtin ones are always available and crippled
when it comes to Unicode supports. Combined with the fact
that many RML/SXW reports had Helvetica hardcoded, this
breaks unicode reports for many users.
This patch re-introduces a mapping to replace the builtin
fonts by a few common and free alternatives (DejaVu, Liberation
and Free font families).
When an actual Helvetica/Times/Courier font is installed
no substitution takes place for it, in the hope that it
comes with decent unicode support.
bzr revid: odo@openerp.com-20140407121015-jq1qmg0hfu0dt31s
2014-04-07 14:10:15 +02:00
Olivier Dony
5be9e5612f
[FIX] browse()/browse_record: use iterables instead of forcing lists when constructing browse_lists
...
This allows iterable list_class implementations
bzr revid: odo@openerp.com-20140407105740-elbz311w5u9e8eos
2014-04-07 12:57:40 +02:00
Randhir Mayatra rma-openerp
db0fd7aba9
[MERGE] merge with latest trunk
...
bzr revid: rma@tinyerp.com-20140407100737-oj6r1olz6v1mq2oe
2014-04-07 15:37:37 +05:30
Gery Debongnie
b5dc53fea1
[IMP] adds a test for the new eager/lazy functionality of read_group
...
bzr revid: ged@openerp.com-20140407091028-4ksvnqwvrvwaho58
2014-04-07 11:10:28 +02:00
Christophe Simonis
120342d537
[MERGE] forward port of branch 7.0 up to revid 5274 chs@openerp.com-20140404141611-qi1yagltvkd9q8ji
...
bzr revid: chs@openerp.com-20140404155858-mvupqmuvi8ime2tl
2014-04-04 17:58:58 +02:00