Commit Graph

3625 Commits

Author SHA1 Message Date
Antony Lesuisse e77725eb89 [IMP] improve experience on for openerp developers on windows, notes in setup.py and fix some imports
bzr revid: al@openerp.com-20121107015708-o9l893ll9f32wjcy
2012-11-07 02:57:08 +01:00
Olivier Dony 0357fddc61 [FIX] orm,web_services: properly return results of workflow triggers
bzr revid: odo@openerp.com-20121106181507-ss1w425c1omsn3sb
2012-11-06 19:15:07 +01:00
Olivier Dony 4ba1696ce2 [FIX] res.partner: read image files in binary mode
lp bug: https://launchpad.net/bugs/1048040 fixed

bzr revid: odo@openerp.com-20121106181502-tzqmrhs0u8odngvz
2012-11-06 19:15:02 +01:00
Fabien Meghazi c71ce60400 [IMP] ir.translation, raise exception when trying to translate fields when no extra language is installed.
bzr revid: fme@openerp.com-20121106162753-6eqbhnwqhjgeun78
2012-11-06 17:27:53 +01:00
Vo Minh Thu 97455e2c2b [MERGE] Made the assertion report available on the registry.
bzr revid: vmt@openerp.com-20121106112508-1jeb6zgtg1g67h3k
2012-11-06 12:25:08 +01:00
Xavier Morel 9037ca4480 [FIX] test data: duplicating existing demo data crimps my style
bzr revid: xmo@openerp.com-20121106093237-vsbo2l5pjup42frp
2012-11-06 10:32:37 +01:00
Xavier Morel 18f885b10f [FIX] recursive conversion of o2ms in import
added new test cases from gkr

bzr revid: xmo@openerp.com-20121106084206-1cckepflh9h4g1yv
2012-11-06 09:42:06 +01:00
Xavier Morel f02c4266d6 [IMP] better logging during import failure
bzr revid: xmo@openerp.com-20121105100717-pqexs7j710s2ea2i
2012-11-05 11:07:17 +01:00
Launchpad Translations on behalf of openerp c1d04e00d6 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121106045008-xngylwi17dh211vm
2012-11-06 04:50:08 +00:00
Raphael Collet 750ef9d931 [IMP] fields.related._fnct_read: small improvements
bzr revid: rco@openerp.com-20121105131712-sc70thn3wpyq6o7y
2012-11-05 14:17:12 +01:00
Raphael Collet 52c29ae1c0 [FIX] fields.related._fnct_read: fix handling of type many2one
bzr revid: rco@openerp.com-20121105094929-oz7trjzwlqw90499
2012-11-05 10:49:29 +01:00
Vo Minh Thu 7169f91bc3 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20121105090123-difc1iksbnb28mtv
2012-11-05 10:01:23 +01:00
Raphael Collet 401dd57f30 [MERGE] from trunk
bzr revid: rco@openerp.com-20121105083756-jdr9fxp32djpifqk
2012-11-05 09:37:56 +01:00
Raphael Collet db13e8591a [FIX] fields.related._fnct_write: handle the case where ids is a single id
bzr revid: rco@openerp.com-20121105082259-rcmcjs5n1eimtcpl
2012-11-05 09:22:59 +01:00
Launchpad Translations on behalf of openerp 958edad965 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121105044053-iwdfmabj0neffc9o
2012-11-05 04:40:53 +00:00
Fabien Pinckaers 01cd1742cc [FIX]
bzr revid: fp@openerp.com-20121102162805-tp46s4x40dwedkij
2012-11-02 17:28:05 +01:00
Fabien Pinckaers 1cdba81560 [MERGE] multi=True
bzr revid: fp@openerp.com-20121102160613-rwq05zxz5r32ul80
2012-11-02 17:06:13 +01:00
Fabien Pinckaers 31cf1f3dec [MERGE]
bzr revid: fp@openerp.com-20121102160310-ektb2rrpsfs3weq8
2012-11-02 17:03:10 +01:00
Vo Minh Thu 38336593f7 [IMP] registry: the `assertion_report` is now a registry attribute.
This allow us to report failure or success by inspecting the registry.

