Xavier Morel
6a8d05b77e
[IMP] move raw SQL to ORM
...
Improves maintainability, required adding a fake-ish o2m field to
ir.model.data to handle join.
bzr revid: xmo@openerp.com-20130419123712-6r6q1e8h93wly66y
2013-04-19 14:37:12 +02:00
Raphael Collet
05851d21ba
[MERGE] from trunk
...
bzr revid: rco@openerp.com-20130411073017-x6e4h8xbvmy3ofdw
2013-04-11 09:30:17 +02:00
Raphael Collet
09be864f1d
[IMP] replace all tests like 'registry.get(X)' by 'X in registry' where X is non static
...
bzr revid: rco@openerp.com-20130329140723-dnrl02saky570xg0
2013-03-29 15:07:23 +01:00
Quentin (OpenERP)
72efeaa44f
[FIX] base, ir.ui.view: added a default value for 'type' field as it's a required functional field without fnct_inv (thus not possible to enter a value). This is needed in order to let people create their views manually via the menuitem
...
bzr revid: qdp-launchpad@openerp.com-20130327160258-jev32y4t99vj6b5s
2013-03-27 17:02:58 +01:00
Cecile Tonglet
ad8b76de53
[MERGE] From trunk (second time)
...
bzr revid: cto@openerp.com-20121217144753-1rboqdw01h8yrehj
2012-12-17 15:47:53 +01:00
Xavier Morel
5d3d3868f6
[IMP] use augmented assignments
...
bzr revid: xmo@openerp.com-20121214131924-bpl48ht21ic4g34b
2012-12-14 14:19:24 +01:00
Vo Minh Thu
509a084e79
[IMP] use the openerp namespace.
...
bzr revid: vmt@openerp.com-20121210152723-mv4dykfu6ip1991h
2012-12-10 16:27:23 +01:00
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
Antony Lesuisse
8fa8551f01
[FIX] cleanup ir.xml mess, ir.ui.view name is now optional in xml files
...
bzr revid: al@openerp.com-20121013120924-xix9cbozm8kda7rj
2012-10-13 14:09:24 +02:00
Olivier Dony
470415ced9
[IMP] ir.ui.view: discard custom views before updating view arch
...
- as the custom views are still in place when validating the new arch, they would
hide the new arch and prevent proper validation (if custom views are set for uid 1)
- conversely, if the RNG validation has changed, the old view customizations may not
pass the updated validation rules, and cause spurious validation errors
bzr revid: odo@openerp.com-20120924104026-z7bjzzq80ifxy1oc
2012-09-24 12:40:26 +02:00
Raphael Collet
3b2423c5da
[IMP] ir.ui.view: filter inheriting views based on groups
...
bzr revid: rco@openerp.com-20120829133732-ijyy3y05mlbazgya
2012-08-29 15:37:32 +02:00
Raphael Collet
750165e94d
[MERGE] trunk-ir_ui_view_access_rights-mdi (add field groups_id on views)
...
bzr revid: rco@openerp.com-20120829123539-5m718m71c8o06ujz
2012-08-29 14:35:39 +02:00
Divyesh Makwana (Open ERP)
004a1a64ee
[ADD] Added 'groups_id' field into 'ir_ui_view' model.
...
bzr revid: mdi@tinyerp.com-20120829055333-6iw12tthxeidkkus
2012-08-29 11:23:33 +05:30
Vo Minh Thu
1534feb8f7
[IMP] ir_ui_view: somewhat better `type` functional field implementation.
...
bzr revid: vmt@openerp.com-20120814100049-dngykdg5l21q9vvp
2012-08-14 12:00:49 +02:00
Jigar Amin - OpenERP
803e74458e
[FIX] Setting the view type of parent when you have inherited view
...
bzr revid: jam@tinyerp.com-20120808091002-0k8dm05pd4x8qf6l
2012-08-08 14:40:02 +05:30
Vo Minh Thu
2666ab3fe0
[IMP] ir.ui.view: Added assertion-based checks.
...
bzr revid: vmt@openerp.com-20120622131004-stn7tf68xph3f278
2012-06-22 15:10:04 +02:00
Vo Minh Thu
ebf1383785
ir.ui.view: type field can be a functional field.
...
bzr revid: vmt@openerp.com-20120619101425-u73r47zdhsg7ecma
2012-06-19 12:14:25 +02:00
Olivier Dony
3a81cf88f8
[IMP] Improve view validation to based on fields_view_get rendering, not just raw arch
...
This will allow improved validation of inherited
views, which is not possible when only the raw
arch is validated on its own - without context
many things cannot be verified.
Calling fields_view_get() also catches early all
mistakes that require dynamic validation, like
wrong XPath expressions (parent view contains
no match).
In order to have current addons pass the improved
validation the RNG had to be fixed to support
the new @modifiers attribute added by fields_view_get()
itself on many view elements, and a few missing
valid attributes, like @invisible on <filter>
and <group>. The latter had never been used
as part of the view architecture but appear
as a result of the handling of @groups
restrictions on view elements, and must
be allowed by the RNG schema.
bzr revid: odo@openerp.com-20120614144633-31c642s7q7f28o6b
2012-06-14 16:46:33 +02:00
Fabien Pinckaers
f1716c0e35
[IMP] improved comment TODO
...
bzr revid: fp@tinyerp.com-20120612171459-74dh9ik7yju2mum5
2012-06-12 19:14:59 +02:00
Olivier Dony
2126f83a35
[IMP] modules, ir.ui.view: improve view validation + avoid validation errors during updates
...
As of 7.0, RNG validation is not possible for form views
that have a version attribute equal to "7.0", due to the
allowed usage of HTML syntax mixed with the regular OpenERP
view syntax. RNG validation is still enabled for regular
form views (@version missing or less than "7.0"), and for
all other views types.
Validation of 7.0 form views should be improved with the
addition of an assertion-based schema, still to be done.
The above is also complemented with an explicit call to fields_view_get()
during view installation, in order to immediately verify
that the updated view hierarchy does not cause any
issue when loaded along with its related views (i.e
parent and siblings, for inheriting views).
In addition to that, fields_view_get() will now only
consider loading views that belong to modules that have
already been loaded. This avoids a lot of validation errors
during a module update operation, which runs on top of
an existing database with all previous views visible,
even those whose module is not loaded yet.
bzr revid: odo@openerp.com-20120611122758-qcw9xdhupl24busq
2012-06-11 14:27:58 +02:00
Fabien Pinckaers
84fe3e7ba6
temporarily removing checks
...
bzr revid: fp@tinyerp.com-20120611091031-sfear1x3c574tvpw
2012-06-11 11:10:31 +02:00
Fabien Pinckaers
fc3873e131
[IMP] views
...
bzr revid: fp@tinyerp.com-20120611090248-oechaas8kntaqzqf
2012-06-11 11:02:48 +02:00
Fabien Pinckaers
9901961a2f
fix
...
bzr revid: fp@tinyerp.com-20120610120614-oe3plgxr1364um0q
2012-06-10 14:06:14 +02:00
Fabien Pinckaers
7d89afe7bc
fix
...
bzr revid: fp@tinyerp.com-20120610104338-spr8hfo74z2vy0nj
2012-06-10 12:43:38 +02:00
Vo Minh Thu
d2252dba05
[IMP] rng validation: remove call to rng validation, replace it with calls to fields_view_get.
...
bzr revid: vmt@openerp.com-20120604160124-uz4q4aim6sl9wckm
2012-06-04 18:01:24 +02:00
Antony Lesuisse
927cd1aaa8
[MERGE] trunk-form-v2, rng validation can _optionally_ be disabled, new view for partners
...
bzr revid: al@openerp.com-20120417091619-ohuvnu0javler9pm
2012-04-17 11:16:19 +02:00
niv-openerp
f5cad0242d
[imp] desactivated rng check for views
...
bzr revid: nicolas.vanhoren@openerp.com-20120327092345-06bhhik1suy3td6p
2012-03-27 11:23:45 +02:00
Olivier Dony
79ac080fb2
[MERGE] Minor bugfixes (missing imports, etc.) courtesy of Florent Xicluna
...
bzr revid: odo@openerp.com-20120214150022-yx6zi0j4fr2d48uc
2012-02-14 16:00:22 +01:00
Florent Xicluna
5056899093
[MERGE] merged trunk.
...
bzr revid: florent.xicluna@gmail.com-20120208172825-r6og0hfoc181pdt1
2012-02-08 18:28:25 +01:00
Vo Minh Thu
f5db1d10ec
[IMP] openerp.addons.base: _logger with fully qualified module name.
...
bzr revid: vmt@openerp.com-20120124114730-24m0ftu1wbowg8a0
2012-01-24 12:47:30 +01:00
Florent Xicluna
9d2ccc5aef
[FIX] eval(label) fails if label is not a str.
...
bzr revid: florent.xicluna@gmail.com-20120119215758-yflsp1cjz997o2r8
2012-01-19 22:57:58 +01:00
Olivier Dony
bdce754108
[IMP] cleanup deprecated method=True param for function fields
...
bzr revid: odo@openerp.com-20120104133027-oaydmngk2dfc22mk
2012-01-04 14:30:27 +01:00
Vo Minh Thu
5ef9dd5f3f
[MERGE] Cleaning of the empty dict kwargs (replaced by None).
...
bzr revid: vmt@openerp.com-20111121133346-2yr8ow3zeyqa9ar5
2011-11-21 14:33:46 +01:00
Fabien Pinckaers
c42b1515c7
[IMP] constraint on XML view on object to allow inheritancy
...
bzr revid: fp@tinyerp.com-20111113192742-vpf1eoek4csau68t
2011-11-13 20:27:42 +01:00
Numerigraphe - Lionel Sausin
9ed5cbb24c
[FIX] unmutable defaults in base addons.
...
bzr revid: ls@numerigraphe.fr-20111107151949-n9prrufvqe3ohz18
2011-11-07 16:19:49 +01:00
Olivier Dony
64d6989794
[MERGE] diagram view: properly handle non-ASCII arrow labels
...
lp bug: https://launchpad.net/bugs/727263 fixed
bzr revid: odo@openerp.com-20110919224850-ttok95g3eku7psqe
2011-09-20 00:48:50 +02:00
Olivier Dony
4517dbb852
[MERGE] refactoring: view inheritance query moved to ir.ui.view, courtesy of Sebastien Beau (Akretion)
...
bzr revid: odo@openerp.com-20110919152434-uohc9mqr4n0b1sc8
2011-09-19 17:24:34 +02:00
sebastien beau
043f50ba12
[REF] refactor code in order to add the possibility to overwrite the way to inherit the view
...
bzr revid: sebastien.beau@akretion.com.br-20110918235947-5k6bxg2fbshhtrsd
2011-09-19 01:59:47 +02:00
Olivier Dony
eab6a77a26
[IMP] ir.model.data: usability - rename `XML ID` -> `External ID`
...
bzr revid: odo@openerp.com-20110906075711-lev8g5tkfhc9j3c1
2011-09-06 09:57:11 +02:00
Yogesh (OpenERP)
a54a00ea62
[MERGE] Merge with trunk server.
...
bzr revid: ysa@tinyerp.com-20110808044657-wdrsjtatkn0745zf
bzr revid: ysa@tinyerp.com-20110811110515-xnyrr12apnl2nphf
2011-08-11 16:35:15 +05:30
gpa
c761404086
[FIX] Fixed error of non-ascii charcter in label, remove by default condition True and display group
...
lp bug: https://launchpad.net/bugs/727263 fixed
bzr revid: gpa@tinyerp.com-20110803110559-83xiqnjtb510w8ka
2011-08-03 16:35:59 +05:30
Yogesh (OpenERP)
dde6191c15
[ADD] add new kanban view.
...
bzr revid: ysa@tinyerp.com-20110802093659-btfev13seawo2d46
2011-08-02 15:06:59 +05:30
Raphael Collet
c1fece2b6c
[FIX] in Customized Views, make fields User and Original view required and ondelete='cascade'
...
bzr revid: rco@openerp.com-20110727095414-6uk2lq3vynfg9xtd
2011-07-27 11:54:14 +02:00
Amit (OpenERP)
36201e48db
[FIX]:In the menu Customized Views, the user field and Original view must be:required and ondelete cascade.
...
bzr revid: apa@tinyerp.com-20110726114659-fj9l1f5tlc18zaeu
2011-07-26 17:16:59 +05:30
Olivier Dony
301497c543
[IMP] lint cleanup
...
bzr revid: odo@openerp.com-20110624133335-jf5kg6dh9kgxw2dg
2011-06-24 15:33:35 +02:00
Naresh (OpenERP)
9673cca563
[FIX]:shortcuts are reverted back to their original state i.e translatable becuase we removed editing of the shortcuts from the client
...
lp bug: https://launchpad.net/bugs/798643 fixed
bzr revid: nch@tinyerp.com-20110624054056-xbf6wdvblgoam652
2011-06-24 11:10:56 +05:30
Olivier Dony
a270d19d81
[IMP] ir.ui.view.custom: order by create_date descending
...
This way search(limit=1) will give you the latest customization for
a given user. This can be used by client side to allow multiple
customizations with multi-level undo.
bzr revid: odo@openerp.com-20110601105209-vtgf73reh90uipct
2011-06-01 12:52:09 +02:00
Naresh (OpenERP)
6e516475ee
[FIX]:editing shortcuts from client were not dispalying the changes
...
bzr revid: nch@tinyerp.com-20110420054947-t02qg7sm8g5vzcuf
2011-04-20 11:19:47 +05:30
Vo Minh Thu
a0c1363fd6
[MERGE] merged 6.0.
...
bzr revid: vmt@openerp.com-20110406104718-cdcyq74rltf102sa
2011-04-06 12:47:18 +02:00
Vo Minh Thu
f8572e5c60
[IMP] openerp python module.
...
- Some logging code moved from netsvc.py to loglevels.py
- Changed imports to use the new openerp module
- config and netsvc initialization calls move to openerp-server.py
- Moved openerp-server.py outside the old bin directory
- Some imports in tools moved inside the methods to break mutual-dependencies
bzr revid: vmt@openerp.com-20110207125723-ooee7d7ng5elmkso
2011-02-07 13:57:23 +01:00