Commit Graph

5300 Commits

Author SHA1 Message Date
Vo Minh Thu bd4f503b9b [FIX] ir_ui_view: __view_look_dom_arch() was renamed into postprocess_and_fields().
bzr revid: vmt@openerp.com-20130701110521-muec7xyt7op7bhql
2013-07-01 13:05:21 +02:00
Vo Minh Thu 9ad26be680 [FIX] ir_ui_view: accomodate previously changed apply_inheritance_specs() signature.
bzr revid: vmt@openerp.com-20130701105107-thsi2o2pmeifo338
2013-07-01 12:51:07 +02:00
Antony Lesuisse df01c096ec branding temp fix for comment in xml
main company demo data

bzr revid: al@openerp.com-20130701002424-ojr6yzlr9m0xv6vi
2013-07-01 02:24:24 +02:00
Antony Lesuisse 05c9b607f8 fix rng validation, fields_view_get, qweb t-esc t-raw default
bzr revid: al@openerp.com-20130630213515-go5qr2dmo0xlazvr
2013-06-30 23:35:15 +02:00
Antony Lesuisse 54a41790a0 distribute branding xpath count
bzr revid: al@openerp.com-20130630015800-gln7j46ume1h536k
2013-06-30 03:58:00 +02:00
Antony Lesuisse 0963443691 correct distribution of branded tags
bzr revid: al@openerp.com-20130630010941-t922sz1smwi6jnni
2013-06-30 03:09:41 +02:00
Antony Lesuisse 4aa13cf591 correct inheritance branding
bzr revid: al@openerp.com-20130629234158-ttav8rypjrkxvctf
2013-06-30 01:41:58 +02:00
Antony Lesuisse b8adbbbce2 [MERGE] icon moved to description
bzr revid: al@openerp.com-20130629230615-nzpbsdvmb3in4khy
2013-06-30 01:06:15 +02:00
Antony Lesuisse 932efea388 untangle inheritance and postprocessing
bzr revid: al@openerp.com-20130629213516-pqcl6oz1g3o5tpgn
2013-06-29 23:35:16 +02:00
Antony Lesuisse ca98a61a3d [MERGE] trunk
bzr revid: al@openerp.com-20130629140148-r563wtev4078qiqf
2013-06-29 16:01:48 +02:00
Antony Lesuisse aa2a854af7 [MERGE] icon moved to description
bzr revid: al@openerp.com-20130628150755-2z42ct0p819ajtyq
2013-06-28 17:07:55 +02:00
Antony Lesuisse 3d6a073acb [MERGE] html module description
bzr revid: al@openerp.com-20130628100407-3k5wy3767lbc3788
2013-06-28 12:04:07 +02:00
Martin Trigaux ad9f8a9fa1 [ADD] ir_ui_view: add tags to tree
bzr revid: mat@openerp.com-20130627171027-j3t7l8dadm8cohvx
2013-06-27 19:10:27 +02:00
Christophe Simonis d84c90b41d [FIX] views: correct type detection
bzr revid: chs@openerp.com-20130627153758-1yhk7d79is5c707r
2013-06-27 17:37:58 +02:00
Christophe Simonis a0d05319e4 [FIX] qweb: flake8
bzr revid: chs@openerp.com-20130627150807-1xy7kr9g2xlsnqf2
2013-06-27 17:08:07 +02:00
Christophe Simonis 0ed83c3cec [FIX] view creation
bzr revid: chs@openerp.com-20130627143639-nxurinzeqqjqdiam
2013-06-27 16:36:39 +02:00
Christophe Simonis 4efebc6fd0 [FIX] ir.ui.view:render() can render view by xmlid/path
bzr revid: chs@openerp.com-20130627142506-gdmre0jj36v5inc0
2013-06-27 16:25:06 +02:00
Christophe Simonis 0982851153 [FIX] qweb: make code works
bzr revid: chs@openerp.com-20130627142022-fg0brlf5mjrpaulb
2013-06-27 16:20:22 +02:00
Antony Lesuisse 01c08e2ebc type is regular field
bzr revid: al@openerp.com-20130627131629-1au7xtdv2fdxtko0
2013-06-27 15:16:29 +02:00
Olivier Dony cfb5f8f7cf [FIX] rml2pdf: prevent report expression evaluation from crashing report completely
This is a revert of revision 4838 revid:vmt@openerp.com-20130327160420-pxw83283xcro1h52
which was based on the idea that we ought to fix broken reports rather than hide
their problems.
This is correct but is blocking users even for tiny details in the report, so
it is better to attempt generating the output anyway, and log an obvious error
so we have all the data needed to fix the report.

bzr revid: odo@openerp.com-20130627114916-d5p1qjye9tsgammj
2013-06-27 13:49:16 +02:00
Denis Ledoux 9f4397fc85 [MERGE]forward port of latest 7.0 bugfixes, up to rev 5017
rev 5017 = launchpad_translations_on_behalf_of_openerp-20130626061833-drxvzosffezp089g

bzr revid: dle@openerp.com-20130627120342-znttbs00q5bkf4ov
2013-06-27 14:03:42 +02:00
Launchpad Translations on behalf of openerp 107df4be73 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130621060610-p14kssbh1butvac8
bzr revid: launchpad_translations_on_behalf_of_openerp-20130623055418-pa98b9z500hi8uaw
bzr revid: launchpad_translations_on_behalf_of_openerp-20130626061833-drxvzosffezp089g
bzr revid: launchpad_translations_on_behalf_of_openerp-20130628063158-69209nqbfswd62t7
bzr revid: launchpad_translations_on_behalf_of_openerp-20130702055938-zsn35e5vhzmsqvsw
2013-07-02 05:59:38 +00:00
Christophe Simonis 171819106a merge upstream
bzr revid: chs@openerp.com-20130627095135-43h3lamq2yh15xkv
2013-06-27 11:51:35 +02:00
Antony Lesuisse a93bc8bdb0 qweb templates
bzr revid: al@openerp.com-20130627091329-t3hjytf3gt0dmkvo
2013-06-27 11:13:29 +02:00
Launchpad Translations on behalf of openerp 45b769b480 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130627053623-0r6xfw895hy8xkyj
2013-06-27 05:36:23 +00:00
Christophe Simonis c0115e7597 [FIX] orm: Do not prefetch custom fields.
When installing or updating a module, custom fields referring custom model
(many2one) cannot be read because custom model are not loaded at this stage
(they are only loaded after all modules because they can refer any model).
Not prefetching them avoid crash when computing stored function fields.