bzr revid: vmt@openerp.com-20121102134732-5uy1vp59mp1bxgjs
2012-11-02 14:47:32 +01:00
Divyesh Makwana (Open ERP) 8047c51575 [Merge] Merge with trunk.
bzr revid: mdi@tinyerp.com-20121102102812-qqaob1uo3aj8jpim
2012-11-02 15:58:12 +05:30
Xavier Morel 5bd939f0ac [REM] useless intermediate lambdas in default values
bzr revid: xmo@openerp.com-20121102094705-6vcutz0bv4dc0jkl
2012-11-02 10:47:05 +01:00
Fabien Pinckaers 38a788897f [MERGE] remove widgets
bzr revid: fp@tinyerp.com-20121102093110-oforyy904v72hd6g
2012-11-02 10:31:10 +01:00
Fabien Pinckaers eb9cefed2e [fIX] change country when setting sate
bzr revid: fp@tinyerp.com-20121102091449-7v1c0mw0w3x0wb36
2012-11-02 10:14:49 +01:00
Fabien Pinckaers f37eb66576 [MERGE] open a company from tree view
bzr revid: fp@tinyerp.com-20121102081048-aq5a3ucw1x7f9zrl
2012-11-02 09:10:48 +01:00
Launchpad Translations on behalf of openerp 0ccc4a676b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121102050908-6y0il5amvsy9di8a
2012-11-02 05:09:08 +00:00
Khushboo Bhatt (Open ERP) e4a2cdd754 [IMP]action updated of company
bzr revid: kbh@tinyerp.com-20121101105518-nb43aza05we1gbxh
2012-11-01 16:25:18 +05:30
Khushboo Bhatt (Open ERP) 67403ed214 [IMP]company can be open from company's structure.
bzr revid: kbh@tinyerp.com-20121101060215-mdlvkc4mtphgsvfm
2012-11-01 11:32:15 +05:30
Divyesh Makwana (Open ERP) e927b30798 [Merge] Merge with main server.
bzr revid: mdi@tinyerp.com-20121101043539-3sesl5hba4z7bftp
2012-11-01 10:05:39 +05:30
Divyesh Makwana (Open ERP) 7af81dd79a [Merge] Merge with main server.
bzr revid: mdi@tinyerp.com-20121101042733-1h2mai7d33oz2re3
2012-11-01 09:57:33 +05:30
Vo Minh Thu 7d1c5ac4ff [FIX] yaml_import: why the hell is False not iterable.
bzr revid: vmt@openerp.com-20121031164512-qegyw1q865neivgt
2012-10-31 17:45:12 +01:00
Olivier Dony da47373e2a [MERGE] test BaseCase now has ref() and browse_ref() helpers for working with ir.model.data identifiers, courtesy of Stephane Bidoul (Acsone)
bzr revid: odo@openerp.com-20121031162433-6ydiqbno4s78bnta
2012-10-31 17:24:33 +01:00
Vo Minh Thu e44f673e61 [FIX] tools.yaml_import: change w.r.t. etree FutureWarning, which was:
FutureWarning: The behavior of this method will change in future versions. Use
specific 'len(elem)' or 'elem is not None' test instead.

