Commit Graph

57369 Commits

Author SHA1 Message Date
Xavier Morel aaff4459c4 [DOC] fixes and cleanups
bzr revid: xmo@openerp.com-20120928065654-jj3ot17dz8vd3wum
2012-09-28 08:56:54 +02:00
Xavier Morel def7e61901 [IMP] reimplement BaseModel.import_data on top of BaseModel.load
adapt tests to assert the corrected behavior of load instead of import_data's broken behavior

bzr revid: xmo@openerp.com-20120927154244-e56ygz2yytullg2l
2012-09-27 17:42:44 +02:00
Xavier Morel 87af7a6365 [FIX] replace warnings capture by explicitly returning a list of warnings from converters
makes converter code noisier, but ultimately simpler without having access to dynamically scoped variables

bzr revid: xmo@openerp.com-20120927144341-j1dx3e0epf3i5ja6
2012-09-27 16:43:41 +02:00
Xavier Morel f39730e918 [FIX] make conversion errors for floats and integers more predictable
Python turns out to have changed the wording of the messages between 2.6 and 2.7

also, these messages need to be translatable *and* use the human-readable field name

bzr revid: xmo@openerp.com-20120927103452-cvgv3e8dsvcvnics
2012-09-27 12:34:52 +02:00
Xavier Morel 9d175bdfd6 [FIX] postgres 9.2 added data at the end of 23502's error message, only use prefix matches not fullstring
bzr revid: xmo@openerp.com-20120927095038-m2vm663nqj1s1pne
2012-09-27 11:50:38 +02:00
Xavier Morel 9a721eba32 [ADD] forgotten test file
bzr revid: xmo@openerp.com-20121010153849-h91mv2dzjk6i0n55
2012-10-10 17:38:49 +02:00
Xavier Morel e61dc50934 [IMP] convert empty import fields to False values without going through converters
simplifies the converter methods by avoiding redundant emptiness checks

bzr revid: xmo@openerp.com-20120925155915-82p2s6stpww37p5n
2012-09-25 17:59:15 +02:00
Xavier Morel d5c69fa87e [FIX] use lists instead of iterators in BaseModel._extract_records
* although it does use an explicit external index, it turns out the
  code is less complex

* the rewrapping of (many) iterators on top of one another ended up
  blowing Python's stack during ``next`` calls, which Python does
  *not* like

* added a 900-ish import test file to check for these things

bzr revid: xmo@openerp.com-20120925135955-oielhopegnefyctm
2012-09-25 15:59:55 +02:00
Xavier Morel 359b4a44aa [ADD] ability to convert postgres error messages to human-readable ones
also convert 'violates not-null constraint' to something about fields being required

bzr revid: xmo@openerp.com-20120925100232-bfmxcxda65cki5kv
2012-09-25 12:02:32 +02:00
Xavier Morel e6c8f1739a [ADD] 'more info' action to m2o, o2m and m2m linking failures
bzr revid: xmo@openerp.com-20120925074256-18puerjbfo3om265
2012-09-25 09:42:56 +02:00
Xavier Morel 9f2e7ba7ef [IMP] return a dict from Model.load for easier future extensibility (if needed) rather than a tuple.
also easier/cleaner to unpack on the JS side