bzr revid: chs@openerp.com-20130626091332-231rqg5ouhnc3d2x
2013-06-26 11:13:32 +02:00
Christophe Simonis c5bd4b6d8d [FIX] view validation tests
bzr revid: chs@openerp.com-20130625191259-wplffcvrgmlk6hmz
2013-06-25 21:12:59 +02:00
Christophe Simonis f169169377 [FIX] view validation tests
bzr revid: chs@openerp.com-20130625170118-dab54jupbexmqoq5
2013-06-25 19:01:18 +02:00
Antony Lesuisse f4332b9b60 [MERGE] trunk
bzr revid: al@openerp.com-20130625162755-d6552p98m5jiw941
2013-06-25 18:27:55 +02:00
Antony Lesuisse 3158765ae9 [MERGE] webscale test fixes
bzr revid: al@openerp.com-20130625155904-1w8f6u4dvn3k4n5p
2013-06-25 17:59:04 +02:00
Xavier Morel a65419b042 [IMP] add tests for apply_inheritance_specs error reporting (to improve later, eg by removing cr, uid, context, ...)
bzr revid: xmo@openerp.com-20130625102800-qpw6m9m5cib1qvu8
2013-06-25 12:28:00 +02:00
Xavier Morel b3ade05f11 [ADD] basic tests on application of inheritance specs
bzr revid: xmo@openerp.com-20130625084857-k72kpvdrvejfragb
2013-06-25 10:48:57 +02:00
Xavier Morel 65e95dae49 [FIX] view inheritance tests: generate valid architectures
bzr revid: xmo@openerp.com-20130625060041-pfgdrnawfwuts2rj
2013-06-25 08:00:41 +02:00
Antony Lesuisse eaf7f87ba2 [MERGE] fix view_validate to match rng
bzr revid: al@openerp.com-20130624170243-o9qjfo2s4obvqaea
2013-06-24 19:02:43 +02:00
Antony Lesuisse ca163b58db fix check_xml, disable wrong tests
bzr revid: al@openerp.com-20130624160910-zp898ew6va3lergk
2013-06-24 18:09:10 +02:00
Thibault Delavallée 9f84cc4968 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130624160006-ndlo68bdmm3ndj21
2013-06-24 18:00:06 +02:00
Thibault Delavallée 853951a9d6 [IMP] res.users: improved form view to ease email, login and email preferences clarification
bzr revid: tde@openerp.com-20130624093841-6vi3zjcz260dzuig
2013-06-24 11:38:41 +02:00
Quentin (OpenERP) bcac5bd834 [FIX] ir_property: fixes in property fields related to multi company use cases
bzr revid: qdp-launchpad@openerp.com-20130624085731-fthhdpdm4ldi3220
2013-06-24 10:57:31 +02:00
Quentin (OpenERP) c54bc51eb7 [IMP] ir_property fields: added the possibility to use 'selection' field type as properties
bzr revid: qdp-launchpad@openerp.com-20130624085311-ujeahocdp0d2royg
2013-06-24 10:53:11 +02:00
Quentin (OpenERP) 601ee8e030 [REF] ir_property: changed 'value_reference' and 'res_id' fields into char instead of reference fields because the code was fuzzy, the performances very bad (at least since 'view_load' attribute has been removed), and because there were no reason to have them as references (even from an useability point of view)
bzr revid: qdp-launchpad@openerp.com-20130624085049-elmhvzkufntlzbf8
2013-06-24 10:50:49 +02:00
Antony Lesuisse 9a8ff60da0 file based openerp views
bzr revid: al@openerp.com-20130620221648-kj53t7vdopfab0c2
2013-06-21 00:16:48 +02:00
Antony Lesuisse ab8e0f89b4 use read_combined instead of fields_view_get to check inherited views
bzr revid: al@openerp.com-20130620154617-uiceguvzjtu3ab87
2013-06-20 17:46:17 +02:00
Antony Lesuisse 4f76c69b76 [MERGE] trunk
bzr revid: al@openerp.com-20130620151512-p5ysov21an6ogbtv
2013-06-20 17:15:12 +02:00
Olivier Dony 9a5e317618 [FIX] OPW 592482: browse_record should not prefetch binary fields
This was apparently a long-standing issue due to a
strange handling of the _prefetch attribute on
columns: accessing a column would only trigger
the prefetching if its _prefetch attribute was
True, but the prefetching itself would also
prefetch columns that had _prefetch False.

We clearly want it the other way around, or
at least we want _prefetch to decide whether
a column is included in any given prefetching
pass. We can skip the prefetching pass when
the only field being accessed has _prefetch
False because it is likely the other fields
have already been prefetched separately.
This last subtlety should not make any
noticeable performance difference.

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

bzr revid: odo@openerp.com-20130620131057-v7s4qfqj976j3ufo
2013-06-20 15:10:57 +02:00
Launchpad Translations on behalf of openerp 3e269d1572 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130614070428-by6oo1fc0hvfoqc8
bzr revid: launchpad_translations_on_behalf_of_openerp-20130615061319-hikvcj42kmv0fwla
bzr revid: launchpad_translations_on_behalf_of_openerp-20130616053220-l2jj1f2bfhr8s95f
bzr revid: launchpad_translations_on_behalf_of_openerp-20130617062045-ydm23y8oyqt85r6d
bzr revid: launchpad_translations_on_behalf_of_openerp-20130618065045-8n040l4nl7inbsho
bzr revid: launchpad_translations_on_behalf_of_openerp-20130619061621-p7u5tapogm5ao1o2
bzr revid: launchpad_translations_on_behalf_of_openerp-20130620063408-j244y20qpy61d6dn
bzr revid: launchpad_translations_on_behalf_of_openerp-20130615062054-6zhgccaoectf2c0d
bzr revid: launchpad_translations_on_behalf_of_openerp-20130616053235-3eimstk0anu72x9m
bzr revid: launchpad_translations_on_behalf_of_openerp-20130617062114-7wts3fyy6vgqzt8v
bzr revid: launchpad_translations_on_behalf_of_openerp-20130618065127-8w5xbiwnnza5vlo1
bzr revid: launchpad_translations_on_behalf_of_openerp-20130619061719-63jsadfrb1yoqtgz
bzr revid: launchpad_translations_on_behalf_of_openerp-20130620063509-1xk30ymo1f7nn4h0
2013-06-20 06:35:09 +00:00
niv-openerp ac1d0742a0 [IMP] minor improvement in RegistryManager, useful for web client
bzr revid: nicolas.vanhoren@openerp.com-20130619105335-w3xftm6g0llh1ade
2013-06-19 12:53:35 +02:00
Quentin (OpenERP) 31d05360b2 [REF] fields: removed deprecated view_load attribute and removed useless first argument in property fields definition
bzr revid: qdp-launchpad@openerp.com-20130619091332-29pisdnyfemn1u3d
2013-06-19 11:13:32 +02:00
niv-openerp 2bc965ba9e Added tests for search_read
bzr revid: nicolas.vanhoren@openerp.com-20130621095504-cwwbr716apnh7680
2013-06-21 11:55:04 +02:00
niv-openerp 7822665429 added search_read
bzr revid: nicolas.vanhoren@openerp.com-20130621091332-s37ma5gbg88999xv
2013-06-21 11:13:32 +02:00
Launchpad Translations on behalf of openerp df2566d5bb Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130618054613-gi4pirvc503ttaw1
2013-06-18 05:46:13 +00:00
Olivier Dony eae2321cd2 [FIX] ir.ui.view: properly validate newly created inheriting views
When a new inheriting view is imported during a module
  installation, it is validated thanks to the _constraints
  on the ir.ui.view model. However the validation uses
  a rather convoluted system for validating the whole
  view tree at once (root view + all inherited changes)
  while only taking into account the views that belong
  to modules that are currently loaded.
  
  This complicated system is necessary to be able to
  operate on-the-fly at any point during the registry
  loading/initialization.
  
  Now because _constraints are checked during create()
  this particular validation happens *before* the
  external ID (ir.model.data entry) of that new view
  can be created (it obviously needs to wait until
  the view record is inserted). As a consequence the
  view validation cannot determine the module to
  which that new view belongs, and was erroneously
  ignoring it.
  Changing the view filtering to also include views
  from unknown modules fixes this transient problem,
  and also means that manually created inherited
  views will be validated during module init too.

bzr revid: odo@openerp.com-20130703215704-x732bepiifvf4g3n
2013-07-03 23:57:04 +02:00
Launchpad Translations on behalf of openerp 55e8f9cbc3 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130705061242-vrcwgjcqm4dieg9v
2013-07-05 06:12:42 +00:00
Olivier Dony a4589a84cc [FIX] ir.translation: backport of trunk fix to allow editing master english source terms
Original trunk commits rev-ids:
 - 4855 qdp-launchpad@openerp.com-20130416091501-sgm3gdm80oxajahz
 - 4856 qdp-launchpad@openerp.com-20130417121718-jfwi2f3gn0tum9xa
 - 4857 qdp-launchpad@openerp.com-20130418114627-unmfdu6010hyc8xx

bzr revid: odo@openerp.com-20130703161520-mk0g187rpmmw6bdx
2013-07-03 18:15:20 +02:00
Launchpad Translations on behalf of openerp 46fd9fc20b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130703060118-lxy4jl5fgylova8a
2013-07-03 06:01:18 +00:00
Vo Minh Thu 43ff43383e [MERGE] lang: added Amharic (Ethiopia) language.
The corresponding web branch was merged in january.

bzr revid: vmt@openerp.com-20130702141733-mpk2163pclupwwqs
2013-07-02 16:17:33 +02:00
Thibault Delavallée 45780c147d [IMP] Partner View Improvement: remove history tab.
This server branch comes with an addons branch where the various
items of the history tab are removed and transformed into
contextual buttons.
Names are added to two pages of the partner notebook to be able
to reference them in future inheritance.