bzr revid: vmt@openerp.com-20121031161437-pzz2czkaq6rw5t31
2012-10-31 17:14:37 +01:00
Olivier Dony ec7b097036 [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121031154418-lfx7sywca2v2mcei
2012-10-31 16:44:18 +01:00
Olivier Dony 51f2422b41 [IMP] tests.common: improved docstring for ref() and browse_ref()
bzr revid: odo@openerp.com-20121031152149-73pxpymjf1yz5xqi
2012-10-31 16:21:49 +01:00
Olivier Dony 43513d7ccc [ADD] tests.common: added testcase for ref() and browse_ref(), renaming existing test file to make it more generic
bzr revid: odo@openerp.com-20121031152011-gyih3j9itbgfauwv
2012-10-31 16:20:11 +01:00
Stéphane Bidoul 2aee5380eb [IMP] ref and browse_ref helpers on openerp.tests.common.BaseCase
bzr revid: stephane.bidoul@acsone.eu-20121031103027-2sozmbi3z7bkr22q
2012-10-31 11:30:27 +01:00
Divyesh Makwana (Open ERP) ba8d8f9bc9 [FIX] Fix the problem of image, at the time of creation of new company.
bzr revid: mdi@tinyerp.com-20121031094412-lzspjtpa9fy4z0bc
2012-10-31 15:14:12 +05:30
Divyesh Makwana (Open ERP) 7b13fdcfa5 [FIX] At the time of creation of record from yml, the onchange will fire and it will override the actual image by default image.
bzr revid: mdi@tinyerp.com-20121031092846-lfp54q21hqre8231
2012-10-31 14:58:46 +05:30
Divyesh Makwana (Open ERP) 60f12a1ce0 [FIX] At the time of creation of record from yml, the onchange will fire and it will override the actual image by default image.
bzr revid: mdi@tinyerp.com-20121031092745-0yqcnrsv949n1v29
2012-10-31 14:57:45 +05:30
Divyesh Makwana (Open ERP) 24f74d9d3a [Merge] Merge with main server.
bzr revid: mdi@tinyerp.com-20121016051211-sflmsa1ql5i13zkf
bzr revid: mdi@tinyerp.com-20121017044358-fmdudsspa0tuc5z3
bzr revid: mdi@tinyerp.com-20121018041441-dgj3k717pxrbjis1
bzr revid: mdi@tinyerp.com-20121019044419-towsx7ol3unqyw3m
bzr revid: mdi@tinyerp.com-20121022040737-xjnhewgv6ofz8gbk
bzr revid: mdi@tinyerp.com-20121023042908-2spjr586hmhn36oc
bzr revid: cha@tinyerp.com-20121025064317-4trt398uu90d24dt
bzr revid: cha@tinyerp.com-20121029070702-25k8vlsjwtnjoncl
bzr revid: mdi@tinyerp.com-20121030044619-px3ho7u5akndovj1
bzr revid: mdi@tinyerp.com-20121031045910-jme6gi1bveh4zi09
2012-10-31 10:29:10 +05:30
Odowan Kenobi 55f8e0485b [IMP] yaml_import: allow to use a view from another module when creating a record in yaml by prefixing it with <module_name> + '.' (e.g: account.supplier_invoice_form_view). A great patch from odony. Hooray
bzr revid: qdp-launchpad@openerp.com-20121030152824-0n2gazacag2hzkbj
2012-10-30 16:28:24 +01:00
Vo Minh Thu c902eb4539 [DOC] openerp.tests.common: now included in the test-framework page.
bzr revid: vmt@openerp.com-20121030113737-10h045k368pbrldq
2012-10-30 12:37:37 +01:00
Olivier Dony 485e437440 [FIX] orm: _validate should not immediately rollback
For some obscure reason _validate used to immediately
rollback the current transaction as soon as a constraint
failed anywhere. This is completely incorrect and
violates the transaction abstraction: the responsibility
of creating and closing transactions belongs to the
RPC dispatch layer, or whatever takes its place (e.g. the
test setup/teardown for tests). Rolling back or committing
in the middle of a transaction precludes special
error treatment and can have very bad side effects.

bzr revid: odo@openerp.com-20121029180742-2gw08kobdh7w5njc
2012-10-29 19:07:42 +01:00
Olivier Dony 290baa5be7 [FIX] yaml: more explicit error if !record has missing parameters
bzr revid: odo@openerp.com-20121029173421-bbx9kn0xp10bpeh1
2012-10-29 18:34:21 +01:00
Raphael Collet ba9a47a771 [MERGE] from trunk
bzr revid: rco@openerp.com-20121029155310-14mmqsq7sjrwi4bt
2012-10-29 16:53:10 +01:00
Raphael Collet 7e7d877e17 fields.related: simplify read and write methods
bzr revid: rco@openerp.com-20121029153504-157ss9948o86uv6z
2012-10-29 16:35:04 +01:00
Raphael Collet 42f0962f99 [MERGE] from trunk
bzr revid: rco@openerp.com-20121029153047-sd8i97sfkdy1wcb1
2012-10-29 16:30:47 +01:00
Antonin Bourguignon 46e94a312c [IMP] usability of menus by displaying their full hierarchy
this will avoid confusion while organizing menu items hierarchy

bzr revid: abo@openerp.com-20121029145946-6fz0rvi7ewzbtp43
2012-10-29 15:59:46 +01:00
Vo Minh Thu d45e2db49b [MERGE] added single transaction unit test base case.
bzr revid: vmt@openerp.com-20121029145723-ov1efsnh5b834cy4
2012-10-29 15:57:23 +01:00
Vo Minh Thu 3ffc363cd2 [IMP] tests: added a whole-class setup/teardown base class to tests/common.
bzr revid: vmt@openerp.com-20121029142302-ug3phcx3c26cxd91
2012-10-29 15:23:02 +01:00