Commit Graph

35199 Commits

Author SHA1 Message Date
Xavier Morel 0166aeabff [ADD] bunch of tests
bzr revid: xmo@openerp.com-20110920122820-5ql07msi0zjljhxn
2011-09-20 14:28:20 +02:00
Xavier Morel 134437d3d1 [IMP] memoize template, add hacky form-repositioning method
bzr revid: xmo@openerp.com-20110920112147-we4sqnc3we1v38lv
2011-09-20 13:21:47 +02:00
Xavier Morel f896a2571e [MERGE] trunk improvements
bzr revid: xmo@openerp.com-20110920101957-zl6tiuf49rzc0l2v
2011-09-20 12:19:57 +02:00
Xavier Morel 4334ba4b8b [FIX] if no view_id is provided to the form view, default to 'false'
Otherwise this.view_id === undefined, and keys with value 'undefined' are skipped during JSON serialization

bzr revid: xmo@openerp.com-20110920100823-8osz0ly3eu7vzyba
2011-09-20 12:08:23 +02:00
Xavier Morel 0ad6c7ea78 [ADD] guide for developing client actions
bzr revid: xmo@openerp.com-20110920095657-9rk9ktekn1uuf36d
2011-09-20 11:56:57 +02:00
Stephane Wirtel 26289189f5 [FIX] sale: Typo
bzr revid: stw@openerp.com-20110920081315-00myb34ym7a44emk
2011-09-20 10:13:15 +02:00
Vo Minh Thu 8a83f57888 [MERGE] orm: properly handle multi-level _inherits.
lp bug: https://launchpad.net/bugs/823691 fixed

bzr revid: vmt@openerp.com-20110920075401-50z6crlhj7a8sv1g
2011-09-20 09:54:01 +02:00
Launchpad Translations on behalf of openerp f2f072e2e3 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110920045422-tf45352ppyvbyf3h
2011-09-20 04:54:22 +00:00
Olivier Dony b644175924 [MERGE] rename hr_payroll_l10n_be -> l10n_be_hr_payroll + cleanup
bzr revid: odo@openerp.com-20110919235514-kkroiulcemrbfe03
2011-09-20 01:55:14 +02:00
Olivier Dony 54078c6394 [MERGE] trml2pdf: don't reassign a reused node.text value (additional fix)
lp bug: https://launchpad.net/bugs/640677 fixed

bzr revid: odo@openerp.com-20110919233407-gdna8j4gll0lm4um
2011-09-20 01:34:07 +02:00
Olivier Dony d66e4e6013 [MERGE] zipped module import wizard improvements, courtesy of Boris Timokhin
bzr revid: odo@openerp.com-20110919230538-mffhxr4e5y2jihk7
2011-09-20 01:05:38 +02:00
Olivier Dony 64d6989794 [MERGE] diagram view: properly handle non-ASCII arrow labels
lp bug: https://launchpad.net/bugs/727263 fixed

bzr revid: odo@openerp.com-20110919224850-ttok95g3eku7psqe
2011-09-20 00:48:50 +02:00
Olivier Dony 73f7441a52 [MERGE] set `pg_path` config parameter during windows install
bzr revid: odo@openerp.com-20110919213547-u7z9e3qgr9oo56fj
2011-09-19 23:35:47 +02:00
Olivier Dony 33b913fb56 [MERGE] allow overwriting existing terms when importing stand-alone translations
bzr revid: odo@openerp.com-20110919211310-zcndav9xmqm0c5df
2011-09-19 23:13:10 +02:00
Antony Lesuisse d4c8370d92 [MERGE] res_users rename companies tab into allowed companies
lp bug: https://launchpad.net/bugs/714471 fixed

bzr revid: al@openerp.com-20110919211048-riv3mdkowtnrn96a
2011-09-19 23:10:48 +02:00
Olivier Dony 6b1c79aa74 [IMP] ir.actions.client: missing access rights
bzr revid: odo@openerp.com-20110919210121-rypsejhd3h1uzcwm
2011-09-19 23:01:21 +02:00
Olivier Dony c6370622e5 [FIX] orm: quote column names in queries to respect case and be consistent
Quoting column names make the case-sensitive in PostgreSQL,
and this is the default strategy we are using so far. It is
important to be consistent there.
We might want to do the same to table names too.
This allows create fields with mixed cases names for example.