bzr revid: tde@openerp.com-20130614120540-5qvvh07cu2quwi71
2013-06-14 14:05:40 +02:00
Christophe Simonis e5614c0751 [FIX] base: correct `help` in res.bank view
bzr revid: chs@openerp.com-20130613175453-2tnl06dxgc9z4hbs
2013-06-13 19:54:53 +02:00
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
Thibault Delavallée 1a3679134e [MERGE] Merged branch holding addons-30 misc improvements. FP-style merge for testing purpose.
bzr revid: tde@openerp.com-20130613105750-euwa1thpqye4de8f
2013-06-13 12:57:50 +02:00
Christophe Simonis 180e6e41d8 [FIX] long polling process: strip arguments
bzr revid: chs@openerp.com-20130612153934-qyp6pb3bc4za4taf
2013-06-12 17:39:34 +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
Christophe Simonis e383386a79 [FIX] correct stripping of arguments when _reexec() OpenERP
bzr revid: chs@openerp.com-20130612151912-m19okjsdkjo12qnt
2013-06-12 17:19:12 +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
Launchpad Translations on behalf of openerp 75595cc55b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130611063100-w95zvev0e2wme31v
bzr revid: launchpad_translations_on_behalf_of_openerp-20130611063242-nvli6wf9xoxol1i9
bzr revid: launchpad_translations_on_behalf_of_openerp-20130611063247-ed0nk3aer2b28d41
2013-06-11 06:32:47 +00:00
niv-openerp 3587f43662 [FIX] put long polling worker in a completely separate process to avoid problems with gevent monkey patching
bzr revid: nicolas.vanhoren@openerp.com-20130610164954-d55rurfkwt95ibqp
2013-06-10 18:49:54 +02:00
niv-openerp d64a8f9f55 changed name of long polling executable
bzr revid: nicolas.vanhoren@openerp.com-20130610164929-1m4r0dls2oz17aqc
2013-06-10 18:49:29 +02:00
Christophe Simonis 3b36a3ea12 [FIX] watch parent when run in evented mode
bzr revid: chs@openerp.com-20130610160711-xvnmonm59al7e89l
2013-06-10 18:07:11 +02:00
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
niv-openerp 02aa3f2114 [FIX] regression that made the server crash when we install a db
bzr revid: nicolas.vanhoren@openerp.com-20130610154139-jylxm135apnu3app
2013-06-10 17:41:39 +02:00
Martin Trigaux e403f2cbde [MERGE] [FIX] res.users: prevent exporting the virtual 'Access Rights' fields
A corresponding patch on openerp-web takes that
new field attribute into account

bzr revid: mat@openerp.com-20130610073127-kg5dhvslvri4k942
2013-06-10 09:31:27 +02:00
Launchpad Translations on behalf of openerp 3a296f5386 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130608070127-tu3wr0ejaojeuizk
bzr revid: launchpad_translations_on_behalf_of_openerp-20130609061554-vunz3dsqv73j8io4
bzr revid: launchpad_translations_on_behalf_of_openerp-20130608074839-suk66wcjidodrzyu
bzr revid: launchpad_translations_on_behalf_of_openerp-20130609061704-e1t9mv2alygf4g38
bzr revid: launchpad_translations_on_behalf_of_openerp-20130608075116-643xgspj93t8g1y9
bzr revid: launchpad_translations_on_behalf_of_openerp-20130609061708-y08i6exqm5v36qg7
2013-06-09 06:17:08 +00:00
Olivier Dony 6993462627 [I18N] Synchronize translation templates with latest source code
bzr revid: odo@openerp.com-20130607194327-b3rpiej9zhrxgtas
2013-06-07 21:43:27 +02:00
Olivier Dony 74e0201356 [MERGE] OPW 590300: make some action help texts consistent with the rest of the system
The policy is to have a one-line paragraph with
class `oe_view_nocontent_create` that directs the
user to the create button. There are exceptions
when the action is not supposed to be used to
create new records, in which case the help
text should indicate so.

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

bzr revid: odo@openerp.com-20130607162045-7di6r2fllm6k988x
2013-06-07 18:20:45 +02:00
Olivier Dony 4e366e01aa [FIX] res.users: prevent exporting the virtual "Access Rights" fields
A corresponding patch on openerp-web takes that
new field attribute into account.

bzr revid: odo@openerp.com-20130607093057-nujdeq39sqbx2cbo
2013-06-07 11:30:57 +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
Launchpad Translations on behalf of openerp 72f82f8fa3 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130607054801-oxz1o62tu2fx01d8
2013-06-07 05:48:01 +00:00
niv-openerp 9154863575 fixed long polling process that can not close itself
bzr revid: nicolas.vanhoren@openerp.com-20130606124259-2xfp7gsp660spjhl
2013-06-06 14:42:59 +02:00
niv-openerp 5d5cca0041 First version, does not close correctly
bzr revid: nicolas.vanhoren@openerp.com-20130606123733-j6d2lpcgrvxfa7yr
2013-06-06 14:37:33 +02:00
niv-openerp c8719220a7 Added long polling executable
bzr revid: nicolas.vanhoren@openerp.com-20130606113237-ov1t2txl9gn6mx3g
2013-06-06 13:32:37 +02:00
Olivier Dony 72ee804f8b [MERGE] base: remove remaining company assignments on currencies, courtesy of Stefan Rijnhart (Therp)
Fix of the testsuite (in openerp/addons/base/test/test_osv_expression.yml)
done on top of Stefan's original patch

bzr revid: odo@openerp.com-20130606101123-1lqm1qesg9jol8gi
2013-06-06 12:11:23 +02:00
Olivier Dony 1509011229 [FIX] base: fix o2m testsuite following change of default currency data, in relation with bug 1111298
lp bug: https://launchpad.net/bugs/1111298 fixed

bzr revid: odo@openerp.com-20130606090410-4t6o6se18ejbgqmj
2013-06-06 11:04:10 +02:00
Vo Minh Thu 691cd6e2a5 [MERGE] change_password_wizard: add password=True on the field.
bzr revid: vmt@openerp.com-20130605140818-m6hoesdwbbiiidey
2013-06-05 16:08:18 +02:00
Vo Minh Thu fd61bfac43 [MERGE] ir_ui_view: better constraints on `arch` and `model`.
bzr revid: vmt@openerp.com-20130605132332-s0azrlqk0hjvders
2013-06-05 15:23:32 +02:00
Vo Minh Thu 8d0a477644 [IMP] ir_ui_view: do not use _logger.exception() (because there is no exception), add a check on `model`.
bzr revid: vmt@openerp.com-20130605121143-u2nkmcmeifphr54h
2013-06-05 14:11:43 +02:00
Vo Minh Thu 1ed9049041 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20130605120443-wgt24723597pak4b
2013-06-05 14:04:43 +02:00
Vo Minh Thu dd7859e383 [MERGE] openerp.servie.model: removed duplicated code.
bzr revid: vmt@openerp.com-20130605111204-pmjt3olbl30xa4nt
2013-06-05 13:12:04 +02:00
Launchpad Translations on behalf of openerp b1a9b0b9d9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130604062709-pb9s1kp33ar9hc9u
bzr revid: launchpad_translations_on_behalf_of_openerp-20130605063346-xa44erszwq702eya
2013-06-05 06:33:46 +00:00
Thibault Delavallée b545e866b1 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130604134405-byfc98qwgyeoufrl
2013-06-04 15:44:05 +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 0019a86ecf [MERGE] orm: add _sql_contraints only when _auto.
bzr revid: vmt@openerp.com-20130604115402-4cf07eq53o6ocs39
2013-06-04 13:54:02 +02:00
Olivier Dony b16935efdc [IMP] orm: include forbidden IDs when logging ir.rules violations, to make troubleshooting easier
bzr revid: odo@openerp.com-20130604111354-1x5yc305okhx5ujk
2013-06-04 13:13:54 +02:00
Vo Minh Thu 186da3a29c [MERGE] res_users treee view: use the `login_date` field (instead of `date`).
bzr revid: vmt@openerp.com-20130604094438-zwp5e09fte4ie1af
2013-06-04 11:44:38 +02:00
Vo Minh Thu 6f1531f1d3 [MERGE] orm: add __iter__ method on browse_null.
Otherwise Python falls back to __getitem__ when trying to loop over it
or when trying to test `in`.

