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
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
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
Xavier Morel
980e01d386
[IMP] attempt to remove lexical dependencies from fvg's nested functions
...
should allow moving most of the view inheritance application into
ir.ui.view, where it should belong.
bzr revid: xmo@openerp.com-20130422142444-f09sw841jop3t4a4
2013-04-22 16:24:44 +02:00
Xavier Morel
480bf6a99b
[FIX] temporarily remove _init flag of pooler during view inheritance test
...
Breaks between in-loading (openerp) and unit test (oe), behavior is
crap and can't be arsed to create a dummy ir.model.data for that.
bzr revid: xmo@openerp.com-20130422140116-g8mqzvahbv2ag956
2013-04-22 16:01:16 +02:00
Xavier Morel
edf1f23a6e
[ADD] depth-first iterator on views, refactor apply_view_inheritance to use it
...
bzr revid: xmo@openerp.com-20130422125000-pg60ovrxejegenka
2013-04-22 14:50:00 +02:00
Xavier Morel
bad87b4245
[ADD] some tests for get_inheriting_view_arch
...
Tests are way incomplete: no test for partial loading or groups filtering
bzr revid: xmo@openerp.com-20130422122812-c1d385zwau9wlmci
2013-04-22 14:28:12 +02:00
Xavier Morel
cdc8110363
Temporarily disable XML validity check (calls fields_view_get, PITA)
...
bzr revid: xmo@openerp.com-20130422122739-gx72s6lxna0nk5ug
2013-04-22 14:27:39 +02:00
Xavier Morel
9683224830
[IMP] Element.getiterator -> Element.iter
...
> Note that this method is deprecated as of ElementTree 1.3 and lxml
> 2.0. It returns an iterator in lxml, which diverges from the
> original ElementTree behaviour. If you want an efficient iterator,
> use the element.iter() method instead. You should only use this
> method in new code if you require backwards compatibility with older
> versions of lxml or ElementTree.
bzr revid: xmo@openerp.com-20130422091958-413qo439qqgv296u
2013-04-22 11:19:58 +02:00
Xavier Morel
c9a6e74bf4
[IMP] add tests for locate_node
...
bzr revid: xmo@openerp.com-20130422091014-qbd4jun4n9u4402x
2013-04-22 11:10:14 +02:00
Xavier Morel
aa9406e28b
[IMP] move locate inner function to ir.ui.view method
...
bzr revid: xmo@openerp.com-20130419141409-a2jqq5maszc53e6s
2013-04-19 16:14:09 +02:00
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
Xavier Morel
bbe0fbe2b9
[IMP] use ORM reads when loading views
...
direct SQL query in core ORM means we can't override view loading to
get them from other sources than the database. By using read() this
can be done by overriding ir_ui_view.read.
bzr revid: xmo@openerp.com-20130415100858-ucm97f318mjn5ugq
2013-04-15 12:08:58 +02:00
Raphael Collet
ef1cbabe25
[MERGE] Avoid error-hiding calls like registry.get(X) when X is dynamic.
...
Use registry[X] instead, and test model existence with: X in registry.
Also make class Registry a subclass of collections.Mapping.
bzr revid: rco@openerp.com-20130411074602-j8w67g6rzlpo0l06
2013-04-11 09:46:02 +02:00
Raphael Collet
05851d21ba
[MERGE] from trunk
...
bzr revid: rco@openerp.com-20130411073017-x6e4h8xbvmy3ofdw
2013-04-11 09:30:17 +02:00
Frédéric van der Essen
a0a9ae61e7
[IMP] point_of_sale: added barcodes in demo data for a few commonly found products
...
bzr revid: fva@openerp.com-20130410103238-igbolt8hst05xvi1
2013-04-10 12:32:38 +02:00
Launchpad Translations on behalf of openerp
4804af59bd
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20130410052138-0ij72v89o1n91jen
bzr revid: launchpad_translations_on_behalf_of_openerp-20130410052154-hwz5qpedh7ek2p3d
2013-04-10 05:21:54 +00:00
Thibault Delavallée
aaed0ccd43
[MERGE] Alias Visibility and Salesteams View. Improve the display of alias in form views and in empty list help messages. Improve the use, visibility and display of salesteams.
...
Add support for 'no result' help message in kanban views.
Add css for empty list in kanban views + generic display of mail aliases.
bzr revid: tde@openerp.com-20130405152131-4auticfaj24wbpqx
2013-04-05 17:21:31 +02:00
Thibault Delavallée
1fe0a9afe9
[MERGE] Alias Visibility and Salesteams View. Improve the display of alias in form views and in empty list help messages. Improve the use, visibility and display of salesteams.
...
This revision adds a configuration in Settings/Sales: enable the use of sales team. If not enabled, users have access to Leads and Opportunities menus; Sales Teams menu is hidden, as well as all fields related to sales teams. If enabled, a Sales Teams menu is added that works as the Project menu. The new sales Teams kanban view allows to have an overview of the sales team (leads, opportunities, quotations, sales orders, invoices). Clicking on a link of the kanban vignette redirect to the related list/kanban view, filtered by the chosen sales team.
This revision also improves the display of help message (also shown for empty kanban views) for leads, opportunities, tasks, issues, applicants. It displays the current sales team / project / job alias, or a default alias if no context is provided.
bzr revid: tde@openerp.com-20130405151914-8892yfmsmr2xwbbk
2013-04-05 17:19:14 +02:00
Thibault Delavallée
4d3ddf7a7a
[MERGE] Alias Visibility and Salesteams View. Improve the display of alias in form views and in empty list help messages. Improve the use, visibility and display of salesteams.
...
ir_action:
- removed size on char fields
- help is now somewhat dynamic; it calls get_empty_list_help on the related model that could be overridden to display a custom message instead of the generic one defined on the action
BaseModel:
- added get_empty_list_help method, that basically returns the help that is given into parameter. Its purpose is to be overridden by models that should customize the empty list help message
bzr revid: tde@openerp.com-20130405150952-5f7sr2f61obl74yw
2013-04-05 17:09:52 +02:00
Thibault Delavallée
7a402e55de
[FIX] project_issue: when use_tasks OR use_issue is checked, updated alias_model accordingly. Removed badly-placed code. Performed some lint code cleanup.
...
bzr revid: tde@openerp.com-20130405133958-bvjfoos9chib30h7
2013-04-05 15:39:58 +02:00
Thibault Delavallée
2ab15ddeaf
[MERGE] Sync with trunk.
...
bzr revid: tde@openerp.com-20130405110750-1dd4y02xz3wb6ill
bzr revid: tde@openerp.com-20130405133237-n7k66b3w0b3a17o3
2013-04-05 15:32:37 +02:00
Thibault Delavallée
58ccbfc184
[FIX] service/model.py: fixed missing import of psycopg error OperationalError added when merging 7.0 into trunk.
...
bzr revid: tde@openerp.com-20130405133203-ijustxnwkabw3no6
2013-04-05 15:32:03 +02:00
Thibault Delavallée
7304c49877
[IMP] crm: fixes typos in salesteam kanban view + css tweak to avoid having multi-line links when having more than 99 opportunities.
...
bzr revid: tde@openerp.com-20130405115903-l2ktkahovulwy9ab
2013-04-05 13:59:03 +02:00
Thibault Delavallée
c41cc328bb
[IMP] mail_thread: in empty list help, do not display alias info when alias domain is not configured.
...
bzr revid: tde@openerp.com-20130405115830-wv64k3z20t8m1odx
2013-04-05 13:58:30 +02:00
Thibault Delavallée
d50b159f81
[MERGE] Sync with trunk.
...
bzr revid: tde@openerp.com-20130405111048-kqxll4mdwnsq2r8o
2013-04-05 13:10:48 +02:00
Thibault Delavallée
6bdd041c61
[MERGE] Sync with trunk.
...
bzr revid: tde@openerp.com-20130405110900-wkj2vnkdbyjoqol4
2013-04-05 13:09:00 +02:00
Thibault Delavallée
825d3445a8
[IMP] kanban: added some css for alias box that appear in several kanban view, in order to factorize a bit.
...
bzr revid: tde@openerp.com-20130405110839-umm25ui4stg7axs4
2013-04-05 13:08:39 +02:00
Thibault Delavallée
034d244be6
[REF] crm, hr, project: refactored kanban/form html/css to be cleaner and remove custom CSS. kanban specific css for aliases has been moved into web_kanban.
...
bzr revid: tde@openerp.com-20130405110737-xhdgxodrffqtfrzp
2013-04-05 13:07:37 +02:00
Thibault Delavallée
1804c558e7
[IMP] mail: empty list help: take first created alias by default, because this should be the configuration data like 'sales'.
...
bzr revid: tde@openerp.com-20130405110702-51yt8on1t3c2v54o
2013-04-05 13:07:02 +02:00
Christophe Matthieu
d8b3533a82
[IMP] mail_followers: remove the blue background color on invite button
...
bzr revid: chm@openerp.com-20130405092352-gg9tyfnztu9ay23j
2013-04-05 11:23:52 +02:00
Launchpad Translations on behalf of openerp
c0ec4d92d0
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20130405054210-jc77enkgwexudex5
2013-04-05 05:42:10 +00:00
Launchpad Translations on behalf of openerp
d59be8dcd5
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20130405053712-j9340qqe6ptp4i8v
2013-04-05 05:37:12 +00:00
Fabien Meghazi
3a38f63ddd
[IMP] Improved blockUI loading
...
bzr revid: fme@openerp.com-20130404234829-5gqglbrrvy940sqi
2013-04-05 01:48:29 +02:00
Vo Minh Thu
9881112e62
[FIX] document_ftp: typo.
...
bzr revid: vmt@openerp.com-20130404224337-44x8u161kopr0t4t
2013-04-05 00:43:37 +02:00
Fabien Meghazi
5318eca348
[REM] Removed 7.0 backward compatibility code
...
bzr revid: fme@openerp.com-20130404145729-wwt97ipxguj9dpa5
2013-04-04 16:57:29 +02:00
Thibault Delavallée
b15285c0ee
[IMP] sale_crm: improved link towards invoice in kanban view links 'Invoices'. Now linking to correct customer invoice view, with default value and search.
...
bzr revid: tde@openerp.com-20130404134448-7f1rzav02fmxumzn
2013-04-04 15:44:48 +02:00
Vo Minh Thu
307ca374d6
[MERGE] forward merge 7.0 until revision 4919.
...
bzr revid: vmt@openerp.com-20130404130704-24vsmczw34cssytd
2013-04-04 15:07:04 +02:00
Launchpad Translations on behalf of openerp
5a4be3d44c
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20130403150224-6o2tq7pqtgax4o8w
bzr revid: launchpad_translations_on_behalf_of_openerp-20130404145635-l4x86488xak0gwr1
bzr revid: launchpad_translations_on_behalf_of_openerp-20130404145655-30mhci39kbd5n7dq
2013-04-04 14:56:55 +00:00
Olivier Dony
f0320d4258
[FIX] web: company_logo route may be accessed with uid = False in some cases, it should still work
...
bzr revid: odo@openerp.com-20130404143144-3o2j0xbwh4m84tu8
2013-04-04 16:31:44 +02:00
Thibault Delavallée
bef293af4b
[IMP] res_partner: customers is now sequence 2, because salesteam will be 1.
...
bzr revid: tde@openerp.com-20130404115719-glq8uqgvyvhm0ukd
2013-04-04 13:57:19 +02:00
Thibault Delavallée
6e846120b3
[FIX] base.sass: fixed oe_read_only
...
bzr revid: tde@openerp.com-20130404115658-1rrfr3nhvc34l18u
2013-04-04 13:56:58 +02:00
Thibault Delavallée
040ceb0125
[IMP] crm, project: fixed css issues preventing alias to be displayed in readonly mode; improved form view of salesteams and project about aliases; improved sequence of menus to display salesteam as first menu entry.
...
bzr revid: tde@openerp.com-20130404115627-3vw1uv4xrmeu13k2
2013-04-04 13:56:27 +02:00
Thibault Delavallée
d98fc266ec
[IMP] crm: res_config: improved name of group_multi_salesman field to be more understandable.
...
bzr revid: tde@openerp.com-20130404115540-k92n992uylm3n01e
2013-04-04 13:55:40 +02:00
Thibault Delavallée
431f447fa4
[MERGE] Sync with trunk.
...
bzr revid: tde@openerp.com-20130328112348-5gcg79ipve3rt4ut
bzr revid: tde@openerp.com-20130402081347-hgz8vg6af9l18vcx
bzr revid: tde@openerp.com-20130404090149-csbp0wnodbe126q7
bzr revid: tde@openerp.com-20130404103422-p533mmjn7btlhvcb
2013-04-04 12:34:22 +02:00
Thibault Delavallée
b207801acc
[FIX] base.sass: removed curly braket introduced at rev 3707 in base.sass that caused sass to css to crash. Does not seem to impact base.css that was already containing up to date css.
...
bzr revid: tde@openerp.com-20130404103015-czo5p9tgrsxpzjie
2013-04-04 12:30:15 +02:00
Raphael Collet
b99398fa29
[IMP] registry: make class Registry inherit from abstract class collections.Mapping
...
bzr revid: rco@openerp.com-20130404102524-innz9qu824yfds4b
2013-04-04 12:25:24 +02:00