Commit Graph

5300 Commits

Author SHA1 Message Date
Fabien Meghazi 83055fb904 [IMP] pynazilint
bzr revid: fme@openerp.com-20130808080742-do371111f1rmq3n0
2013-08-08 10:07:42 +02:00
Christophe Simonis 98fda4690a [MERGE][ADD] add css for module html description
bzr revid: chs@openerp.com-20130807155940-scd4lb0eoi6364kd
2013-08-07 17:59:40 +02:00
Fabien Meghazi 89a6d2744c [FIX] make QWeb usable in standalone mode
bzr revid: fme@openerp.com-20130807133939-3c2jxg5btjj8d2rq
2013-08-07 15:39:39 +02:00
Christophe Matthieu 2e88574a57 [IMP] res.partner: add us country for demo data
bzr revid: chm@openerp.com-20130807090054-5sa1vst28w9exenw
2013-08-07 11:00:54 +02:00
Fabien Meghazi 1b40e9265f [FIX] Replace views string interpolation by manual replacement.
No need to double % in views anymore

bzr revid: fme@openerp.com-20130806113626-t7y3v1trtfdtitar
2013-08-06 13:36:26 +02:00
Martin Trigaux 122f0aa9b3 [FIX] workerst: revert commit 4930, remove useless loop and if condition always validated
bzr revid: mat@openerp.com-20130806094222-w61oolrjo66ulg3n
2013-08-06 11:42:22 +02:00
Christophe Matthieu 81ae0babf2 [FIX] qweb: many2one field = False
bzr revid: chm@openerp.com-20130806091554-dpjl4ienh21c14zi
2013-08-06 11:15:54 +02:00
Martin Trigaux f47ac59b38 [IMP] workers: remove unused code, _acquire_job does not return any value
lp bug: https://launchpad.net/bugs/1193399 fixed

bzr revid: mat@openerp.com-20130806091032-5w6km2pmbl20zicl
2013-08-06 11:10:32 +02:00
Christophe Matthieu bf44e33c87 [FIX] qweb: access right for name_get on many2one field
bzr revid: chm@openerp.com-20130806090704-4igjnhsuwi59hkpm
2013-08-06 11:07:04 +02:00
Christophe Matthieu 3f90f2c5e5 [IMP] qweb: clean code
bzr revid: chm@openerp.com-20130805154542-l7dovsfikqk4l32y
2013-08-05 17:45:42 +02:00
Frédéric van der Essen bd81cfd1f2 [FIX] only self-close void elements
bzr revid: fva@openerp.com-20130805130605-8decmjyplrstszgp
2013-08-05 15:06:05 +02:00
Christophe Matthieu 343ff62c8c [FIX] qweb: div autoclose
bzr revid: chm@openerp.com-20130805124236-59j42sm6ararml1t
2013-08-05 14:42:36 +02:00
Christophe Matthieu d535b45810 [MERGE] from website-al
bzr revid: chm@openerp.com-20130805083938-xquerxe417mmvh73
2013-08-05 10:39:38 +02:00
Fabien Pinckaers b8f5817c8b [IMP] branding distribution in views
bzr revid: fp@openerp.com-20130804205215-0g8fvzy8aducrc3v
2013-08-04 22:52:15 +02:00
Fabien Pinckaers f8a71e4a87 [FIX] eval t-field
bzr revid: fp@openerp.com-20130804202720-4bxsshh2ykzkjo7a
2013-08-04 22:27:20 +02:00
Fabien Pinckaers 9c0cf69509 [IMP] changed t-field syntax from <div t-record=record t-field='field'/> to <div t-field='record.field'/>
bzr revid: fp@openerp.com-20130804202331-plkhcfry1zg880rx
2013-08-04 22:23:31 +02:00
Launchpad Translations on behalf of openerp cbf3ad9f60 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130803055504-6ay7gnpxm1jno8g3
2013-08-03 05:55:04 +00:00
Xavier Morel bfd97c110f [FIX] typo in attribute name, don't distribute on t-field
bzr revid: xmo@openerp.com-20130802114606-ef0pddt2uhc4ghlj
2013-08-02 13:46:06 +02:00
Xavier Morel 4cc13f0625 [IMP] branding distribution
* don't serialize subtrees to string all the time
* don't add XML root and prefix by string munging
* extract trigger and moved branding attributes to constants
* reduce unnecessary nesting
* don't brand sub-elements of head