bzr revid: vmt@openerp.com-20130604081706-z79vqj36ls2adw09
2013-06-04 10:17:06 +02:00
Vo Minh Thu afc7b07905 [MERGE] rng: more precise attributes/values on the `field` element.
bzr revid: vmt@openerp.com-20130603153456-kl112hvilfnyjtjg
2013-06-03 17:34:56 +02:00
Christophe Matthieu 68080eb17f [IMP] description.html to index.html
bzr revid: chm@openerp.com-20130603142201-l3pdz4s5ggxjdf8w
2013-06-03 16:22:01 +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
Vo Minh Thu e081fd19dc [MERGE] res_users_view (preferences): save button now in red.
bzr revid: vmt@openerp.com-20130603132532-v5rlpj8tbbk34djy
2013-06-03 15:25:32 +02:00
Vo Minh Thu 9c155f570f [MERGE] res_partner_view: provide defaults for customer exactly as for supplier.
bzr revid: vmt@openerp.com-20130603125946-w510xiwssfxc06lc
2013-06-03 14:59:46 +02:00
Vo Minh Thu 2fcf951703 [MERGE] openerp.service.db: fixed typos.
bzr revid: vmt@openerp.com-20130603122129-gzajkt1955fsr8gi
2013-06-03 14:21:29 +02:00
Vo Minh Thu a75706ea81 [IMP] module_data.xml: added Survey category (should replace Extra Tools soon).
bzr revid: vmt@openerp.com-20130603115436-35z1rfvxtgdggryn
2013-06-03 13:54:36 +02:00
Vo Minh Thu dea9c95ab7 [MERGE] tools.convert: allow to use relativedelta in XML files.
bzr revid: vmt@openerp.com-20130603111716-lrgu1hxxz96escqa
2013-06-03 13:17:16 +02:00
Nimesh Contractor (OpenERP) 10cf84b77a [MERGE] with trunk.
bzr revid: nco@tinyerp.com-20130603104529-1f7ir2rdfunv9uxn
2013-06-03 16:15:29 +05:30
Quentin (OpenERP) 232e24b7a4 [FIX] trml2pdf: reportlab 2.4.4 doesn't support the previous syntax (sname in self.default_style)
bzr revid: qdp-launchpad@openerp.com-20130603093048-4iwgnb4hxhsxrazc
2013-06-03 11:30:48 +02:00
Sejal Bhut (OpenERP Trainee) dcf8b5e830 [FIX] Database Backup Problem
lp bug: https://launchpad.net/bugs/1100721 fixed

bzr revid: sejalpatel125@gmail.com-20130603092630-3rh4bewi3kihmub7
2013-06-03 14:56:30 +05:30
Quentin (OpenERP) 03d39c5429 [IMP/FIX] report, trml2pdf: added the support of registerFontFamily tag to allow the mapping of different fonts for bold, italic or boldItalic
bzr revid: qdp-launchpad@openerp.com-20130531114612-ofcn1swt5o5cc7oc
2013-05-31 13:46:12 +02:00
Jignesh Rathod (OpenERP) 18775366ff [MERGE]Trunk.
bzr revid: jir@tinyerp.com-20130527120241-xbg2px1ykswsx521
bzr revid: jir@tinyerp.com-20130531104339-akdwmtw3w02clwqh
2013-05-31 16:13:39 +05:30
niv-openerp c30d90e97a [FIX] desperate attempt to solve long polling process freezing
bzr revid: nicolas.vanhoren@openerp.com-20130531095439-leao1mq9p0kvjqaw
2013-05-31 11:54:39 +02:00
Christophe Matthieu 71d93466e7 [IMP] css app description relative href
bzr revid: chm@openerp.com-20130531093901-41uqp52xeef8yu37
2013-05-31 11:39:01 +02:00
Thibault Delavallée 7a2179c99f [IMP] ir_mail_server: cleaned a message by adding some uppercases.
bzr revid: tde@openerp.com-20130531092528-cuna42qie8volvou
2013-05-31 11:25:28 +02:00
Thibault Delavallée 181a6b9430 [IMP] res_users: simplified form view: added placeholders, especially for login that should be an email.
bzr revid: tde@openerp.com-20130531092511-41jfskbqo3v4oh4n
2013-05-31 11:25:11 +02:00
Thibault Delavallée 7b320464ff [REV] users: contraints on login = email style not applicable anymore.
bzr revid: tde@openerp.com-20130531082016-zx2lz6lhz4i4c7wt
2013-05-31 10:20:16 +02:00
Thibault Delavallée 99e3996514 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130531081023-i483jfsiihsmf8yo
2013-05-31 10:10:23 +02:00
Quentin (OpenERP) 40ea4556de [FIX] base, res_company: typo in default paraStyle tagname
bzr revid: qdp-launchpad@openerp.com-20130531074745-ycfvlzrvlkrli33h
2013-05-31 09:47:45 +02:00
Launchpad Translations on behalf of openerp 3892f2012e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130531070010-d94zj275obvxgnow
2013-05-31 07:00:10 +00:00
Christophe Matthieu f14a86b7ae [IMP] module view
bzr revid: chm@openerp.com-20130530165219-fm04kpau7xvxz1zh
2013-05-30 18:52:19 +02:00
Christophe Simonis 185f7552fd [FIX] multicorn: WorkerLongPolling watch for parent change
[IMP] multicorn: WorkerLongPolling log into logger
[IMP] multicorn: Workers closes unwanted sockets

bzr revid: chs@openerp.com-20130530154537-89qrbgi5q1n6fgmh
2013-05-30 17:45:37 +02:00
Christophe Matthieu 37ccedf83b [IMP] module: description
bzr revid: chm@openerp.com-20130530152944-zcmncgi6gc0lypo7
2013-05-30 17:29:44 +02:00
Christophe Matthieu 2d68063080 [IMP] css
bzr revid: chm@openerp.com-20130530152741-mdzjtuvalkmvmanh
2013-05-30 17:27:41 +02:00
Christophe Matthieu 33a40f131a [IMP] parse description html to change image src to [module]/static/description/image_url
bzr revid: chm@openerp.com-20130530142902-bv4ol10s4n119c8i
2013-05-30 16:29:02 +02:00
Thibault Delavallée ac791818e0 [MERGE] [CHERRYPICK] Backport of revision 4879 of saas-1 branch.
[FIX] ir_attachment: in check, values could coutain a
False res_model; no need to check self.pool[False], obviously. We consider void attachments
as being accessible, because no related document exists.

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

bzr revid: tde@openerp.com-20130530142608-jgu1y7175q8hjkt5
2013-05-30 16:26:08 +02:00
Thibault Delavallée 98bce97f27 [FIX] ir_attachment: in check, values could coutain a
False res_model; no need to check self.pool[False], obviously. We consider void attachments
as being accessible, because no related document exists.

Hint: backport me in 7.0

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

bzr revid: tde@openerp.com-20130530142015-rgpf7jw4x34yhoet
2013-05-30 16:20:15 +02:00
Martin Trigaux 8c0dfaa9b8 [MERGE] [IMP] company: add onchange on state to match country
bzr revid: mat@openerp.com-20130530141819-evvqnmm029uf486h
2013-05-30 16:18:19 +02:00
Christophe Matthieu 9f8d8b82c0 [MERGE] from trunk
bzr revid: chm@openerp.com-20130530135242-6nmbjvixrst9llsh
2013-05-30 15:52:42 +02:00
Christophe Matthieu 4bf6a7ea4c [IMP] parse description html to change image src to [module]/static/description/image_url
bzr revid: chm@openerp.com-20130530135147-oij26myykrngrig1
2013-05-30 15:51:47 +02:00
Launchpad Translations on behalf of openerp b0ee73993c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130530065710-szrvqpddm40l9j7c
bzr revid: launchpad_translations_on_behalf_of_openerp-20130530065720-yji44thx1pwq2xe7
2013-05-30 06:57:20 +00:00
Launchpad Translations on behalf of openerp 3c4cf038b9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130530054444-ue5dlgvg8lswmwr1
2013-05-30 05:44:44 +00:00
Stefan Rijnhart 6c2a6d2bc3 [FIX] Remove additional company assignments to currencies
lp bug: https://launchpad.net/bugs/1111298 fixed

