Commit Graph

3643 Commits

Author SHA1 Message Date
Olivier Dony 91e2d25cdd [MERGE] ir.filters now have @is_default and a corresponding API adaptation
Client code usually calls get_filters() to get the list of filters for
a particular model, and then create_or_replace() to manage these filters.
In both cases a new @is_default attribute is now available - the idea
being that the default filter is always applied when a view is newly
opened. Global (user_id = False) filters are replaced by user-specific
filters when there are any.

bzr revid: odo@openerp.com-20121109140828-gpuifdjwrmefg5n2
2012-11-09 15:08:28 +01:00
Xavier Morel 4a4fc38d5e [FIX] nuke ir.model.data caches before starting imports
Otherwise a previous validation (or 2) will poison the cache and the
import itself will fail even though the validation succeeeded (and
importing with no validation would have succeeded), as the orm cache
doesn't take DB rollbacks in account.

bzr revid: xmo@openerp.com-20121109113951-p3qgg6m5g7poay5e
2012-11-09 12:39:51 +01:00
Quentin (OpenERP) 21af7835e0 [FIX] base, res.partner.view: remove duplicated invisible attribute that was totally hiding the 'type' field
bzr revid: qdp-launchpad@openerp.com-20121108140551-lefrv5ndvyzw5tt9
2012-11-08 15:05:51 +01:00
Olivier Dony 76b031cfd4 [IMP] ir_filters: add test for updating global default filter - to complete the over-coverage
bzr revid: odo@openerp.com-20121108092907-e7cmjz4w4wn5u085
2012-11-08 10:29:07 +01:00
Olivier Dony 384a95461a [IMP] ir_filters: use "shared filters" to designate global filters, to match the UI
bzr revid: odo@openerp.com-20121108092822-l8bog0ow0m0ey0b8
2012-11-08 10:28:22 +01:00
Fabien Pinckaers 065848db8f [IMP] default emails on admin and demo so that they can perform tests
bzr revid: fp@tinyerp.com-20121108095604-6tzd8i8chuxr9014
2012-11-08 10:56:04 +01:00
Fabien Pinckaers b5b3cbf4e4 [FIX] typo
bzr revid: fp@tinyerp.com-20121107173349-02vp0acqgdcnmi83
2012-11-07 18:33:49 +01:00
Xavier Morel 59301c655f [MERGE] from server
bzr revid: xmo@openerp.com-20121107111011-9q0c8kbuype5a8l6
2012-11-07 12:10:11 +01:00
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
Amit Patel 70897759f6 [MERGE]:trunk
bzr revid: apa@tinyerp.com-20121105062709-ks3ca7hqvha39nls
2012-11-05 11:57:09 +05:30
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
Amit Patel 251e3c974f [MERGE]:trunk
bzr revid: apa@tinyerp.com-20121101062629-ijwkyx123oqfrb91
2012-11-01 11:56:29 +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