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
Christophe Simonis
53d8055cd8
[FIX] res.partner: name_search: respect unaccent flag
...
bzr revid: chs@openerp.com-20140404141611-qi1yagltvkd9q8ji
2014-04-04 16:16:11 +02:00
Olivier Dony
27be515eab
[FIX] res.partner: missing index on `parent_id` column
...
bzr revid: odo@openerp.com-20140403143717-dy2bszaevsyivryo
2014-04-03 16:37:17 +02:00
Olivier Dony
a6ed98c4c4
[FIX] res_partner: missing index on `display_name`
...
bzr revid: odo@openerp.com-20140402091804-v5g7g8ys4zv562uk
2014-04-02 11:18:04 +02:00
Thibault Delavallée
bff00ec6df
[FIX] res_partner: avoid duplicating users when duplicating partners, because
...
I think your database wil hate you.
bzr revid: tde@openerp.com-20140224121004-lgy2rsszsomy7mji
2014-02-24 13:10:04 +01:00
Olivier Dony
6a8ce77426
[FIX] res.partner: prevent `show_email` context option from polluting display_name
...
bzr revid: odo@openerp.com-20140212080331-diit15a9sz7do4cu
2014-02-12 09:03:31 +01:00
Olivier Dony
171408280c
[FIX] res.partner: properly (re)compute display_name and commercial_partner_id on inactive partners
...
bzr revid: odo@openerp.com-20140130192848-orv1glg2j26wdpml
2014-01-30 20:28:48 +01:00
Olivier Dony
7e6be99a63
[IMP] res.partner: more selective child_of _search() hack
...
Makes the conditions for disabling the `active` test
on res.partner.search() more selective, to avoid
triggering it when we are not actually searching for
the children of specific parents.
(Broke base tests now that data includes an deactivated
partner)
bzr revid: odo@openerp.com-20140130162419-09tit4cyef570aze
2014-01-30 17:24:19 +01:00
Fabien Meghazi
53098c666c
[MERGE] trunk's CORS support (merge with changes)
...
bzr revid: chs@openerp.com-20140130120448-tj9pu30o7dj74zid
bzr revid: fme@openerp.com-20140130125425-j1yn6p4lr7lincr3
2014-01-30 13:54:25 +01:00
Olivier Dony
4b746826b2
[IMP] res.partner: unused imports
...
bzr revid: odo@openerp.com-20140130093012-ytrx2i2xoc23npfg
2014-01-30 10:30:12 +01:00
Christophe Simonis
a69f789b41
[MERGE] forward port of branch 7.0 up to revid 5224 chs@openerp.com-20140206105141-7e8bv8ordqqsswh7
...
bzr revid: dle@openerp.com-20140205105045-j95kduyjiq83e57z
bzr revid: dle@openerp.com-20140114173613-ruxye1m7fxtcjfim
bzr revid: dle@openerp.com-20140116161158-u95vcs3os4tk2zob
bzr revid: dle@openerp.com-20140121172737-gzawfi3ssg7xifef
bzr revid: chs@openerp.com-20140129094554-c3abc8x3qz9mpszr
bzr revid: chs@openerp.com-20140129140159-9vwkpr078shoonum
bzr revid: chs@openerp.com-20140206110220-myn57cryam1y4k9v
2014-02-06 12:02:20 +01:00
Martin Trigaux
e6ee1947f8
[FIX] better test, add missing parentheses in query, return empty list in case of no idea (instead of triggering super)
...
bzr revid: mat@openerp.com-20140129123404-8hs786n64briqyta
2014-01-29 13:34:04 +01:00
Martin Trigaux
f71a381b81
[ref] move up!
...
bzr revid: mat@openerp.com-20140129114102-tk4fotnb28mtaz9x
2014-01-29 12:41:02 +01:00
Martin Trigaux
5d38e40e6b
[FIX] revert previous rev for better where and add test
...
bzr revid: mat@openerp.com-20140129113938-517gqfi1kzcf64fz
2014-01-29 12:39:38 +01:00
Martin Trigaux
7dedf4ec45
[IMP] remove useless variable, where_clause at least '' as created from a str.join()
...
bzr revid: mat@openerp.com-20140129111959-7y9su01ooneu0mco
2014-01-29 12:19:59 +01:00
Martin Trigaux
05ec12692f
[FIX] res_partner: name_search search in one pass
...
The original query did two passes (SQL query and orm search). This was a problem due to the limit parameter where the second query could reduce the number of results to a smaller number than the asked limit.
This code reproduces the orm _search behaviour to execute only one SQL query mixing both the ACL clauses and the complexe name_search without degrading the performances (removing the limit in the first query would have).
lp bug: https://launchpad.net/bugs/1203727 fixed
bzr revid: mat@openerp.com-20140129105548-dd6zmy9uc2cuowpq
2014-01-29 11:55:48 +01:00
Thibault Delavallée
54933118a4
[MERGE] Sync with trunk until revision 4957.
...
bzr revid: tde@openerp.com-20131002133820-8xomdumexexqp3pk
2013-10-02 15:38:20 +02:00
Fabien Pinckaers
4b5d3e4a40
[IMP] priority on views
...
bzr revid: fp@openerp.com-20130929085000-p2pcmkdubqw1lfbj
2013-09-29 10:50:00 +02:00
Fabien Pinckaers
1db512092f
[IMP] events
...
bzr revid: fp@openerp.com-20130928164336-6exrohfc2ek4d2y5
2013-09-28 18:43:36 +02:00
Christophe Simonis
4327e09a55
[MERGE] forward port of branch saas-1 up to revid 4903 dle@openerp.com-20130909170248-a4t5y6qd5ikkhhac
...
bzr revid: chs@openerp.com-20130910121230-xcr2yj6rpbo83wy0
2013-09-10 14:12:30 +02:00
Christophe Simonis
e13ffe7e11
[MERGE] forward port of branch 7.0 up to revid 5075 chs@openerp.com-20130912141018-qmcyase8zqov9d01
...
bzr revid: chs@openerp.com-20130906165207-1oklc8cqs0rex3kg
bzr revid: dle@openerp.com-20130909170248-a4t5y6qd5ikkhhac
bzr revid: dle@openerp.com-20130911083736-6jfkb140jxbbx7j6
bzr revid: chs@openerp.com-20130912150616-v0c383trj7gaa7eu
2013-09-12 17:06:16 +02:00
Martin Trigaux
744c48819d
[MERGE] res.users: synchronise partner's company with the one of the user
...
bzr revid: mat@openerp.com-20130909135835-ifvra8l05soptwwt
2013-09-09 15:58:35 +02:00
Olivier Dony
95b7d5bcaf
[FIX] res.partner: current name_search() implementation tends to skip a few valid results during early autocompletion - mitigation attempt
...
The main reason for the semi-random behavior
observed during auto-completion is the
missing ORDER BY clause in the pre-filtering
SQL query.
The ORDER BY clause is expensive but inevitable
if we want to apply a correct LIMIT, otherwise
we would return random `limit` results among
all the possible matches.
The current SQL query seems convoluted due
to the duplicated CASE clause but it
performs slightly better than the equivalent
CTE-based (WITH...) query, so it was preferred.
There is still a chance of returning too
few results due to double limit application,
as further discussed in bug 1203727
lp bug: https://launchpad.net/bugs/1203727 fixed
bzr revid: odo@openerp.com-20130905170251-x47w1zrm43d0k9wb
2013-09-05 19:02:51 +02:00
Denis Ledoux
055c4b94f2
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5059 rev-id: dle@openerp.com-20130828125209-5jqwjqhrl17x7kpa
...
bzr revid: dle@openerp.com-20130828135425-yuls3wav79znadt3
2013-08-28 15:54:25 +02:00
Christophe Simonis
208b697239
[MERGE] forward port of branch saas-1 up to revid 4899 chs@openerp.com-20130821094758-1ae0d1ml5obufzxv
...
bzr revid: odo@openerp.com-20130820160346-qcdy4kavgm5cb9t6
bzr revid: chs@openerp.com-20130821103139-zqqbrt8dq6iixrny
2013-08-21 12:31:39 +02:00
Olivier Dony
e56a0c565f
[MERGE] (Manual) Foward-port of addons 7.0 bugfix revid:odo@openerp.com-20130813082247-fz1cv55l82j9uo3l
...
res.partner: avoid including the address in the computed display name
bzr revid: odo@openerp.com-20130820152025-3yt7gtnaeztdt1nh
2013-08-20 17:20:25 +02:00
Holger Brunn
89851d6108
[IMP] improve readability
...
bzr revid: hbrunn@therp.nl-20130808181806-mdsrcltl8r526sr6
2013-08-08 20:18:06 +02:00
Holger Brunn
9af99b6000
[FIX] only descend to children when necessary
...
lp bug: https://launchpad.net/bugs/1210186 fixed
bzr revid: hbrunn@therp.nl-20130808161339-7y5dtwacb1ed7fcp
2013-08-08 18:13:39 +02:00
Rifakat
3ba9415e80
[IMP] removed unused user pool
...
bzr revid: rha@tinyerp.com-20130801063502-g2u9l8ave9sd7kim
2013-08-01 12:05:02 +05:30
Rifakat
acd76079ba
[FIX] fix demo data problem, now able to assign company to existing partner which does not have
...
any company. Did small variable name change
bzr revid: rha@tinyerp.com-20130801062706-imbu9ac2nimbd28f
2013-08-01 11:57:06 +05:30
Christophe Simonis
a61e7cb0c8
[MERGE] forward port of branch saas-1 up to revid 4887 chs@openerp.com-20130612153934-qyp6pb3bc4za4taf
...
bzr revid: chs@openerp.com-20130613172414-dln3g4j0ykcwaa02
bzr revid: chs@openerp.com-20130613173900-xl7rh321nnw2b04b
2013-06-13 19:39:00 +02:00
Christophe Simonis
a7bbb40404
[IMP] res.partner: name_search() search on `display_name` field directly
...
bzr revid: chs@openerp.com-20130612153749-gts0pa3ys5z06okg
2013-06-12 17:37:49 +02:00
Christophe Simonis
6f170ec732
[MERGE] forward port of branch 7.0 up to revid 5006 chs@openerp.com-20130612151912-m19okjsdkjo12qnt
...
bzr revid: chs@openerp.com-20130612152826-j9sj42ten9mic8s0
2013-06-12 17:28:26 +02:00
Olivier Dony
8722e2a01e
[FIX] res.partner: name_search() should match complete contact names in the format returned by name_get()
...
This was missed during the change of the name_get()
format at revision 4923.1.12
revid:odo@openerp.com-20130416093121-t5soophs2aui8rzq
lp bug: https://launchpad.net/bugs/1188300 fixed
bzr revid: odo@openerp.com-20130612095300-pcr3ly5g7bv656i1
2013-06-12 11:53:00 +02:00
Jigar Amin (OpenERP)
7dafd9d58e
[IMP] res.partner must only allow to set the company_id of a partner if it is the same as the company of all users that inherit from this partner
...
bzr revid: jam@tinyerp.com-20130611055803-or29rx40278bqttt
2013-06-11 11:28:03 +05:30
Jigar Amin (OpenERP)
d334814bf5
[merge] lp:openobject-server/7.0
...
bzr revid: jam@tinyerp.com-20130611051458-r4bg46apl7j6kfrf
2013-06-11 10:44:58 +05:30
niv-openerp
a94bbf8e5e
[FIX] Merge fix in saas1 for the problem that made the server crash when install a db
...
bzr revid: nicolas.vanhoren@openerp.com-20130610144915-0nj8vpk7n84ocj3f
bzr revid: nicolas.vanhoren@openerp.com-20130610150657-3xddn91gm0iq0ubp
bzr revid: nicolas.vanhoren@openerp.com-20130610154514-oee6s4f9g17bx63z
2013-06-10 17:45:14 +02:00
Christophe Matthieu
de9777bf56
[IMP] Improve typos in warning (Grammar mistake, Capitalize title, Typos)
...
bzr revid: chm@openerp.com-20130607090251-2ym7dx73jdigq93w
2013-06-07 11:02:51 +02:00
Vo Minh Thu
048b365aff
[FIX] renamed Partner Catgories to Partner Tags.
...
bzr revid: vmt@openerp.com-20130604124003-bpga8k6lq4s7qlvp
2013-06-04 14:40:03 +02:00
Vo Minh Thu
6d80cebc3d
[MERGE] improved typos.
...
bzr revid: vmt@openerp.com-20130603134442-zeqchsvtb9bukben
2013-06-03 15:44:42 +02:00
Vo Minh Thu
de673a99a9
[MERGE] res.partner: ondelete=restrict on the state and country many2one.
...
bzr revid: vmt@openerp.com-20130603133555-2oz1bxotnkdh7tu4
2013-06-03 15:35:55 +02:00
Amit Bhavsar (Open ERP)
fac4be54cc
[MERGE] merge with latest trunk
...
bzr revid: bde@tinyerp.com-20130522062609-f54wu6sxrx073mmi
bzr revid: amb@tinyerp.com-20130528055348-femt39yydzg5573i
2013-05-28 11:23:48 +05:30
Thibault Delavallée
1d5068b63e
[FORWARD] Forward port of server 7.0 until revision 4988
...
bzr revid: tde@openerp.com-20130528102733-bsszxp6nvy8yws3t
2013-05-28 12:27:33 +02:00
Cedric Snauwaert
3892a9fee4
[REF]res_partner: compact code to get tz info
...
bzr revid: csn@openerp.com-20130515101027-4nc06nr2u41jh1wr
2013-05-15 12:10:27 +02:00
Cedric Snauwaert
1e03e6df78
[FIX]res_partner: change fields selection of tz so that timezone starting with Etc/ are at the end of the selection, that way it's less confusing for the users.
...
bzr revid: csn@openerp.com-20130514113100-h2oihowcplaba10j
2013-05-14 13:31:00 +02:00
Jigar Amin (OpenERP)
6d4215c9bf
- Allow setting the company_id of the partner to False in order to make the partner shared between all companies.
...
bzr revid: jam@tinyerp.com-20130513060734-niodo4rzs0m1v073
2013-05-13 11:37:34 +05:30
Dharmraj Zala (OpenERP Trainee)
7542d8885d
[FIX] set ondelete restrict on state and country.
...
bzr revid: nco@tinyerp.com-20130509113615-u2xedxu5ihn9lqh9
2013-05-09 17:06:15 +05:30
ggh-openerp
dd7614e716
[IMP] Remove space before Exclamation marks [!] in Warning
...
bzr revid: ggh@tinyerp.com-20130429072938-knas9ymmny5o2z0v
2013-04-29 12:59:38 +05:30
Olivier Dony
ffebb64472
[MERGE] Forward-port of 7.0 fixes up to rev. 4961
...
rev-id odo@openerp.com-20130425171238-dhgpqbi9nio12vxk
bzr revid: odo@openerp.com-20130424131936-5eb7omkz51arnm81
bzr revid: odo@openerp.com-20130425171444-ycu89d2393f8nnxm
2013-04-25 19:14:44 +02:00
Olivier Dony
20020a7647
[FIX] res.partner: typo would prevent contact from using company address correctly if flag changed without changing/setting company + updated tests to cover this
...
bzr revid: odo@openerp.com-20130425171238-dhgpqbi9nio12vxk
2013-04-25 19:12:38 +02:00