bzr revid: stefan@therp.nl-20130529103503-bhhs25yxlo92xnig
2013-05-29 12:35:03 +02:00
Christophe Simonis 8f533d7b3d [MERGE][FIX] rml2pdf: correct filename for Sun-ExtA font
bzr revid: chs@openerp.com-20130528185147-911f176f0kg1m4xo
2013-05-28 20:51:47 +02:00
Christophe Simonis b243c7dae5 [FIX] rml2pdf: correct filename for Sun-ExtA font
bzr revid: chs@openerp.com-20130528185031-azdnkayclc7l243x
2013-05-28 20:50:31 +02:00
Turkesh Patel (Open ERP) a4769978a4 [MRG] merge with lp:openobject-server
bzr revid: tpa@tinyerp.com-20130528122951-ub42js9o0nqrq76a
2013-05-28 17:59:51 +05:30
Quentin (OpenERP) a5d944fb87 [IMP/FIX] base, res_company: changed the default headers in order to add the default styles in generated RML, to allow their modification (and the report printing of chinese characters, for example)
bzr revid: qdp-launchpad@openerp.com-20130528085920-ifabgl11jfimixqd
2013-05-28 10:59:20 +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
Quentin (OpenERP) 968aa44bdf [FIX] report, rlm2pdf: added support of Sun-ExtA font and the possibility to define a default value for font parameters in parastyles. We can now use <paraStyle name='Normal fontName='xxxx'/> in company header, for example, if we want to define font xxxx to be used by default in each rml reports (if not overwritten in a further paraStyle)
bzr revid: qdp-launchpad@openerp.com-20130527162051-3e7ztox54vyc8xxc
2013-05-27 18:20:51 +02:00
Launchpad Translations on behalf of openerp 6c5542b96b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130522052719-nfpllnx0brrtj0rf
bzr revid: launchpad_translations_on_behalf_of_openerp-20130523061934-ugrnuz880cq201sr
bzr revid: launchpad_translations_on_behalf_of_openerp-20130526053944-8eimegnhthidxr0z
2013-05-26 05:39:44 +00:00
Thibault Delavallée 1e73fbdb40 [IMP] res_users: improved form view according to task specifications (button -> link, partner_id visible, active moved outside access rights).
bzr revid: tde@openerp.com-20130524112648-8nsbhfnutq3v4u4e
2013-05-24 13:26:48 +02:00
Thibault Delavallée bb8153fcb7 [IMP] res_users: when specifying an email value, always check it is valid.
bzr revid: tde@openerp.com-20130524112621-ytoj7o5fqs7pcrty
2013-05-24 13:26:21 +02:00
Thibault Delavallée 4de42dc5a8 [MERGE] Sync with trunk
bzr revid: chm@openerp.com-20130415133654-l5b7zvga6mrv8bs3
bzr revid: tde@openerp.com-20130515082426-93tdl16rtm2kfz3a
bzr revid: tde@openerp.com-20130523133300-1el48hf8sotnvz62
2013-05-23 15:33:00 +02:00
Nimesh Contractor (OpenERP) b2c84a8310 [IMP] when create company form supplier it should be supplier by default, same for the customer and when both the company should be both customer and supplier.
bzr revid: nco@tinyerp.com-20130523052403-lk8e1ghfglwtavg5
2013-05-23 10:54:03 +05:30
Nimesh Contractor (OpenERP) be683318ef [MERGE] lp:~openerp-dev/openobject-server/trunk-bug-1128656-nco, supplier contact should be the suppier by default.
bzr revid: nco@tinyerp.com-20130523050632-bujvgr6j1lhj2or3
2013-05-23 10:36:32 +05:30
Nimesh Contractor (OpenERP) 7396ebdb20 [MERGE] with trunk.
bzr revid: nco@tinyerp.com-20130422050242-md9rj6bqpu0n78m1
bzr revid: nco@tinyerp.com-20130523044625-vwbcktuz9dsswnv6
2013-05-23 10:16:25 +05:30
Olivier Dony 823439f7e1 [FIX] res.groups: ensure predictable sort order
Unfortunately the group names are translatable,
and the display name is based on the hierarchy
of groups, so this will not give a satisfactory
result. What we would need ideally is to be able
to sort on the translated "full name" value,
but this is not supported by the ORM yet.
But a stable order is still better than no
order at all

bzr revid: odo@openerp.com-20130522163201-f9zo7xnjvbs2mi97
2013-05-22 18:32:01 +02:00
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
Christophe Simonis 6a3ace331d [REVERT] release.pu don't need to be forward ported
bzr revid: chs@openerp.com-20130522150912-rn45l1k5b831mqk6
2013-05-22 17:09:12 +02:00
Thibault Delavallée d2acb63af6 [FORWARD] Forward-port of saas-1 branch until revision 4875
bzr revid: tde@openerp.com-20130522082935-rzzbc3p625rkmcdy
2013-05-22 10:29:35 +02:00
Martin Trigaux b8aed2249a [IMP] remove read access to outgoing mail server configuration
forward port of rev 4349 in 6.1

bzr revid: mat@openerp.com-20130521133025-198z6n1nqltcisx2
2013-05-21 15:30:25 +02:00
Launchpad Translations on behalf of openerp 1647391acc Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130519061236-r4zubxtanesjqld0
bzr revid: launchpad_translations_on_behalf_of_openerp-20130520063148-0crtjtoieit1g5k8
bzr revid: launchpad_translations_on_behalf_of_openerp-20130521054352-g6yw7uvuietnscm6
2013-05-21 05:43:52 +00:00
Olivier Dony 0e8ca44530 [FIX] ir.sequence: add a proper default value for number_next_actual (0 is disallowed by default) + avoid error when trying to alter a sequence during creation
lp bug: https://launchpad.net/bugs/960201 fixed

bzr revid: odo@openerp.com-20130517181514-xcy83yakpuqa3oik
2013-05-17 20:15:14 +02:00
Olivier Dony b50a964eb8 [MERGE] ir.sequence: lazily compute next value for PostgreSQL-backed ir.sequences + avoid resetting it at each change to the sequence, courtesy of Ronald Portier (Therp)
The original patch proposed by Ronald has been modified to
make it more suitable to a stable version, in the following
aspects:
- remove all extra physical columns (boolean flags), as they
  would break the stable policy and were actually unnecessary
  to fix the bug
- avoid displaying both the number_next and the number_next_actual,
  the latter is sufficient
- fix a possible bug when setting the number_next to 0

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

bzr revid: odo@openerp.com-20130517173513-msabph5x62c9wjxt
2013-05-17 19:35:13 +02:00
Olivier Dony 4f426731bd [MERGE] res.currency: default to global currencies in multi-company setup + add proper ir.rule, courtesy of Alexandre Fayolle (Camptocamp)
lp bug: https://launchpad.net/bugs/1111298 fixed

bzr revid: odo@openerp.com-20130517170414-zx9v1x3noqnce4h0
2013-05-17 19:04:14 +02:00
Cedric Snauwaert 33ec8239d1 [FIX]ir_sequence: better args definition
bzr revid: csn@openerp.com-20130517154544-c9jywavo9pnfn4rt
2013-05-17 17:45:44 +02:00
Olivier Dony 8d639576f0 [FIX] modify domain evaluation tests to avoid relying on res.currency entries assigned to companies, as demo data was modified for bug 1111298
lp bug: https://launchpad.net/bugs/1111298 fixed

bzr revid: odo@openerp.com-20130517141726-67utxubzdflsgsnx
2013-05-17 16:17:26 +02:00
Cedric Snauwaert 913a7a6e5c [FIX]ir_sequence: only execute a change on postgresql sequence when really needed and add a field to get an approximation of the current next_number.
bzr revid: csn@openerp.com-20130517124328-kex5katw2tgpgdty
2013-05-17 14:43:28 +02:00
Olivier Dony e608027256 [FIX] openerp/tests/test_mail.py marked executable as it should
lp bug: https://launchpad.net/bugs/993414 fixed

bzr revid: odo@openerp.com-20130517102933-u1u4n2ad5jxnndw5
2013-05-17 12:29:33 +02:00
Olivier Dony 9cff3f2a58 [MERGE] res.currency: default to global currencies in multi-company setup + add proper ir.rule, courtesy of Alexandre Fayolle (Camptocamp)
lp bug: https://launchpad.net/bugs/1111298 fixed

bzr revid: odo@openerp.com-20130517093958-d16k9gceenznm9vp
2013-05-17 11:39:58 +02:00
Cedric Snauwaert ce5c5557a3 [FIX]ir_sequence: fix cryptic error message when prefix/suffix is not in a valid format and update number_next in order for it to have same value as the sql sequence preventing the sql sequence to restart from one if a write is done.
bzr revid: csn@openerp.com-20130517090421-kik3215az48lg02f
2013-05-17 11:04:21 +02:00
Alexandre Fayolle 89efc89651 [FIX] remove company_id from currencies in currency_data.xml
lp bug: https://launchpad.net/bugs/1111298 fixed