bzr revid: xmo@openerp.com-20130802104208-rirrsgtxp2lydd7m
2013-08-02 12:42:08 +02:00
Christophe Matthieu 17b6f1be30 [FIX] qweb.py: encode in utf8 for special char and ascii code
bzr revid: chm@openerp.com-20130802040222-ew2aaxaogli86n6s
2013-08-02 06:02:22 +02:00
Christophe Matthieu f6172723d0 [MERGE] from trunk
bzr revid: chm@openerp.com-20130801124635-yj8xny76sl5ea0r2
2013-08-01 14:46:35 +02:00
Fabien Pinckaers 402907df8d [FIX] removed print statement that crashes on runbot ascii
bzr revid: fp@openerp.com-20130731191544-nbyrlxz2xzycammn
2013-07-31 21:15:44 +02:00
Vo Minh Thu a507a9ea05 [MERGE] workflows: added some documentation and some tests.
bzr revid: vmt@openerp.com-20130731151636-05lgd5i08rie6yqp
2013-07-31 17:16:36 +02:00
Vo Minh Thu 07f5e9a4d6 [REM] workflows: removed temporary run.py script from the tests.
bzr revid: vmt@openerp.com-20130731151104-mxo8qu5x12krto0h
2013-07-31 17:11:04 +02:00
Fabien Meghazi 390c968e17 [FIX] fix t-ignore
bzr revid: fme@openerp.com-20130731150422-p48vmtulerqqa4b9
2013-07-31 17:04:22 +02:00
niv-openerp 245b009a0b [FIX] avoid error message in the web client when we go on the Apps menu, replace it with a warning message explaining that the apps is not working currently
bzr revid: nicolas.vanhoren@openerp.com-20130731144129-x9po16ihtbp4rj8m
2013-07-31 16:41:29 +02:00
Antony Lesuisse 656836cee9 apps warning non sticky
bzr revid: al@openerp.com-20130731142612-s71o7uh9s2soovh8
2013-07-31 16:26:12 +02:00
Martin Trigaux ef3e11c03d [FIX] res_currency: pass context to currency function
bzr revid: mat@openerp.com-20130731123812-oztjyktifs23lhi9
2013-07-31 14:38:12 +02:00
Fabien Meghazi a17606df0f [ADD] t-ignore branding opt-out
bzr revid: fme@openerp.com-20130731123603-y7dmh6rxr2lq9bcw
2013-07-31 14:36:03 +02:00
Martin Trigaux 3393aa645c [FIX] res_currency: update linked tests
bzr revid: mat@openerp.com-20130731111054-g5p094izprzok3eo
2013-07-31 13:10:54 +02:00
Martin Trigaux fc2eb46b40 [IMP] res_currency: more modular solution
bzr revid: mat@openerp.com-20130731110525-garlkomohzcyp4pd
2013-07-31 13:05:25 +02:00
Christophe Matthieu ad6efa7735 [FIX] qweb.py: render_tag_field
bzr revid: chm@openerp.com-20130731102140-uk1tg9p092sqymzp
2013-07-31 12:21:40 +02:00
Martin Trigaux 48daabd465 [FIX] res_currency: avoid getting blocked when creating a curreny without rates
bzr revid: mat@openerp.com-20130731100626-kgxpvfkwkg13lpy1
2013-07-31 12:06:26 +02:00
Christophe Matthieu 443129ca7a [IMP] qweb: fix for many2one with None value
bzr revid: chm@openerp.com-20130730150905-9qh0y5geug9uz2v9
2013-07-30 17:09:05 +02:00
Olivier Dony d2ce7b4120 [FIX] ir.model: during creation of custom models, the _auto_init call should also take care of custom fields created on-the-fly
The _auto_init call in ir.model.fields creation will not
do it because it happens before the insertion of the model
in the registry. It will only work for later addition of
fields.

bzr revid: odo@openerp.com-20130730114645-185kbupcrbtnv1tf
2013-07-30 13:46:45 +02:00
Martin Trigaux 6fcd169b52 [FIX] report: force encoding of dateformat string
some locales have unicode into the date format (eg: zh_CN uses %Y年%m月%d日)
conversion using str() would not work for them
opw #593932