bzr revid: xmo@openerp.com-20120924151502-4robe639ctpuvb94
2012-09-24 17:15:02 +02:00
Xavier Morel f143902d1a [IMP] allow converters to add data to import messages, formalize message keys
bzr revid: xmo@openerp.com-20120924150417-c2y7g7vdsfz66363
2012-09-24 17:04:17 +02:00
Xavier Morel a9c2cfcdb9 [IMP] make help attribute available on all actions
bzr revid: xmo@openerp.com-20120924145750-n0gj4bww1d83h3fy
2012-09-24 16:57:50 +02:00
Xavier Morel 877e21ffde [IMP] return fields_get-style translated field strings (if available) in user-readable warning and error messages from import, rather than logical field names
bzr revid: xmo@openerp.com-20120924105230-1b7157xbruy2e5zr
2012-09-24 12:52:30 +02:00
Xavier Morel 449a86a51f [IMP] cache boolean and selection translations for the request (cursor) to avoid fetching them over and over again
bzr revid: xmo@openerp.com-20120924103257-1jgc3qhddzzi5c17
2012-09-24 12:32:57 +02:00
Xavier Morel b4421c8fba [ADD] cache dict on the cursor, for request-local repeated reads
bzr revid: xmo@openerp.com-20120924101404-cel6oy1akabbo7id
2012-09-24 12:14:04 +02:00
Xavier Morel a9bc82c46d [IMP] translation tests, translated acceptable values for boolean fields
bzr revid: xmo@openerp.com-20120920150443-l9lna4bnkta7n2o8
2012-09-20 17:04:43 +02:00
Xavier Morel fdba99aaeb [ADD] inline o2m LINK_TO (m2m-style)
bzr revid: xmo@openerp.com-20120920110914-hy2rtivhn9cs5wuc
2012-09-20 13:09:14 +02:00
Xavier Morel 8e841cd8f7 [FIX] non-linking o2m tests, corresponding code
bzr revid: xmo@openerp.com-20120920105612-03ifizt2iv08tdhz
2012-09-20 12:56:12 +02:00
Xavier Morel c9e0cfd64a [ADD] force linking to existing o2m being updated
bzr revid: xmo@openerp.com-20120920102545-30tkodb4s1dng5hp
2012-09-20 12:25:45 +02:00
Xavier Morel 9805c665c8 [ADD] big bit on new import: pretty much everything but o2m
bzr revid: xmo@openerp.com-20120919114047-w4paoim95oxr91zb
2012-09-19 13:40:47 +02:00
Launchpad Translations on behalf of openerp b5c89ad4f4 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120911045031-7ucabtp4ssq4n5bk
2012-09-11 04:50:31 +00:00
Fabien Pinckaers 1e3121482e fix
bzr revid: fp@tinyerp.com-20120910221008-ri59mrpp269c6ia0
2012-09-11 00:10:08 +02:00
Fabien Pinckaers 56cef852f7 [IMP] demo data applicants
bzr revid: fp@tinyerp.com-20120910220726-luv89p96xhuwi6e4
2012-09-11 00:07:26 +02:00
Fabien Pinckaers 0babae291c [IMP] colors in survey
bzr revid: fp@tinyerp.com-20120910215841-upatvq46bx1b6k91
2012-09-10 23:58:41 +02:00
Fabien Pinckaers 05b2b751d1 [IMP] Survey forms
bzr revid: fp@tinyerp.com-20120910215516-8pbknwyk0ifeoku9
2012-09-10 23:55:16 +02:00
Fabien Pinckaers d541c9aa9c [IMP] survey layouts
bzr revid: fp@openerp.com-20120910203812-9um0kgso8598t6jr
2012-09-10 22:38:12 +02:00
Fabien Pinckaers f711f7d9a6 [MERGE] muti-currency group
bzr revid: fp@openerp.com-20120910201408-paf7q0cj22i72k2n
2012-09-10 22:14:08 +02:00
Antonin Bourguignon 1b43b73b23 [MERGE] trunk-bug-1024626-amp, portal url (char does not need size anymore)
lp bug: https://launchpad.net/bugs/1024626 fixed

bzr revid: abo@openerp.com-20120910172652-0u9xkwk060pyplyp
2012-09-10 19:26:52 +02:00
Antonin Bourguignon ccf173da48 [MERGE] trunk-bug-1041129-mdi, product list view missing column for group by
lp bug: https://launchpad.net/bugs/1041129 fixed

bzr revid: abo@openerp.com-20120910170607-j7oywwya1d7bigd8
2012-09-10 19:06:07 +02:00
Antonin Bourguignon 9444872152 [MERGE] trunk-bug-988165-amp, hr departement copy
lp bug: https://launchpad.net/bugs/988165 fixed