bzr revid: odo@openerp.com-20110919201845-heer0rttcouvtc9x
2011-09-19 22:18:45 +02:00
Olivier Dony f8534688a2 [MERGE] missing res.currency.rate.type access rights
bzr revid: odo@openerp.com-20110919173918-e6gmwwm6l5wyzzkx
2011-09-19 19:39:18 +02:00
Olivier Dony 705f238f08 [MERGE] missing res.currency.rate.type access rights
bzr revid: odo@openerp.com-20110919173606-1izhy7i9dt25lm45
2011-09-19 19:36:06 +02:00
Olivier Dony 4517dbb852 [MERGE] refactoring: view inheritance query moved to ir.ui.view, courtesy of Sebastien Beau (Akretion)
bzr revid: odo@openerp.com-20110919152434-uohc9mqr4n0b1sc8
2011-09-19 17:24:34 +02:00
Xavier Morel 079f817e1c [IMP] cleanup random stuff so events don't accumulate across switches, ending up breaking the form
bzr revid: xmo@openerp.com-20110919152210-o828pz00vp7vuf5j
2011-09-19 17:22:10 +02:00
Xavier Morel 7b98c70f75 [ADD] hacky toggle between readonly and editable form modes
bzr revid: xmo@openerp.com-20110919151549-olblr39dlhtryfj0
2011-09-19 17:15:49 +02:00
Aline Preillon 63b47abd00 [IMP] improved res.partner demo data
bzr revid: aline@aline-laptop-20110919150547-vki0m64iv0ccktlv
2011-09-19 17:05:47 +02:00
Quentin (OpenERP) 92c7754899 [FIX] account: wrong xml id in view definition
bzr revid: qdp-launchpad@openerp.com-20110919150146-tevsgf2naixy2ibc
2011-09-19 17:01:46 +02:00
Olivier Dony 8c5cb638b9 [MERGE] enforce unique `key` attribute for res.currency, ir.model, res.company
For res.company the constraint is made of 2 parts:
 - one normal unique constraint (name,company_id) to catch
   most cases and define the user error message
 - one additional unique index to enforce the unique currency
   name even for multiple entries with NULL company_id, not
   caught by the constraint. The index is named with the 
   constraint name as prefix, in order to automatically
   share the user error message

Also, cleanup up the res.currency views a bit, and improved
field labels in ir.model to make them easier to understand.

lp bug: https://launchpad.net/bugs/789019 fixed