bzr revid: alexandre.fayolle@camptocamp.com-20130517080319-ct4j81mc01dr1e2v
2013-05-17 10:03:19 +02:00
cbi@openerp.my.openerp.com 3d9c8b0513 [FIX] missing multi company currency access rules, set currency.company_id to False by default
lp bug: https://launchpad.net/bugs/1111298 fixed

bzr revid: alexandre.fayolle@camptocamp.com-20130517080246-k23d8hd0ks36cr5l
2013-05-17 10:02:46 +02:00
Vishmita Jadeja (openerp) 0ccd535c5d [REV]Revert code
bzr revid: vja@tinyerp.com-20130516062524-777pzwspcyrlasyy
2013-05-16 11:55:24 +05:30
Vishmita Jadeja (openerp) ca1393c968 [Merge]Merge with trunk
bzr revid: vja@tinyerp.com-20130516055218-6zbs25nel5r24pew
2013-05-16 11:22:18 +05:30
Vishmita Jadeja (openerp) 8c9675e75e [IMP]on change of country > If the selected state is of same country then don't change it and if it is of any other country then make it blank
bzr revid: vja@tinyerp.com-20130515133450-db0xs8fmm67t9orj
2013-05-15 19:04:50 +05:30
Quentin (OpenERP) 19c7bfa179 [FIX] base: moving the old timezone formats at the end of selection list to avoid confusing users
lp bug: https://launchpad.net/bugs/1086728 fixed

bzr revid: qdp-launchpad@openerp.com-20130515112536-j5eitvgk8tznhe5i
2013-05-15 13:25:36 +02:00
Vishmita Jadeja (openerp) 6f953c189a [FIX]Improve Code
bzr revid: vja@tinyerp.com-20130515105846-zkflow45bsbhe3ym
2013-05-15 16:28:46 +05:30
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
Vishmita Jadeja (openerp) fa9abf91f7 [Merge]Merge with openobject-server
bzr revid: vja@tinyerp.com-20130515095510-rrl5xeen0a1oxzvu
2013-05-15 15:25:10 +05:30
Nimesh Contractor (OpenERP) d0236bd31e [FIX] set defalut customer and add field customer to store value of customer.
bzr revid: nco@tinyerp.com-20130515075140-dql9dhnygtgi7319
2013-05-15 13:21:40 +05:30
Martin Trigaux c22dd59c85 [IMP] use exact writing for fsf address
bzr revid: mat@openerp.com-20130514143254-f9ap1pkh7253xs1g
2013-05-14 16:32:54 +02:00
Martin Trigaux 7f3b9ef9e3 [IMP] use exact writing for fsf address
bzr revid: mat@openerp.com-20130514142926-twja0tqy64s9eo09
2013-05-14 16:29:26 +02:00
Martin Trigaux 810edc8cf9 [IMP] use new fsf address
bzr revid: mat@openerp.com-20130514141619-xd30aqer3f3gii31
2013-05-14 16:16:19 +02:00
Martin Trigaux 4eeac4015c [FIX] fix FSF address
bzr revid: mat@openerp.com-20130514120413-r39mu6lsn04nh5zi
2013-05-14 14:04:13 +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
Martin Trigaux 8ecd022348 [IMP] clean permissions and shebang in files
bzr revid: mat@openerp.com-20130514103333-puuj4kmxq3bwzwec
2013-05-14 12:33:33 +02:00
Launchpad Translations on behalf of openerp 725bb2aa22 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130508061745-3w2v8zqbedx53bx0
bzr revid: launchpad_translations_on_behalf_of_openerp-20130513064606-6ynxgbs7f50s891m
bzr revid: launchpad_translations_on_behalf_of_openerp-20130514062531-mifd04b012g1kcz4
2013-05-14 06:25:31 +00:00
Launchpad Translations on behalf of openerp 2b7861f8c7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130510055158-ly4kl4owfmuigcs4
2013-05-10 05:51:58 +00:00
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
Raphael Collet ab6480dd0c [FIX] res_config tests: isinstance(x, long) is False when x is an int!
bzr revid: rco@openerp.com-20130508153207-0j8m0eiia2rvwmtf
2013-05-08 17:32:07 +02:00
Jagdish Panchal 2d969879de [MERGE] Merge with lp:~openerp-dev/openobject-server/trunk-addons29
bzr revid: jap@tinyerp.com-20130508111549-ttwq2e601pm33yxi
2013-05-08 16:45:49 +05:30
Quentin (OpenERP) 4d519be0b4 [IMP] base, res_currency: added an indirection on _current_rate() function to allow a clean overwriting
bzr revid: qdp-launchpad@openerp.com-20130507120149-p2m4ug20nfny234v
2013-05-07 14:01:49 +02:00
Christophe Simonis 23f326328a [IMP] openerp.modules.migration: lint file; remove unused imports, reorder imports, reformat literal dict creation
bzr revid: chs@openerp.com-20130508105056-v4arz8d2kem5sngi
2013-05-08 12:50:56 +02:00
Christophe Simonis 4897f1740e [FIX] openerp.modules.migration: do not shadow AttributeError that may occure when executing the migrate() function
bzr revid: chs@openerp.com-20130508104658-d2553vdx0etiuhpk
2013-05-08 12:46:58 +02:00
Olivier Dony 54ad990e48 [MERGE] Forward-port of 7.0 bugfixes up to rev.4970
revision-id: odo@openerp.com-20130507104025-em6w03pcxeq92az9

bzr revid: odo@openerp.com-20130507112024-p3cukmwp7d8xm2e0
2013-05-07 13:20:24 +02:00
Olivier Dony 82e4bb826a [FIX] ir.ui.menu: safer eval of action contexts when computing needaction
Unchecked eval of a context may fail for various reasons,
such as the use of client-side variables like `active_id`

bzr revid: odo@openerp.com-20130507104025-em6w03pcxeq92az9
2013-05-07 12:40:25 +02:00
Quentin (OpenERP) 0d21c3eba3 [IMP] modules loading: log as INFO test files because, if they are logged as TEST, the loading statement get lost in the mass of real TEST logs in case there are a lot of test files (more visible that way) + there are no reason to special case these files
bzr revid: qdp-launchpad@openerp.com-20130507092422-co9w0qug8k9zw16n
2013-05-07 11:24:22 +02:00
Olivier Dony dc37c9ffcf [FIX] tools.safe_eval: inconsistent indentation
bzr revid: odo@openerp.com-20130507084919-zovnqiv0axc3ikr3
2013-05-07 10:49:19 +02:00
Olivier Dony da8670411a [MERGE] Forward-port of 7.0 fixes up to rev.4968
revision-id: launchpad_translations_on_behalf_of_openerp-20130506063526-tj5l5h3fger6llmw

bzr revid: odo@openerp.com-20130506132823-zn54tcevfltkgjnf
2013-05-06 15:28:23 +02:00
Christophe Simonis 2c4e370b76 [FIX] When using "--stop-after-init", set the return code correctly. A non zero return code reflect the number of databases that fail to load/update
bzr revid: chs@openerp.com-20130506103054-kb91drgkbj3z5799
2013-05-06 12:30:54 +02:00
Launchpad Translations on behalf of openerp a7a4f33d0f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130427063416-maq2j295cuj0d2j4
bzr revid: launchpad_translations_on_behalf_of_openerp-20130429060435-zyumznnykvw92bfg
bzr revid: launchpad_translations_on_behalf_of_openerp-20130501051425-9uhm1n0nmvyus33i
bzr revid: launchpad_translations_on_behalf_of_openerp-20130506063526-tj5l5h3fger6llmw
bzr revid: launchpad_translations_on_behalf_of_openerp-20130501051533-veqndxlj87s13tnp
bzr revid: launchpad_translations_on_behalf_of_openerp-20130502060901-j2v1cs2l31in4q6t
bzr revid: launchpad_translations_on_behalf_of_openerp-20130503062950-h0ojr1tlzqx5nu76
bzr revid: launchpad_translations_on_behalf_of_openerp-20130504071101-jh8a9d3cb8gcz34e
bzr revid: launchpad_translations_on_behalf_of_openerp-20130505060428-4qacudpyuiez39b3
bzr revid: launchpad_translations_on_behalf_of_openerp-20130506063544-ggq3rpht7nsoinxs
bzr revid: launchpad_translations_on_behalf_of_openerp-20130504071108-g8u3u06xpp3g4sks
bzr revid: launchpad_translations_on_behalf_of_openerp-20130506063552-lwxw1ldh3mbflzqf
2013-05-06 06:35:52 +00:00
Vo Minh Thu d6477c23e3 [FIX] long-polling: use start()/stop() instead of serve_forever().
This is done so detecting a possible PPID change works.
(So that the worker dies when its parent dies.)