bzr revid: abo@openerp.com-20120910170202-tf7qrdusu86dbs1m
2012-09-10 19:02:02 +02:00
Antonin Bourguignon 4cae1aef39 [MERGE] trunk
bzr revid: abo@openerp.com-20120910163501-sro6hn6xvz4h244l
2012-09-10 18:35:01 +02:00
Olivier Dony 0bc4af2339 [MERGE] Simplified report footer configuration per company (addons part, main work was in corresponding server branch)
bzr revid: odo@openerp.com-20120910152113-b2tiw8d9gc19dr17
2012-09-10 17:21:13 +02:00
Olivier Dony d2d5d5261f [MERGE] Simplified report footer configuration per company - comes with corresponding addons branch
bzr revid: odo@openerp.com-20120910151812-yb13t3pykirbrx7c
2012-09-10 17:18:12 +02:00
Olivier Dony e958bdca80 [IMP] res.company: add tooltip for footer field + hide `auto` button in read-only mode
bzr revid: odo@openerp.com-20120910150710-rqflowp3leu3lvn1
2012-09-10 17:07:10 +02:00
Olivier Dony 8fbd74d937 [IMP] res.company: waste slightly less vertical space between bottom `horizontal rule` and footer content
bzr revid: odo@openerp.com-20120910144232-61kywu125umwk7al
2012-09-10 16:42:32 +02:00
Olivier Dony 0b892476bc [FIX] res.company: make write() override support cases where ids is a single id (the usual dumb boilerplate code)
bzr revid: odo@openerp.com-20120910143528-g8dbt0l2rg2oq9sm
2012-09-10 16:35:28 +02:00
Olivier Dony 6408d275c2 [IMP] res.company: support true multiline report footer using RML <place> and <para>
bzr revid: odo@openerp.com-20120910141729-22sk7ca5himljqni
2012-09-10 16:17:29 +02:00
niv-openerp 8126882b0e [IMP] added arguments to widget html
bzr revid: nicolas.vanhoren@openerp.com-20120910135747-azld1lovg6d7w23c
2012-09-10 15:57:47 +02:00
niv-openerp 1c0dd3b016 [IMP] added arguments to widget html usage
bzr revid: nicolas.vanhoren@openerp.com-20120910135708-6wq2v7iet7i11624
2012-09-10 15:57:08 +02:00
Raphael Collet 111bcbb892 [IMP] res_company: compute footer in create/write (because it calls name_get on bank accounts)
bzr revid: rco@openerp.com-20120910134533-xeqor09qld1rzqnx
2012-09-10 15:45:33 +02:00
Raphael Collet e70aac8daf [MERGE] from trunk
bzr revid: rco@openerp.com-20120910125616-9j8nj0spxr2wt83l
2012-09-10 14:56:16 +02:00
Raphael Collet 2f52c3a779 [MERGE] from trunk
bzr revid: rco@openerp.com-20120910125541-cnmz69n79ucviqe2
2012-09-10 14:55:41 +02:00
Stephane Wirtel 6cb667465f [MERGE] account & sale_margin: fix somes bugs in the due date, check_total
bzr revid: stw@openerp.com-20120910122158-cdpjuw0kq2s0dmsi
2012-09-10 14:21:58 +02:00
niv-openerp e6f9223dc5 removed tags
bzr revid: nicolas.vanhoren@openerp.com-20120910121046-kw91yopxo3ot0bf2
2012-09-10 14:10:46 +02:00
Fabien Meghazi 6e20fde92b [IMP] Improve the previous improvement
bzr revid: fme@openerp.com-20120910115712-hdfs29wi8use3659
2012-09-10 13:57:12 +02:00
Fabien Meghazi c55f59d066 [IMP] Improved kanban dropdown styling
bzr revid: fme@openerp.com-20120910115620-o05fm0nw743ax1vt
2012-09-10 13:56:20 +02:00
Fabien Meghazi 9c8b665335 [FIX] Fixed dashboard layout selector styling
bzr revid: fme@openerp.com-20120910115138-wy8w2exdi18jb489
2012-09-10 13:51:38 +02:00
Xavier Morel 4c85504097 [IMP] better fixup to font mime types
bzr revid: xmo@openerp.com-20120910114846-tkfvhoxbbqtn842g
2012-09-10 13:48:46 +02:00
Xavier Morel a933c17e54 [FIX] integrate web tests into buildbot runner, fix broken tests
* Remove deprecated tests and dead code
* Fix usage of mock
* Moar fixes

bzr revid: xmo@openerp.com-20120910105129-rxh3jqwkewh65rl3
2012-09-10 12:51:29 +02:00