bzr revid: odo@openerp.com-20110919144821-708avl7t9q7g8vpr
2011-09-19 16:48:21 +02:00
Xavier Morel dacda98c96 [FIX] don't use complex unicode characters in source
bzr revid: xmo@openerp.com-20110919144737-95xnotd34e4mrzos
2011-09-19 16:47:37 +02:00
Xavier Morel 84e2eb73fd [FIX] selection field should super() with the raw value given to it, and then set its display value
bzr revid: xmo@openerp.com-20110919142302-yqlvluk1bpfg5y7r
2011-09-19 16:23:02 +02:00
Quentin (OpenERP) a4cebd9a55 [MERGE] merged the dev branch containing the account.financial.report enhancement
bzr revid: qdp-launchpad@openerp.com-20110919141251-liill5p05t0oasfz
2011-09-19 16:12:51 +02:00
Quentin (OpenERP) 5357fbe00f [FIX] account, financial report printing: recursion problem when report.type=='accuont_report'
bzr revid: qdp-launchpad@openerp.com-20110919140655-kfdfcmm4u2gdf8gg
2011-09-19 16:06:55 +02:00
Quentin (OpenERP) 0e5baa1320 [IMP] account: better name for menuitem account.financial.report
bzr revid: qdp-launchpad@openerp.com-20110919140507-3k229ecp0sex04t0
2011-09-19 16:05:07 +02:00
Quentin (OpenERP) 88b55c8b9f [IMP] accuont: usability in search view of financial report
bzr revid: qdp-launchpad@openerp.com-20110919140415-qa3v7d2n27pw5n5i
2011-09-19 16:04:15 +02:00
Xavier Morel 412effa9ad [IMP] move readonly stuff to their own widgets, in a registry inheriting from form's
bzr revid: xmo@openerp.com-20110919135717-jt4t5315nmoatleb
2011-09-19 15:57:17 +02:00
Olivier Dony b6f47d867d [IMP] account: unique description for wizard model
bzr revid: odo@openerp.com-20110919133600-kffc955xf51d3pt1
2011-09-19 15:36:00 +02:00
Quentin (OpenERP) f785c3e6a1 [IMP] account: financial report new name (previously accuont.low.level.report)
bzr revid: qdp-launchpad@openerp.com-20110919131221-gv46wg6eojf64glp
2011-09-19 15:12:21 +02:00
Quentin (OpenERP) f54bfcbefc [IMP] account, financial reports: access rights
bzr revid: qdp-launchpad@openerp.com-20110919130958-ejzebzioher2g53p
2011-09-19 15:09:58 +02:00
Xavier Morel 566f9a43e8 [ADD] readonly branch to a bunch of form widgets
bzr revid: xmo@openerp.com-20110919122416-h773tyz1kogazyy0
2011-09-19 14:24:16 +02:00
Quentin (OpenERP) 443df80291 [MERGE] lp:819257
bzr revid: qdp-launchpad@openerp.com-20110919121329-8cbv282vwxyou38c
2011-09-19 14:13:29 +02:00
Quentin (OpenERP) 2cd695b35d [FIX] survey: data_get code now returns the good type for sequence
bzr revid: qdp-launchpad@openerp.com-20110919120922-nv7rszc8pf182msh
2011-09-19 14:09:22 +02:00
Xavier Morel ea6299dae6 [FIX] form.FieldOne2Many, nesting itself inside itself, breaking the self-matcher
bzr revid: xmo@openerp.com-20110919115746-16jz8hajcdgl010f
2011-09-19 13:57:46 +02:00
niv-openerp 135926d920 [fix] desactivated href in header
bzr revid: nicolas.vanhoren@openerp.com-20110919115735-38avdhvgrxnprbei
2011-09-19 13:57:35 +02:00
Quentin (OpenERP) 084f176af9 [MERGE] merged with main addons trunk
bzr revid: qdp-launchpad@openerp.com-20110919114910-g98dgfw8f6z0ig6y
2011-09-19 13:49:10 +02:00
Vo Minh Thu d2ff44ad72 [FIX] base_security: ir rules are noupdate=1.
lp bug: https://launchpad.net/bugs/727277 fixed

bzr revid: vmt@openerp.com-20110919114717-3808os44pxpszk82
2011-09-19 13:47:17 +02:00
Olivier Dony 6bdf7719fe [FIX] stock: proper context passing
bzr revid: odo@openerp.com-20110919112837-qhdt3cj41qvrf6e6
2011-09-19 13:28:37 +02:00
Olivier Dony 5e6e78112c [FIX] stock: apply better 6.0 bugfix for #771377
lp bug: https://launchpad.net/bugs/771377 fixed

bzr revid: odo@openerp.com-20110919103523-xoosd8wqjtfhudt4
2011-09-19 12:35:23 +02:00
Fabien Meghazi bb49028b5c [FIX] Always save record even when form is not dirty and/or has no field to save. (osv.memory)
lp bug: https://launchpad.net/bugs/851893 fixed

bzr revid: fme@openerp.com-20110919103427-j8pqfxs4iw54oi56
2011-09-19 12:34:27 +02:00
Fabien Meghazi 2b04278508 [IMP] Avoid useless default_get when no field is defined in the form view
bzr revid: fme@openerp.com-20110919102508-ezbp6r2i21wm05m9
2011-09-19 12:25:08 +02:00
Xavier Morel b4e8ac180c [REM] redundant initializers in formview widgets: move most formview widget templates to the class-level
bzr revid: xmo@openerp.com-20110919101517-40303tgi58cfshtk
2011-09-19 12:15:17 +02:00
Fabien Meghazi 9ba81bdb5d [FIX] Readonly field can't be dirty
bzr revid: fme@openerp.com-20110919100003-dj0z8sswv78x6jm5
2011-09-19 12:00:03 +02:00
Vo Minh Thu 048527e757 [IMP] ir/wizard: removed the unused create_action wizard.
bzr revid: vmt@openerp.com-20110919093626-guayq71dbbkmdn90
2011-09-19 11:36:26 +02:00
Naresh (OpenERP) 1d71f8484a [MERGE FROM TRUNK]
bzr revid: nch@tinyerp.com-20110919093224-5i3dslmw5ubatdjt
2011-09-19 15:02:24 +05:30