bzr revid: vmt@openerp.com-20130502125907-2t96a26eo6c09x2f
2013-05-02 14:59:07 +02:00
Tejas Tank e9104c75af Merged Latest.
bzr revid: tta@openerp.com-20130501063402-qaecsju4nhxn0iy8
2013-05-01 12:04:02 +05:30
Christophe Simonis 6dc9530261 [IMP] new version number pattern
bzr revid: chs@openerp.com-20130430142938-1wwwhrnmv1r58pe3
2013-04-30 16:29:38 +02:00
Christophe Simonis a6f724c919 [IMP] parse_version: ignore saas~ componants
bzr revid: chs@openerp.com-20130430142037-zuxzk8vy9td89pv1
2013-04-30 16:20:37 +02:00
Launchpad Translations on behalf of openerp a7323c16ec Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130430052849-9vod5wz4nun7m48e
2013-04-30 05:28:49 +00:00
Xavier Morel de4c781392 [FIX] turns out @model is optional on field when using @search
it's required on @value though.

or on recursive @field calls, but let's just ignore that eldritch horror

bzr revid: xmo@openerp.com-20130429123831-waj3snv8pqcfda1n
2013-04-29 14:38:31 +02:00
Xavier Morel de13720f0e [IMP] rng of field tag in data xml
also fix nonsensical XML files specifying @ref and @model

bzr revid: xmo@openerp.com-20130429122423-qubsy2ccwo5tb8bq
2013-04-29 14:24:23 +02:00
Xavier Morel 2e8c9a48e1 [IMP] move testing of xml conversion alongside test data to ensure tests only run if module on addons_path/loaded
bzr revid: xmo@openerp.com-20130429122317-yzv4prie9hc7f7l6
2013-04-29 14:23:17 +02:00
Christophe Simonis 32a8feb361 [VERSION] update version to reflet reality
bzr revid: chs@openerp.com-20130429120826-rhej168qhyai8iqa
2013-04-29 14:08:26 +02:00
Xavier Morel 45bb6ec7f1 [ADD] file field type in xml_convert, tests
bzr revid: xmo@openerp.com-20130429112459-ol1ayn2z34j32r54
2013-04-29 13:24:59 +02:00
ggh-openerp 058c816a8e [IMP] Improved code
bzr revid: ggh@tinyerp.com-20130429105849-2peih2y8kknt65tu
2013-04-29 16:28:49 +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
Christophe Simonis 46b06bedf7 [IMP] convert: allow to have <act_window> tags with attribute multi="False" set
bzr revid: chs@openerp.com-20130426164022-nf9eldyge783b5r1
2013-04-26 18:40:22 +02:00
Olivier Dony 2f0ac65b59 [FIX] rml2pdf: more incorrect license headers in some source files, reported by Alec Leamas
Mixing LGPL 2.1 and AGPL 3.0 in the same source file
is incorrect, and the AGPLv3 license was added by
mistake: keep only LGPL license and preserve
copypright info.

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