bzr revid: mat@openerp.com-20130730125534-77hfb2k6z7epbhsv
2013-07-30 14:55:34 +02:00
Christophe Simonis bcb7103e51 [FIX] module views: fix css for html description
bzr revid: chs@openerp.com-20130729170405-twhk9uo29t90ktmv
2013-07-29 19:04:05 +02:00
Christophe Simonis e0d0fc137b [ADD] module views: add css for html description (wip)
bzr revid: chs@openerp.com-20130729163345-lvabk8fu23plvtm4
2013-07-29 18:33:45 +02:00
Launchpad Translations on behalf of openerp 20a0428e6f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130726054722-d69j4mwclp38job7
bzr revid: launchpad_translations_on_behalf_of_openerp-20130727052743-v62n9j5jvp11j2ji
bzr revid: launchpad_translations_on_behalf_of_openerp-20130728063405-ksa7gfbj9k4hajaj
bzr revid: launchpad_translations_on_behalf_of_openerp-20130729055426-094ilqmvjoocrzmm
bzr revid: launchpad_translations_on_behalf_of_openerp-20130727052813-u58hk431f664vao7
bzr revid: launchpad_translations_on_behalf_of_openerp-20130728063427-t032j0icp8pkksol
bzr revid: launchpad_translations_on_behalf_of_openerp-20130729055503-id0512tblbixh8to
2013-07-29 05:55:03 +00:00
Christophe Matthieu 27b69126d2 [MERGE] from trunk
bzr revid: chm@openerp.com-20130726141834-9nroj7wi4fjhd5s4
2013-07-26 16:18:34 +02:00
Vo Minh Thu fc435af428 [FIX] workflows: fixed the non-deterministic workflow K, added workflow L in tests.
bzr revid: vmt@openerp.com-20130726103600-t58rshix01q7vpot
2013-07-26 12:36:00 +02:00
Christophe Matthieu d12e8dd387 [IMP] remove portal_anonymous, create group_public in server and public user in website
bzr revid: chm@openerp.com-20130726090515-jle1l2joqzw2zlnt
2013-07-26 11:05:15 +02:00
Xavier Morel 1cb4b63da8 [IMP] add field type to QWeb t-record output
bzr revid: xmo@openerp.com-20130726133505-n2ekzhk2dkbdvvdj
2013-07-26 15:35:05 +02:00
Thibault Delavallée d3f0d70efe [DOC] server actions: added comments in various methods
bzr revid: tde@openerp.com-20130726084138-vca3lamr0ye3bwuv
2013-07-26 10:41:38 +02:00
Thibault Delavallée fd2f1e1d6a [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130726080751-mlegngtci0w9z7yb
2013-07-26 10:07:51 +02:00
Launchpad Translations on behalf of openerp ff8af0b04d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130725051258-3nzwdk9vxqbek8el
bzr revid: launchpad_translations_on_behalf_of_openerp-20130726051450-12v8h0so01s5y7xn
2013-07-26 05:14:50 +00:00
Vo Minh Thu 68ff38763a [ADD] workflows: some split_mode tests.
I am not sure if the Workflow K is determinist though
so it could maybe end up in activity c instead of b
(and thus fail the tests).

bzr revid: vmt@openerp.com-20130725143056-p6oic1m9jjke9j8r
2013-07-25 16:30:56 +02:00
Thibault Delavallée 8c7e11aca3 [IMP] server action: improved form view to be more clear
bzr revid: tde@openerp.com-20130725122257-im3172kw7k1ksgu7
2013-07-25 14:22:57 +02:00
Thibault Delavallée f737eb63d0 [IMP] ir_actions_server: added doc + comments + recursion check
orm: added _check_m2my_recursion, to check loops in many2many recursive fields
tools: removed sms_send

bzr revid: tde@openerp.com-20130725104914-dutxfon3odp8z167
2013-07-25 12:49:14 +02:00
Vo Minh Thu 64ddf5f264 [ADD] workflows: more tests.
bzr revid: vmt@openerp.com-20130725104327-l7onjhipi6fdnrj6
2013-07-25 12:43:27 +02:00
Vo Minh Thu ae01b6ab21 [ADD] workflows: added some tests.
bzr revid: vmt@openerp.com-20130725094246-4v2p0sgzocnt5vwf
2013-07-25 11:42:46 +02:00
Thibault Delavallée 7c5429e0d1 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130725083500-xp21mgp9w2cu8vzi
2013-07-25 10:35:00 +02:00
Denis Ledoux a3f57cd43b [FIX]ir_attachement: if res_id = 0, allow to read if allowed to read model
bzr revid: dle@openerp.com-20130724130936-u1payhg18hcssj0z
2013-07-24 15:09:36 +02:00
Christophe Simonis 634fef80ef [IMP] WorkerCron: make the cron workers not all starting at the first database. Better repartition of work
[IMP] WorkerCron: renice process

Backport of commits 4891 chs@openerp.com-20130701120345-4687avu7re5pw6sf and 4892 chs@openerp.com-20130701125548-sgcaf71avwpleml1
of saas-1 branch

bzr revid: chs@openerp.com-20130724083454-fvmcm8be1ztezleg
2013-07-24 10:34:54 +02:00
Vo Minh Thu 2397c1a98b [IMP] workflows: added docstring, some variable renaming (to wkf_expr).
bzr revid: vmt@openerp.com-20130723125242-mpzpjfbnyrmx3bzt
2013-07-23 14:52:42 +02:00
Launchpad Translations on behalf of openerp b69a97f2af Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130720062329-mtrdbu252gvcpm7v
bzr revid: launchpad_translations_on_behalf_of_openerp-20130722055939-dhitotmhlxni5rhv
bzr revid: launchpad_translations_on_behalf_of_openerp-20130723053256-3blj73xxu210ln3d
bzr revid: launchpad_translations_on_behalf_of_openerp-20130723053317-s9hfdou4czw2abjh
2013-07-23 05:33:17 +00:00
Vo Minh Thu 0568f5c653 [ADD] test_workflow: added some tests for the workflows.
bzr revid: vmt@openerp.com-20130722151740-mucw6i5vn38blh66
2013-07-22 17:17:40 +02:00
Fabien Meghazi 31cd39e0df [FIX] templates: Set tagname for qweb
bzr revid: fme@openerp.com-20130722105938-49hcqq8ip5xsid8h
2013-07-22 12:59:38 +02:00
Fabien Meghazi cb56924437 [ADD] xml data <template> helper
bzr revid: fme@openerp.com-20130722101210-idtrfwva7e903oq8
2013-07-22 12:12:10 +02:00
Christophe Simonis 03381c761d [FIX] expression: a valid leaf must have a non empty string as first element or be the magic TRUE_LEAF/FALSE_LEAF
lp bug: https://launchpad.net/bugs/1197323 fixed

bzr revid: chs@openerp.com-20130719091903-28ez0txxyjh6qiii
2013-07-19 11:19:03 +02:00
Fabien Meghazi 81ec0dbc1e [REM] Removed arch_file from ir.ui.view
bzr revid: fme@openerp.com-20130718170314-f6g6topynizgnwl6
2013-07-18 19:03:14 +02:00
Dharmraj Zala (OpenERP Trainee) 6c063627e6 [FIX] encoded some stirng with utf-8 which could not be converted into ascii
bzr revid: dizzy.zala@gmail.com-20130718094943-xgru5gi07uqq0b5v
2013-07-18 15:19:43 +05:30
Thibault Delavallée b802e66079 [IMP] [FIX] ir_actions_server: form view fixes and improvements + some model update to ease the process of creating new server actions.
bzr revid: tde@openerp.com-20130717120936-52f0emxeufinzqg4
2013-07-17 14:09:36 +02:00
Thibault Delavallée 4f7afae100 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130717074450-puhtirdoqswf55pl
2013-07-17 09:44:50 +02:00
Launchpad Translations on behalf of openerp f3e128cb89 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130706061657-5n94hzrjw9qy5efq
bzr revid: launchpad_translations_on_behalf_of_openerp-20130710055130-0m6p2gfsn1tod5bq
bzr revid: launchpad_translations_on_behalf_of_openerp-20130712063420-lu76zka6n8deodkk
bzr revid: launchpad_translations_on_behalf_of_openerp-20130714055831-4f7mdp0hocv4r25l
bzr revid: launchpad_translations_on_behalf_of_openerp-20130717072430-94onks9pjgbvbsgb
2013-07-17 07:24:30 +00:00
Thibault Delavallée a95b321883 [FIX] Fixed active_ids / active_id management, wrong getter on active_id making server action run twice.
bzr revid: tde@openerp.com-20130716082344-cvw0djli0n8pq3bt
2013-07-16 10:23:44 +02:00
Thibault Delavallée 8397f3de47 [FIX] [IMP] ir.actions.server: better management of active_id / active_ids / no id
bzr revid: tde@openerp.com-20130715160325-95h13stsv6516nwr
2013-07-15 18:03:25 +02:00
Thibault Delavallée 62bcae6fcc [REF] ir.actions.server: cleaning and refactoring.
Main modifications:
- removed dummy, email (now coming with email_template), loop, sms
- cleaned code, made it easy to override
- improved view to ease the definition of new server actions
- changed/updated fields
- added tests
- added changelog

bzr revid: tde@openerp.com-20130715152424-deucc2rlg2ax3tyc
2013-07-15 17:24:24 +02:00
Christophe Matthieu 247d14708f [MERGE] from trunk
bzr revid: chm@openerp.com-20130710151752-glrwklmz25xq7oh0
2013-07-10 17:17:52 +02:00
Thibault Delavallée 5aad20b9a6 [IMP] fields: date, datetime: added MONTHS variable holding list of (month_number, month_name)
bzr revid: tde@openerp.com-20130709123740-18t5yhbtoru6vpne
2013-07-09 14:37:40 +02:00
Launchpad Translations on behalf of openerp b2d18bb876 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130706055328-0sowfultip6m4cbf
2013-07-06 05:53:28 +00:00
Christophe Simonis 58a4677f46 [FIX] qweb: t-field must search all_columns
bzr revid: chs@openerp.com-20130702204949-nqzhz226d24fvthx
2013-07-02 22:49:49 +02:00
Christophe Simonis 5a5d9d5941 merge upstream
bzr revid: chs@openerp.com-20130702191613-djzicmgpvrhh05zi
2013-07-02 21:16:13 +02:00
Fabien Pinckaers 726b333148 [FIX] copy() on ir.ui.view
bzr revid: fp@tinyerp.com-20130702190301-oh7kj8iatbij3bm1
2013-07-02 21:03:01 +02:00
Christophe Simonis 0a5b3c9fd7 [FIX] views: correct distribute branding
bzr revid: chs@openerp.com-20130702181439-4ghn4ciz5efmzumk
2013-07-02 20:14:39 +02:00
Christophe Simonis 906da9b7ef [FIX] views: correct distribute branding
bzr revid: chs@openerp.com-20130702173648-96mxveli0eh1hzcj
2013-07-02 19:36:48 +02:00
Antony Lesuisse dbe58b7dde qweb t-field
bzr revid: al@openerp.com-20130702164805-df3a03szrrx114r1
2013-07-02 18:48:05 +02:00
Christophe Simonis 25388630cc [FIX] views: distribute branding only if not t-* attributes
bzr revid: chs@openerp.com-20130702164157-nsfq9xpswj0r56ry
2013-07-02 18:41:57 +02:00
Antony Lesuisse 2bac4d24c4 distribute branding take care of call and t
bzr revid: al@openerp.com-20130702160750-0yv4g6bcnh4v80rp
2013-07-02 18:07:50 +02:00
Antony Lesuisse d346320699 distribute branding for fields
bzr revid: al@openerp.com-20130702154446-7fpel212amdwmmjz
2013-07-02 17:44:46 +02:00
Antony Lesuisse 8f25c9bdae be xml in the db
bzr revid: al@openerp.com-20130702145605-nkzjall1msp6ggsa
2013-07-02 16:56:05 +02:00
Christophe Simonis 5a58a48ef5 [MERGE] forward port of branch saas-1 up to revid 4893 chs@openerp.com-20130701153735-xnbb8zauabf1k63u
bzr revid: chs@openerp.com-20130702144745-763n9cdphkppshxl
2013-07-02 16:47:45 +02:00
Christophe Matthieu f34b894b22 [FIX] qweb.py: t-set t-value
bzr revid: chm@openerp.com-20130702120018-w9llyk8indqyywmo
2013-07-02 14:00:18 +02:00
Martin Trigaux 641c4fe784 ir_ui_view: parse using lxml.html instead of etree
bzr revid: mat@openerp.com-20130702125916-ahk6jkim08j2voam
2013-07-02 14:59:16 +02:00
Fabien Meghazi 1e303767ee m
bzr revid: fme@openerp.com-20130702124313-cuehsln93w7mzhqx
2013-07-02 14:43:13 +02:00
Vo Minh Thu a1f70b171b [MERGE] company form view: display "Click to set your company logo." in edit mode only.
bzr revid: vmt@openerp.com-20130702113155-cqxun8m1f04jn60o
2013-07-02 13:31:55 +02:00
Vo Minh Thu fac1397945 [MERGE] Estonia currecny is EUR since 2011.
bzr revid: vmt@openerp.com-20130702111017-qn7v4vwdsgvvgla6
2013-07-02 13:10:17 +02:00
Vo Minh Thu 2692e127f9 [MERGE] ir_model_data: add `module` field to tree view (to allow group by modul).
bzr revid: vmt@openerp.com-20130702092232-d1gry5wnfcet2p06
2013-07-02 11:22:32 +02:00
Martin Trigaux e372cbbce4 add t-field and t-record in rendering
bzr revid: mat@openerp.com-20130701155541-20plkar9a89qosij
2013-07-01 17:55:41 +02:00
Christophe Simonis 955eaca4fa [FIX] multicorn: terminate long-polling process via SIGKILL
bzr revid: chs@openerp.com-20130701153735-xnbb8zauabf1k63u
2013-07-01 17:37:35 +02:00
Vo Minh Thu 7786d96095 [FIX] ir_ui_view: restore the inheritance mechanism for model-specific inheritance:
A view for a given model can inherit from a root view specified for
another model. When applying the modifying views to the root view,
only the views with the same model as the child view must be
considered. This patch restore that behavior.

bzr revid: vmt@openerp.com-20130701145334-ojp1plqjveym7cj7
2013-07-01 16:53:34 +02:00
Martin Trigaux a7b0a0379c add save method for javascript call
bzr revid: mat@openerp.com-20130701135313-absej6vq16aztrc8
2013-07-01 15:53:13 +02:00
Antony Lesuisse b0a348d24e fields_view_get view_id
bzr revid: al@openerp.com-20130701130258-52nvw8aj6s8bcjaf
2013-07-01 15:02:58 +02:00
Christophe Simonis ac8dc26c65 [IMP] WorkerCron: renice process
bzr revid: chs@openerp.com-20130701125548-sgcaf71avwpleml1
2013-07-01 14:55:48 +02:00
Antony Lesuisse 3b0935325e fields_view_get apply post processing even for default views
bzr revid: al@openerp.com-20130701122626-9g2uo6ox3p74e55q
2013-07-01 14:26:26 +02:00
Christophe Simonis ad8fcbffa2 [IMP] WorkerCron: make the cron workers not all starting at the first database. Better repartition of work
bzr revid: chs@openerp.com-20130701120345-4687avu7re5pw6sf
2013-07-01 14:03:45 +02:00
Vo Minh Thu f42bcfa0f8 [FIX] ir_ui_view: does no longer provide root_ancestor(), so removed corresponding test.
bzr revid: vmt@openerp.com-20130701114129-03jtrx0g6abk6xev
2013-07-01 13:41:29 +02:00
Vo Minh Thu 3b4ecbf033 [FIX] ir_ui_view: it seems the iter() method is no longer there, removed the test..
bzr revid: vmt@openerp.com-20130701112930-k8rhlvgbaj1y1zl5
2013-07-01 13:29:30 +02:00
Vo Minh Thu aba5593f01 [FIX] ir_ui_view: get_inheriting_views_arch() does no longer take a model.
bzr revid: vmt@openerp.com-20130701112726-600dsa9udm0rt4uj
2013-07-01 13:27:26 +02:00
Martin Trigaux b4e6c6e22d add count for inherit_branding
bzr revid: mat@openerp.com-20130701112309-hf3rarslfc2hhvr4
2013-07-01 13:23:09 +02:00
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