Olivier Dony
eb0a178196
[MERGE] name_get: support more field types and improve previous name_get changes
...
Introduces an improved name_get implementation,
supporting a few more fields type used as _rec_name
(such as many2one). The actual rendering of the
"display name" is delegated to the column class,
and computed based on the value returned by read()
for the column.
Funky @classmethod stuff was necessary to allow
column types to delegate to other types, such as
function types which can delegate to the real
type they emulate.
The display_name term was used because it is
being discussed for the new API to add a virtual
display_name column to all models, allowing
clients to read the name_get value along with
regular columns. It looks appropriate too.
Also fixes a few shortcomings of the latest
patches to name_get, such as supporting inherited
columns and avoiding a useless read() call with
only the id column.
bzr revid: odo@openerp.com-20120803142952-8jefy3bsgftucxuk
2012-08-03 16:29:52 +02:00
Antony Lesuisse
15132d85e9
[MERGE] trunk-config-wizard indentation fixes by abo
...
bzr revid: al@openerp.com-20120803135953-pxdrcnsinq4l3spy
2012-08-03 15:59:53 +02:00
Vo Minh Thu
c61431bd3e
[MERGE] l10n_ch: merge insanely big patch correcting a f*ck´d up create().
...
bzr revid: vmt@openerp.com-20120803134938-p3qom1xjkzmsdfyd
2012-08-03 15:49:38 +02:00
Olivier Dony
da9ccf503a
[FIX] fields.reference: missing coercion to int for res_id, as pointed out by XMO
...
bzr revid: odo@openerp.com-20120803134111-jrzrszqobm0r02on
2012-08-03 15:41:11 +02:00
Antonin Bourguignon
9a826a3186
[IMP] add proper XML headers to config views
...
also remove trailing whitespaces and fix indentation
bzr revid: abo@openerp.com-20120803132046-poiy3dt362zhoudl
2012-08-03 15:20:46 +02:00
Stephane Wirtel
9c507f5213
[REVERT] Revert the previous patch about the button_uninstall in the modules
...
bzr revid: stw@openerp.com-20120803125751-4i98jt0jxiroabc8
2012-08-03 14:57:51 +02:00
Stephane Wirtel
077be4912e
[MERGE]
...
bzr revid: stw@openerp.com-20120803122457-emvyki50sxnzke1k
2012-08-03 14:24:57 +02:00
Stephane Wirtel
419835329c
[FIX] base: remove the uninstall button and improve the filter domain of the modules
...
bzr revid: stw@openerp.com-20120803103241-u95u5l76sv87hvu8
2012-08-03 12:32:41 +02:00
Vo Minh Thu
675229f9c7
[FIX] l10n_ch: create() takes a dict, not a list.
...
bzr revid: vmt@openerp.com-20120803101517-91zys7oznpo45345
2012-08-03 12:15:17 +02:00
Vo Minh Thu
ddaadd1398
[FIX] orm: disallow LOG_ACCESS fields in the create() method.
...
Removes the LOG_ACCESS fields from the values given to create(),
otherwise we would end up passing two times the same field to
postgresql.
bzr revid: vmt@openerp.com-20120803094800-81cgwyeg5cmud9mj
2012-08-03 11:48:00 +02:00
Stephane Wirtel
a643848ad4
[MERGE] improvements in the crm, sale and stock addons
...
bzr revid: stw@openerp.com-20120803093625-usuixd544cpzxpze
2012-08-03 11:36:25 +02:00
Stephane Wirtel
7adfc50f0d
[FIX] crm: review the layout of the crm lead
...
bzr revid: stw@openerp.com-20120803081826-z9upk2b033h60mir
2012-08-03 10:18:26 +02:00
Stephane Wirtel
94d1fa81e4
[FIX] We can't manually create a 'receipt product' because the create_date field is passed by the web client. workaround: just redefine the create and remove the 'create_date' field from the values: TOFIX in the orm
...
bzr revid: stw@openerp.com-20120803075633-jf3d5xk3igf5yctb
2012-08-03 09:56:33 +02:00
Stephane Wirtel
4c6a19d013
stock: Remove the h1 on the name and the date
...
bzr revid: stw@openerp.com-20120803075506-1i969x38p5k0erav
2012-08-03 09:55:06 +02:00
Stephane Wirtel
160a7cf88c
[IMP] crm: Add an onchange on the partner in the lead, it will set the customer name from the partner
...
bzr revid: stw@openerp.com-20120803074051-8zsicx1agrfq4rt0
2012-08-03 09:40:51 +02:00
Stephane Wirtel
6a92f8856b
[FIX] sale_crm: Rename 'Close Opportunity' to 'Mark Won'
...
bzr revid: stw@openerp.com-20120803074013-4lzh8092oiu7xdcd
2012-08-03 09:40:13 +02:00
Stephane Wirtel
e48b6a9a89
[IMP] crm: rename the 'Schedule Meeting' to 'Meeting' and add the attendee_id in the context
...
bzr revid: stw@openerp.com-20120803071925-509iddm9rl6mpm7h
2012-08-03 09:19:25 +02:00
Stephane Wirtel
c0a5c4989f
[FIX] crm: remove the 'Meetings' button on the lead form view
...
bzr revid: stw@openerp.com-20120803070748-gmbweexu86vv17u6
2012-08-03 09:07:48 +02:00
Launchpad Translations on behalf of openerp
4ccc1b9457
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20120803054830-gjacniiwnoripod5
2012-08-03 05:48:30 +00:00
Launchpad Translations on behalf of openerp
c50a0dcf9a
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20120803054534-0mw37x9jjh3q096j
2012-08-03 05:45:34 +00:00
Amit Patel (OpenERP)
07c23bc57a
[MERGE]:merged with trunk.
...
bzr revid: apa@tinyerp.com-20120803051902-kq8n8qg0gutge50z
2012-08-03 10:49:02 +05:30
Amit Patel (OpenERP)
b929725a32
[MERGE]:merged with trunk.
...
bzr revid: apa@tinyerp.com-20120717045646-sbhaq70o1m9lby4q
bzr revid: apa@tinyerp.com-20120718050227-2e2xadc331goo09r
bzr revid: apa@tinyerp.com-20120719053147-5i8kfbqvjq6l4sfq
bzr revid: apa@tinyerp.com-20120720085611-x2hqvw73fuofw5gy
bzr revid: apa@tinyerp.com-20120724050226-th178k20xwb8m55y
bzr revid: apa@tinyerp.com-20120731071850-i9ev5opb1gqzkqt7
bzr revid: apa@tinyerp.com-20120801055522-eub5jtbh9m04b0pp
bzr revid: apa@tinyerp.com-20120803051754-6d60nymggauamxy3
2012-08-03 10:47:54 +05:30
Antonin Bourguignon
7ac449b804
[MERGE] latest trunk
...
bzr revid: abo@openerp.com-20120802234714-838rukd4ky0i1ikk
2012-08-03 01:47:14 +02:00
Olivier Dony
bc70c8711b
[IMP] name_get: support more field types and improve previous name_get changes
...
bzr revid: odo@openerp.com-20120802170244-t1z5gogwgybtavrm
2012-08-02 19:02:44 +02:00
Xavier Morel
ef26faf0a5
[IMP] add more information when searching on a non-searchable field using debug logging
...
bzr revid: xmo@openerp.com-20120802152553-r8xpw0g6bep08jod
2012-08-02 17:25:53 +02:00
Xavier Morel
937a24a240
[ADD] search view for res.groups to avoid searching on the unsearchable full_name from the default search view
...
bzr revid: xmo@openerp.com-20120802151344-4g0p8n2gaqyoftpu
2012-08-02 17:13:44 +02:00
Xavier Morel
8060f19108
[IMP] error-level log when non-stored function field without fnct_search is searched
...
holding off on blowing up an error just yet, but it might be a good idea in the end
bzr revid: xmo@openerp.com-20120802150837-3qvgg3e5pmfeqmk0
2012-08-02 17:08:37 +02:00
Stephane Wirtel
5ee6c09b31
[FIX] sale: Change some layouts
...
bzr revid: stw@openerp.com-20120802145430-ebmecs6ise4h6na0
2012-08-02 16:54:30 +02:00
niv-openerp
2c57c15491
[IMP] Mass rename \t to 4 spaces
...
bzr revid: nicolas.vanhoren@openerp.com-20120802144623-ykl5te005ytnv584
2012-08-02 16:46:23 +02:00
niv-openerp
d9aaf5c2d1
[IMP] Cleaned dialog class to be closer to the Widget design
...
bzr revid: nicolas.vanhoren@openerp.com-20120802143650-czejc71u5atle2rs
2012-08-02 16:36:50 +02:00
Fabien Meghazi
c2ad177f93
[FIX] Fix bug in breadcrumb when a client action is present in the breadcrumb items
...
bzr revid: fme@openerp.com-20120802143246-7pgeueme3i6h1emc
2012-08-02 16:32:46 +02:00
Fabien Meghazi
2f9d78e611
[FIX] incorrect replacement calling method on this in context where should be self
...
bzr revid: xmo@openerp.com-20120802142442-3ywttaf9f0q4igk3
2012-08-02 16:24:42 +02:00
Stephane Wirtel
f96de269e7
[MERGE]
...
bzr revid: stw@openerp.com-20120802140702-uxthmig9ydq8ymu7
2012-08-02 16:07:02 +02:00
Stephane Wirtel
112da954ff
[FIX] sale: Don't copy the leads, opportunities, meetings when we duplicate a partner
...
bzr revid: stw@openerp.com-20120802140405-wr89huxznwsss4ui
2012-08-02 16:04:05 +02:00
Stephane Wirtel
7639597d21
[FIX] sale: Don't copy the sale orders when we duplicate a partner
...
bzr revid: stw@openerp.com-20120802140343-3xv3vkmwov1h52by
2012-08-02 16:03:43 +02:00
Stephane Wirtel
e57c694095
[FIX] Review the layout of the partners
...
bzr revid: stw@openerp.com-20120802134648-djca908iguoukemd
2012-08-02 15:46:48 +02:00
Fabien Meghazi
9c31ba65d9
[FIX] Fixed form's fields autofocus
...
bzr revid: fme@openerp.com-20120802124909-w4li8dt6y0kktnfh
2012-08-02 14:49:09 +02:00
Fabien Meghazi
93be88fcbd
[IMP] mail: disable autofocus in formview
...
bzr revid: fme@openerp.com-20120802124707-9ba1po7rhbjauz30
2012-08-02 14:47:07 +02:00
Xavier Morel
8ae0d248e6
[FIX] cancelling of o2m lines with m2o on 'Create and Edit'
...
trigger a Widget|focused event on item.action autocomplete selection,
cancels previous Widget|blurred (from picking choice) and avoids
firing of FormView|blurred, used by o2m list to autosave/autocancel an
edition.
bzr revid: xmo@openerp.com-20120802120230-ylnldw0aa39uga1p
2012-08-02 14:02:30 +02:00
Stephane Wirtel
4c14e794d1
[IMP] Use the button_immediate_install in the form view of the modules
...
bzr revid: stw@openerp.com-20120802111845-qgd2g6jkoxut0avl
2012-08-02 13:18:45 +02:00
Fabien Meghazi
d08aa644f3
[REM] Removed a[type=edit, target=dialog] feature from kanban view. Speeds up kanban view
...
bzr revid: fme@openerp.com-20120802101540-fjumv01o7oe1k7xh
2012-08-02 12:15:40 +02:00
Xavier Morel
84bf640e67
[IMP] when trying to focus the first visible field in the editable list view, ensure that we only stop when we actually manage to focus a field
...
bzr revid: xmo@openerp.com-20120802100020-kbmo1s5shjwaof69
2012-08-02 12:00:20 +02:00
Fabien Meghazi
152cc49c3f
[FIX] Autofocus on create mode
...
bzr revid: fme@openerp.com-20120802095326-o6gc8jyvd44u9xg2
2012-08-02 11:53:26 +02:00
Fabien Meghazi
1f1770ffb7
[IMP] Disable autofocus on editable lists
...
bzr revid: fme@openerp.com-20120802093917-3wc9qgek6e2mba5p
2012-08-02 11:39:17 +02:00
Stephane Wirtel
a2c6890705
[MERGE] lp:~openerp-dev/openobject-addons/trunk-addons-issues3-product-wizard-hsa
...
bzr revid: stw@openerp.com-20120802093845-z5m1le3p4eznk43q
2012-08-02 11:38:45 +02:00
Stephane Wirtel
2311c51782
[IMP] base: use the shortdesc in the search view of the modules
...
bzr revid: stw@openerp.com-20120802082335-60u9wfqibfkzlk41
2012-08-02 10:23:35 +02:00
Stephane Wirtel
11dd44ec36
[TYPO] Set the right category for the Point Of Sale
...
bzr revid: stw@openerp.com-20120802080132-6pt5s43sn6je9bul
2012-08-02 10:01:32 +02:00
Stephane Wirtel
66d44c11e1
[MERGE] lp:~openerp-dev/openobject-server/trunk-addons-issues3-base-base_imp-pna
...
bzr revid: stw@openerp.com-20120802074417-ldc41m3bgdefxnj3
2012-08-02 09:44:17 +02:00
Xavier Morel
07d748787b
[IMP] make clicking of the 'Add a row' row in m2os save&create if there's a row being edited
...
as requested by apr
bzr revid: xmo@openerp.com-20120802074006-d843c10g9jal4nre
2012-08-02 09:40:06 +02:00
Launchpad Translations on behalf of openerp
9fb21147c0
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20120802044633-llw6r29ls6dty3l4
2012-08-02 04:46:33 +00:00