Commit Graph

74775 Commits

Author SHA1 Message Date
Xavier Morel 7d2938394f [FIX] null >= 0 is true...
bzr revid: xmo@openerp.com-20131014155709-9cg4bzof02bhtyts
2013-10-14 17:57:09 +02:00
Martin Trigaux 74cbd7978f [IMP] base_setup: improve custom font selection (requires server revision 4971)
bzr revid: mat@openerp.com-20131014151928-hz364mginrmbck7n
2013-10-14 17:19:28 +02:00
Martin Trigaux 1d59e6f784 [IMP] fonts: improvement of custom font intergration in rml reports
creation of model res.font
preload font list with basic pdf fonts for performances improvements
add 'reload fonts' on view to scan the filesystem
font selection is a simple on2many

bzr revid: mat@openerp.com-20131014151906-racz1lm0arw6ahfk
2013-10-14 17:19:06 +02:00
Martin Trigaux 554093ae86 [IMP] base_setup: better view for fonts
bzr revid: mat@openerp.com-20131014150724-820j9wcduapbzrpz
2013-10-14 17:07:24 +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
Martin Trigaux 3bc24a9f3b [FIX] font: correct action for reloading
bzr revid: mat@openerp.com-20131014145339-p1uz9iwfyf3uhyhr
2013-10-14 16:53:39 +02:00
Christophe Simonis 6322df1889 [FIX] crm: base_partner_merge: be tolerant to unknown model of field in ir.model.fields
bzr revid: chs@openerp.com-20131014141330-h4qk2iqhn5gywrim
2013-10-14 16:13:30 +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
Martin Trigaux bb47a9b3bc [FIX] pos: check constraint on session instead of uid (eg: runbot import demo data with uid=1 but other user_id
bzr revid: mat@openerp.com-20131014121959-fp4gs26xh8cdte1w
2013-10-14 14:19:59 +02:00
Martin Trigaux 59efdc209a [FIX] base_setup: correctly handle new font value
bzr revid: mat@openerp.com-20131014103308-jynnbs2cy0nsehhn
2013-10-14 12:33:08 +02:00
Martin Trigaux 3798b1ed96 [IMP] better labels
bzr revid: mat@openerp.com-20131014101523-bwb4lda2rxbqpb8a
2013-10-14 12:15:23 +02:00
Martin Trigaux b94140f6c9 [IMP] better labels
bzr revid: mat@openerp.com-20131014101503-lfge6qnfioepu22x
2013-10-14 12:15:03 +02:00
Martin Trigaux 4328f8253a [MERGE] sync with trunk
bzr revid: mat@openerp.com-20131014101423-bvb7sr45rt7890aa
2013-10-14 12:14:23 +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
Martin Trigaux 81e03814e8 [IMP] base_setup: adapt fonts to many2one instead of list
bzr revid: mat@openerp.com-20131014094025-05989gbpdghu2rwt
2013-10-14 11:40:25 +02:00
Launchpad Translations on behalf of openerp 566af6033f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131011052941-f4x7ued38x0siu4u
bzr revid: launchpad_translations_on_behalf_of_openerp-20131013053842-x6nja74l8by5vd1q
bzr revid: launchpad_translations_on_behalf_of_openerp-20131014053313-j22u5qen55na9js8
2013-10-14 05:33:13 +00:00
Launchpad Translations on behalf of openerp 436a849b2e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130920060157-qwah3z17ksnrmhzi
bzr revid: launchpad_translations_on_behalf_of_openerp-20130922053500-ovnczb82b49pg6f7
bzr revid: launchpad_translations_on_behalf_of_openerp-20130928055413-78fot6ftst9k7als
bzr revid: launchpad_translations_on_behalf_of_openerp-20131004054531-787wl7i8e8bqy44e
bzr revid: launchpad_translations_on_behalf_of_openerp-20131013053846-rei6ary4wt43kqeq
2013-10-13 05:38:46 +00:00
Antony Lesuisse d2eb959710 [FIX] ensure the use the registry signaling for registries loaded with -d
bzr revid: al@openerp.com-20131013021322-5ej7ovpcrf7ilnn5
2013-10-13 04:13:22 +02:00
niv-openerp fb230b98e7 [IMP] added timeout handling in jsonprpc2 and added more javascript tests about jsonrpc connections and sessions handling
bzr revid: nicolas.vanhoren@openerp.com-20131011141156-po7fh1sc7gp64k9x
2013-10-11 16:11:56 +02:00
Olivier Dony 7cb7405ffd [IMP] orm: _store_get_values: rename variables to make this horror slightly more readable
We keep having to fight variable decay in that function, for some reason.

bzr revid: odo@openerp.com-20131011134501-7b5rflknjm1r9zfd
2013-10-11 15:45:01 +02:00
Olivier Dony 8ac110c4dd [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5098 rev-id: odo@openerp.com-20131011123914-7zuvd9mch21yxgj8
bzr revid: dle@openerp.com-20131009131902-a93nsbou4w8y0vlx
bzr revid: chs@openerp.com-20131009175454-j06y1ngylfbqyrpj
bzr revid: dle@openerp.com-20130918160049-fo88fl7uyhfoofkv
bzr revid: dle@openerp.com-20130924130544-kmkyr0d73cusvdav
bzr revid: odo@openerp.com-20131011134433-nyfjipvlql4xu127
2013-10-11 15:44:33 +02:00
niv-openerp 6475f3225d Removed jsonprpc2 test because it fails in phantomjs
bzr revid: nicolas.vanhoren@openerp.com-20131011133208-gjz0iprk63447qub
2013-10-11 15:32:08 +02:00
niv-openerp 083d3fc91e Added tests about timeouts and implemented it in jsonprpc2
bzr revid: nicolas.vanhoren@openerp.com-20131011133054-0dx3wxqcqbdocnlf
2013-10-11 15:30:54 +02:00
Martin Trigaux 9c14eb963d [MERGE] sync with trunk
bzr revid: mat@openerp.com-20131011124320-3fz6d7evzuh7is51
2013-10-11 14:43:20 +02:00
Olivier Dony 088cb0255d [FIX] registry: restore `elif` changed to `if` in previous commit, for better readability (no effect)
This should have no effect because when the first `if`
is entered a new registry is instantiated with
the default value for base_cache_signaling_sequence
set to 1, preventing entering the next `if` even
without `elif`.

bzr revid: odo@openerp.com-20131011123914-7zuvd9mch21yxgj8
2013-10-11 14:39:14 +02:00
niv-openerp e059b1c5c0 Added test with openerp sessions
bzr revid: nicolas.vanhoren@openerp.com-20131011123416-wsfr0g1pusa0wftp
2013-10-11 14:34:16 +02:00
Christophe Simonis 34d2fd4d02 [FIX] web: request dispatching wraps controller function call to retry request if psycopg raise OperationError and convert IntegrityError into except_orm with translated message.
bzr revid: chs@openerp.com-20131011113450-ktoaxul22p3nql75
2013-10-11 13:34:50 +02:00
Olivier Dony 78579d289b [FIX] registry: avoid discarding registry or cache when the registry is fresh
When the sequence value is 1 it means that either:
 - the registry was just instantiated, so there is no
   reason to reload it immediately, the real checks will
   start at next request
 - the db was just created with new sequences set to 1,
   so there has been no change to reload

In both cases there is no good reason to reload the
registry, and it is actually a performance killer,
especially for cron workers that keep iterating on
the list of databases.

bzr revid: odo@openerp.com-20131011100313-4bud8e9xq2afp9z7
2013-10-11 12:03:13 +02:00
niv-openerp cfcafee87c [IMP] Added some documentation in the framwork.
bzr revid: nicolas.vanhoren@openerp.com-20131011095424-midppkv5czebt1f2
2013-10-11 11:54:24 +02:00
Launchpad Translations on behalf of openerp 5050231a9c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131010044138-9giz2wpfhyq0u3h1
bzr revid: launchpad_translations_on_behalf_of_openerp-20131011044929-d9u1r6i67x2ru3jp
2013-10-11 04:49:29 +00: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
Antony Lesuisse a3fffe3b15 [REM] chorus on multiprocessing cron, it doesnt really helps
bzr revid: al@openerp.com-20131010231628-b81uhmhg14aj85tq
2013-10-11 01:16:28 +02:00
Olivier Dony dafa12d92c [FIX] ir.model: FK constraints for custom m2o fields were never created, creating possible data integrity errors
bzr revid: odo@openerp.com-20131010170718-lwoxkqc1tx7i8vhg
2013-10-10 19:07:18 +02:00
Olivier Dony 62b6c2b74b [MERGE] l10n_fr: update tax templates for 2014 taxes, courtesy of Frederic Clementi (Camptocamp)
summary of VAT rates changes for the 01/01/2014:
Taux normal : 20% replace 19.6%
Taux intermédaire : 10% replace 7%
Taux spécial DOM-TOM : no change (8.5%)
Taux réduit : 5% replace 5.5%
Taux super réduit : no change (2.1%)

see also: http://www.service-public.fr/professionnels-entreprises/actualites/00891.html

bzr revid: odo@openerp.com-20131010114424-atzr3bl9e9diir2g
2013-10-10 13:44:24 +02:00
niv-openerp ffe8490aef Enabled sort in o2m
bzr revid: nicolas.vanhoren@openerp.com-20131010091125-0t1v8wmkrn8bnc5y
2013-10-10 11:11:25 +02:00
Launchpad Translations on behalf of openerp d03569496d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131010052550-62ak1fdjn6kbivh0
2013-10-10 05:25:50 +00:00
Christophe Simonis 273face907 [MERGE] forward port of branch saas-1 up to revid 8791 chs@openerp.com-20131009175454-j06y1ngylfbqyrpj
bzr revid: chs@openerp.com-20131009180337-cxgdt6zzd1z68ga9
2013-10-09 20:03:37 +02:00
Christophe Simonis e701169ac6 [FIX] note: copy default stages as SUPERUSER_ID to avoid access error. Only do it for employees
lp bug: https://launchpad.net/bugs/1156215 fixed

bzr revid: chs@openerp.com-20131009162920-lg56wwmtg8qm1kuf
2013-10-09 18:29:20 +02:00
Frédéric van der Essen 7976d4aa89 [FIX] point_of_sale: fix orderline selection
bzr revid: fva@openerp.com-20131009132944-x8st6n2etzcammig
2013-10-09 15:29:44 +02:00
Christophe Simonis f263e02bc0 [REM] web: /web/report: remove useless check on action data
bzr revid: chs@openerp.com-20131009131658-xjbr16zx3loy45x2
2013-10-09 15:16:58 +02:00
Martin Trigaux 6bd70af1de [IMP] purchase: put back sql request to set exception message and avoid context hack
bzr revid: mat@openerp.com-20131009122714-rqhciu8ozy059pyn
2013-10-09 14:27:14 +02:00
Launchpad Translations on behalf of openerp 2779496635 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131009054822-v57c9imyteomp381
bzr revid: launchpad_translations_on_behalf_of_openerp-20131009054909-1nmq8z3sk3ao5j0m
2013-10-09 05:49:09 +00:00
Christophe Simonis 5af16d6df8 [FIX] account_followup: account_followup_stat_by_partner view must not filter out blocked move lines
bzr revid: chs@openerp.com-20131008172319-1cobvh6i7kmlk1d0
2013-10-08 19:23:19 +02:00
Christophe Simonis a1d7575022 [FIX] account_followup: account_followup_stat_by_partner view have to use bigint id for databases with a lot of partners
bzr revid: chs@openerp.com-20131008170840-ws1hi84z540gzwy6
2013-10-08 19:08:40 +02:00
Christophe Simonis 5fa03ad26c [FIX] account_followup: report `datas` MUST include `ids`
bzr revid: chs@openerp.com-20131008170714-61vyjs9zg35cz1ls
2013-10-08 19:07:14 +02:00
Christophe Simonis 48188c984c [FIX] crm_partner_assign: correct partner view
bzr revid: chs@openerp.com-20131008154137-eipv9lktmookb7bl
2013-10-08 17:41:37 +02:00
Martin Trigaux 78c10afab2 [FIX] account: revert commit 9265, show every invoice line in the list view and do not force domain on it to remove 0 debit/credit lines
bzr revid: mat@openerp.com-20131008152812-j3cll4jrwic1864r
2013-10-08 17:28:12 +02:00
niv-openerp c1e33b4d88 [IMP] project: minor modification in a view, uses a new type of field instead of a button
bzr revid: nicolas.vanhoren@openerp.com-20131008135650-lvhbo0e0stkx3is2
2013-10-08 15:56:50 +02:00
niv-openerp 877d9f1914 [IMP] added new field x2many_counter
bzr revid: nicolas.vanhoren@openerp.com-20131008135238-jylu7il2qadzjf9r
2013-10-08 15:52:38 +02:00
niv-openerp 8b0193a3bc added doc
bzr revid: nicolas.vanhoren@openerp.com-20131008135143-8qjqwi3s23ld0wks
2013-10-08 15:51:43 +02:00