bzr revid: odo@openerp.com-20130426161106-wdb2mw4u541zfwfy
2013-04-26 18:11:06 +02:00
Xavier Morel 282a7180ca [IMP] remove SQL definition of ir.ui.view, schema alterations
* Formally make model not required
* Remove idiotic default values on type and arch
* Make type not required (it's a function field!)

bzr revid: xmo@openerp.com-20130426145113-cf0t0xx24lk9mtgs
2013-04-26 16:51:13 +02:00
Xavier Morel 9d06d98735 [FIX] read_combined and get_inheriting_views_arch when no model provided
* view['model'] required for base_model_name handling, force its read
  as with arch (nb: arch could actually be made optional, if it's not
  being read can skip most of the inheritance complexity no?)

* if model=None in get_inheriting_views_arch, it generates domain to
  SQL `model is NULL`, except model required on ir.ui.view so unspec'd
  models are `''` (the empty string) not NULL => inherited views never
  found.

  Righter move might be to formally make model non-required on view.

bzr revid: xmo@openerp.com-20130426090237-u3rojvx4gow6uue1
2013-04-26 11:02:37 +02:00
Thibault Delavallée 229bb1333b [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130425143852-vslppf235z2dyhjc
bzr revid: tde@openerp.com-20130426074512-10d3bsx7f0cki2aj
2013-04-26 09:45:12 +02:00
Launchpad Translations on behalf of openerp 4e50f6861f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130426062350-ld4zwiqlk38jvfw1
2013-04-26 06:23:50 +00:00
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
Olivier Dony c8e8860d08 [FIX] res.partner: make use_parent_address field visible if set, even if parent is missing
This should not be needed but in the initial 7.0 branch
the default for use_parent_address was True so it was
set even on partners that had no parent company.
Now that the fields are read-only when that option
is enabled, it makes the address impossible to
edit. At least by making it visible we give the
user the opportunity of fixing it manually.

Can also be fixed at once with a single SQL
query:
UPDATE res_partner set use_parent_address = false
       WHERE parent_id IS NULL;

bzr revid: odo@openerp.com-20130425163916-ou7jjr6xbopfwvrc
2013-04-25 18:39:16 +02:00
Thibault Delavallée 5f76e998a5 [CLEAN] cleaning: set(list), use directly a set
bzr revid: tde@openerp.com-20130425142801-gwk9xsnhb3r20jji
2013-04-25 16:28:01 +02:00
Thibault Delavallée eb2815a550 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130425104400-13azs2fzf9oyl96m
2013-04-25 12:44:00 +02:00
Thibault Delavallée ccbb8e09a6 [REF] html_email_clean: refactored the algorithm to clean it, specifically about truncature. Now add classes to node when not removing them, to be managed by the web client.
bzr revid: tde@openerp.com-20130425104301-e7mv9o4pcjx6k2cn
2013-04-25 12:43:01 +02:00
Xavier Morel 7883944c19 [FIX] restrict number of fields read in model-less view test
model_ids not filtered in regular read, so get semi-random list of ids

bzr revid: xmo@openerp.com-20130425100247-2v043bbgpvcj3pv9
2013-04-25 12:02:47 +02:00
Xavier Morel e30b6edb41 [ADD] model-less fields & views munging thing
bzr revid: xmo@openerp.com-20130425093739-v0kya956yzcy5wp3
2013-04-25 11:37:39 +02:00
Launchpad Translations on behalf of openerp 83fb6fbf02 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130425060541-r1eqpc1djb3vy953
bzr revid: launchpad_translations_on_behalf_of_openerp-20130425060609-9otf0125cci1hjvi
2013-04-25 06:06:09 +00:00
Xavier Morel 4923d1b82d [MOVE] ir.ui.view tests inside base tests
bzr revid: xmo@openerp.com-20130424154310-vdygcckrz6jm578p
2013-04-24 17:43:10 +02:00
Ronald Portier 4634dd6f8e [FIX] Add __iter__ method to browse_null to prevent server hang.
lp bug: https://launchpad.net/bugs/1172292 fixed

bzr revid: ronald@therp.nl-20130424142958-u5r2mxtxqj9v431h
2013-04-24 16:29:58 +02:00
Xavier Morel 73ac06ea51 [MERGE] from trunk because ???
bzr revid: xmo@openerp.com-20130424142412-hk38mnzkafyigh00
2013-04-24 16:24:12 +02:00
Xavier Morel c08513763c [NOTSURE] move __view_look_dom_arch into ir.ui.view
Also alter BaseModel._view_look_dom_arch to proxy to method above.

bzr revid: xmo@openerp.com-20130424135825-grjfgbjuc4ozzdqy
2013-04-24 15:58:25 +02:00
Xavier Morel 66121aaec7 [IMP] try to make __view_look_dom_arch independent from model
bzr revid: xmo@openerp.com-20130424133716-6qm0n00yiussz1ra
2013-04-24 15:37:16 +02:00
Olivier Dony 0ee404c054 [FIX] res.partner: always call write() with a list of IDs, a single ID is not valid! (even if it works sometimes)
bzr revid: odo@openerp.com-20130424131625-aeljtyo5yuiyrlcz
2013-04-24 15:16:25 +02:00
Xavier Morel fb492d98ba [ADD] behavior and tests for default & ancestors, fallback handling in read_combined
bzr revid: xmo@openerp.com-20130424130907-6d6lkrkrgqv0hsfq
2013-04-24 15:09:07 +02:00
Quentin (OpenERP) 6aee197c4b [IMP] ir_model_data: docstring of check_object_reference updated to reflect what it is really doing
bzr revid: qdp-launchpad@openerp.com-20130424120108-d10vqn51hk4djaj1
2013-04-24 14:01:08 +02:00
Quentin (OpenERP) 4ca68886bf [IMP] ir_model_data: added raise_on_access_error as argument to check_object_reference()
bzr revid: qdp-launchpad@openerp.com-20130424101155-1lu2jgceb022oc8u
2013-04-24 12:11:55 +02:00
Quentin (OpenERP) c474a6c9fa [MERGE] forward port merge of server v7 up to revision 4957
bzr revid: qdp-launchpad@openerp.com-20130424100657-qqtqp8jz0un1js49
2013-04-24 12:06:57 +02:00
Antony Lesuisse 77c4a0dd44 [VER] change serie to 8.0
bzr revid: al@openerp.com-20130424100116-873ylmqs1s18tugs
2013-04-24 12:01:16 +02:00
Xavier Morel 8715746672 [IMP] move stuff around, try building flatter top-down API with read_combined as utility 'do all the things' hook
bzr revid: xmo@openerp.com-20130424095114-4nw0nfuxzx4n1ltv
2013-04-24 11:51:14 +02:00
Quentin (OpenERP) 01a3c67183 [REV] revert of commit 4953 that was not appropriate for a stable version. Will be back in trunk
bzr revid: qdp-launchpad@openerp.com-20130424093403-9dk8yap427kbndzi
2013-04-24 11:34:03 +02:00
Olivier Dony 230a06dd70 [FIX] res.partner: correct store trigger for display_name, forward port of addons 7.0 fix
Corresponding addons 7.0 patch: rev. 9057
revision-id: odo@openerp.com-20130423130656-celrtr352yht19ro

bzr revid: odo@openerp.com-20130424091651-7k7x03c5xhe66zsl
2013-04-24 11:16:51 +02:00
Launchpad Translations on behalf of openerp 26e488f2fb Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130424052821-pkggcy9qr4rmhl53
bzr revid: launchpad_translations_on_behalf_of_openerp-20130424052845-9nzv2aje2g99c9eq
2013-04-24 05:28:45 +00:00
Antony Lesuisse 6a2e96bf90 [FIX] workers, listen backlog based on the number of workers
bzr revid: al@openerp.com-20130423222245-i3gw87v7rktsb23y
2013-04-24 00:22:45 +02:00
Christophe Simonis 261dea6fec [MERGE] forward port of server v7 up to revision 4954
bzr revid: qdp-launchpad@openerp.com-20130422093655-txqmbalod6qmw1s6
bzr revid: chs@openerp.com-20130423183723-9kiexdyzdew8iuzm
2013-04-23 20:37:23 +02:00
Christophe Simonis 60f0bd08ee [FIX] expression: allow creating child_of expression even if "id" field has been redefined, courtesy of Gustavo Adrian Marino
lp bug: https://launchpad.net/bugs/1030942 fixed
lp bug: https://launchpad.net/bugs/1131992 fixed

bzr revid: chs@openerp.com-20130423181926-yk628txd6yiybtko
2013-04-23 20:19:26 +02:00
Xavier Morel dfc1800305 [MERGE] from trunk to match addons
bzr revid: xmo@openerp.com-20130423155233-c7tyowoqsfzzdjv8
2013-04-23 17:52:33 +02:00
Xavier Morel 3ac47a587e [IMP] remove deprecated explicit setting of type on views
bzr revid: xmo@openerp.com-20130423154456-wt4aeb6yr963jbye
2013-04-23 17:44:56 +02:00
Thibault Delavallée 78ac31e260 [IMP] html_email_clean: now handles maximum character number truncature.
bzr revid: tde@openerp.com-20130423153727-tv0neudvlalaepu2
2013-04-23 17:37:27 +02:00
Xavier Morel d40ec67c2d [IMP] move application of view inheritance outside of fields_view_get and into View.
change get_root_ancestor to return just the id of the ancestor view

bzr revid: xmo@openerp.com-20130423150844-eubxue9vbtc6jhof
2013-04-23 17:08:44 +02:00
Thibault Delavallée f97bd8bd63 [REF] html_email_clean: refactoring of the algorithm, now better taking into account hotmail / msoffice emails. Added tests.
bzr revid: tde@openerp.com-20130423144903-he22jz9zs6nc6dsd
2013-04-23 16:49:03 +02:00
Xavier Morel 8914886040 [IMP] simplify ir.ui.view.get_root_ancestor by using browse records
Also only case which should result in the id not existing is the
initial record, if a view_id is explicitly provided. So the loop can
avoid it's, it's traversing through an m2o so if the m2o value is not
null the next record in the chain should always exist.

bzr revid: xmo@openerp.com-20130423135739-jve1fe2it8q4gkwh
2013-04-23 15:57:39 +02:00
Xavier Morel 0676c84be5 [IMP] move view_id initialization out of loop, make flow simpler
bzr revid: xmo@openerp.com-20130423133640-lci2djdj45ztdtu8
2013-04-23 15:36:40 +02:00
Xavier Morel 1dac8a7a34 [ADD] tests for *not* finding root views
bzr revid: xmo@openerp.com-20130423133617-c4eszsf09b32hzl1
2013-04-23 15:36:17 +02:00
Xavier Morel dd43214fe1 [ADD] tests to get_root_ancestor
use a default view_type of form in the tests, because whatever

bzr revid: xmo@openerp.com-20130423132523-upbgbt2a3r7cgs08
2013-04-23 15:25:23 +02:00
Xavier Morel aef4ce51a7 [IMP] move fetching of root view into ir.ui.view
bzr revid: xmo@openerp.com-20130423124657-zkogrodgdw0ymf2f
2013-04-23 14:46:57 +02:00
Tejas Tank 8856845b76 Merged Latest.
bzr revid: tta@openerp.com-20130423112355-2y1v4an50mahb2iz
2013-04-23 16:53:55 +05:30
Xavier Morel c212710f25 [IMP] move resolution of view_ref outside of root-ancestor-searching loop
bzr revid: xmo@openerp.com-20130423111929-fs49v0xrahqsi48u
2013-04-23 13:19:29 +02:00
Xavier Morel e996f92e6c [REF] move apply_inheritance_specs to ir.ui.view
also moved raise_view_error utility function

bzr revid: xmo@openerp.com-20130423105856-558rl6ankd4g3qb0
2013-04-23 12:58:56 +02:00
Quentin (OpenERP) a98ae1d753 [IMP/FIX] ir_model_data: added check_object_reference() in order to return a value only if the uid has read access on the targeted object. It avoids raising access rights errors further in the process and prevents duplicating that same code in all addons
bzr revid: qdp-launchpad@openerp.com-20130423103706-u4wk2y65kam587c6
2013-04-23 12:37:06 +02:00
Xavier Morel b0f2d3044a [FIX] don't 'double tap' when applying view inheritance
iter(exclude_base=False) would add the base view (being extended) to the sequence, and thus start by extending the base view with itself.

bzr revid: xmo@openerp.com-20130423100845-ryumkx12cwv60pc1
2013-04-23 12:08:45 +02:00
Launchpad Translations on behalf of openerp 6b04a532b8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130423060902-2j8xouki50aemi14
bzr revid: launchpad_translations_on_behalf_of_openerp-20130423061017-5os2p9ztugb6jjph
bzr revid: launchpad_translations_on_behalf_of_openerp-20130423061019-n2660taj1o9os75c
2013-04-23 06:10:19 +00:00
Olivier Dony 41146460c0 [FIX] rml2html: incorrect license headers in some source files, reported and contributed by Alec Leamas
Mixing LGPL 2.1 and AGPL 3.0 in the same source file
is incorrect, and the AGPLv3 license was added by
mistake: keep only LGPL license and preserve
copypright info.

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

bzr revid: odo@openerp.com-20130422170420-in1wo45v3q8q0fhr
2013-04-22 19:04:20 +02:00