Christophe Simonis
5763e40506
[IMP] orm: remove trailing spaces
...
bzr revid: chs@openerp.com-20121001151421-vdfkzuf864rz8q20
2012-10-01 17:14:21 +02:00
Christophe Simonis
273904d103
[IMP] orm: be more vebose when accessing an invalid field of browse_record objects
...
bzr revid: chs@openerp.com-20121001150305-recozdvfc68wc766
2012-10-01 17:03:05 +02:00
olt@tinyerp.com
649cf2e677
[FIX] fixed message format (wrong number of arguments)
...
bzr revid: olt@tinyerp.com-20120920145519-j842fb8woer25p8i
2012-09-20 16:55:19 +02:00
Odowan Kenobi
4b896c36af
[REF] allow to intercept the signals sent to workflows (through buttons) in objects. This is done by adding a function named _workflow_signal() in orm that can be inherited in dedicated objects. Courtesy from Olivier Dony
...
bzr revid: qdp-launchpad@openerp.com-20120918130436-ll7potrsya23lc36
2012-09-18 15:04:36 +02:00
Antonin Bourguignon
d6c4049865
[FIX] fields_get check_access_right
...
bzr revid: abo@openerp.com-20120913144641-ybtrvd4vyf7nfium
2012-09-13 16:46:41 +02:00
Olivier Dony
423aca905a
[IMP] translations: attempt to optimize out _get_source calls when there is not context lang
...
bzr revid: odo@openerp.com-20120912142229-ir3h1z0yau09ivvw
2012-09-12 16:22:29 +02:00
Stephane Wirtel
5acd867264
[MERGE] set the write_uid, write_date for the create
...
bzr revid: stw@openerp.com-20120912102759-di842t8uzzmm2f21
2012-09-12 12:27:59 +02:00
Stephane Wirtel
c735a2c0ec
[MERGE] report & netrpc protocol: Use the cPickle 2.0 protocol and clean the code of report
...
bzr revid: stw@openerp.com-20120911091836-ac0wdxqslcwwbku6
2012-09-11 11:18:36 +02:00
Stephane Wirtel
f55028de4d
[MERGE] server: remove unused imports (Thanks to Florent Xicluna)
...
bzr revid: stw@openerp.com-20120910144609-ad3gupkf3oseb8yy
2012-09-10 16:46:09 +02:00
Raphael Collet
cbcfe23802
[IMP] orm: simplify method definition
...
bzr revid: rco@openerp.com-20120907151016-fj7l6nt6uffxmdgh
2012-09-07 17:10:16 +02:00
Raphael Collet
5feea1cfa8
[MERGE] from trunk
...
bzr revid: rco@openerp.com-20120907150534-eyj92gtq40c83e3v
2012-09-07 17:05:34 +02:00
Raphael Collet
67003bd76f
[FIX] method resolve_2many_commands and its tests
...
bzr revid: rco@openerp.com-20120907122857-4dro8up51ypx0cr5
2012-09-07 14:28:57 +02:00
Raphael Collet
8c8e128d21
[FIX] orm: fix wrong method name
...
bzr revid: rco@openerp.com-20120907093337-jvg72kp572dj110z
2012-09-07 11:33:37 +02:00
Fabien Pinckaers
2c63d43c36
fix
...
bzr revid: fp@tinyerp.com-20120906162528-553xac78vjg9h850
2012-09-06 18:25:28 +02:00
Fabien Pinckaers
a43f4e1419
[IMP] folded columns in read_group
...
bzr revid: fp@tinyerp.com-20120906161719-k4r56bgbso6rprtu
2012-09-06 18:17:19 +02:00
Raphael Collet
f4945c2fc7
[IMP] orm: fix and generalize method resolve_o2m_commands_to_record_dicts (now named resolve_2many_commands)
...
bzr revid: rco@openerp.com-20120906144836-v2ye3o8n12iir84b
2012-09-06 16:48:36 +02:00
Olivier Dony
8e96d71bf3
[MERGE] sync with trunk
...
bzr revid: odo@openerp.com-20120905072646-m4269m97ej1oicoq
bzr revid: odo@openerp.com-20120905220158-ulg8jy5alny97ff3
2012-09-06 00:01:58 +02:00
Thibault Delavallée
95837af09c
[IMP] ir.needaction: made the model Abstract. Fixed a bug when inheriting from AbstractModels: _auto (to create a database for the model) was not correctly set.
...
bzr revid: tde@openerp.com-20120904103242-o6ky20u9gvhu0t3u
2012-09-04 12:32:42 +02:00
Thibault Delavallée
12294252d4
[MERGE] Merged with server/trunk.
...
bzr revid: tde@openerp.com-20120903081949-ucy4e1kpbb30dhko
2012-09-03 10:19:49 +02:00
Raphael Collet
7c1e4b18b0
[MERGE] from trunk
...
bzr revid: rco@openerp.com-20120831144818-2jl7ww2pwmp4jk4v
2012-08-31 16:48:18 +02:00
Stephane Wirtel
b3988436cb
[REF] Replace the user id 1 by openerp.SUPERUSER_ID
...
bzr revid: stw@openerp.com-20120831135309-o4plzf5wp0kyuzgf
2012-08-31 15:53:09 +02:00
Fabien Pinckaers
e46c8e43ff
[IMP] Removing a bad practice:
...
- what happens if you overwrite check_read and modules calls check_access_rights ?
- 5 methods to learn to understand the API insead of one
bzr revid: fp@tinyerp.com-20120822103725-vdubhkzlake2jyvo
2012-08-22 12:37:25 +02:00
Fabien Pinckaers
03f4b992ad
[IMP] need action & mails
...
bzr revid: fp@openerp.com-20120819145928-5bw5lo6dn4ni4gl7
2012-08-19 16:59:28 +02:00
Jigar Amin - OpenERP
9aca3bac8b
[REF/IMP] refectorec the varibale names and added the gantt view, added create ndoe button diable condition
...
bzr revid: jam@tinyerp.com-20120816125706-h92owusp47t6chl1
2012-08-16 18:27:06 +05:30
Jigar Amin - OpenERP
9698fadbb3
[MERGE] lp:openobject-server
...
bzr revid: jam@tinyerp.com-20120816041259-kcqcy66o2o57m3r4
2012-08-16 09:42:59 +05:30
niv-openerp
1885387ace
[IMP] added html field
...
bzr revid: nicolas.vanhoren@openerp.com-20120814130656-4pa91mud8u30mqr5
2012-08-14 15:06:56 +02:00
Thibault Delavallée
e4185c910f
[FIX] orm deprecated: added a list cast because we may receive tuples (as seen on runbot).
...
bzr revid: tde@openerp.com-20120814094142-b79hn5xgduhc7w15
2012-08-14 11:41:42 +02:00
Thibault Delavallée
7c0a0a0158
[MERGE] Merged with server/trunk.
...
bzr revid: tde@openerp.com-20120810073318-gcgnj16e02qvg0y3
bzr revid: tde@openerp.com-20120814090328-seyvug8zdagbdm0o
2012-08-14 11:03:28 +02:00
niv-openerp
7341bd30cc
Added html field type
...
bzr revid: nicolas.vanhoren@openerp.com-20120813114619-lqr9zu0rkz6737rp
2012-08-13 13:46:19 +02:00
Vo Minh Thu
a9ea1b59e3
[MERGE] merged trunk.
...
bzr revid: vmt@openerp.com-20120813101801-snnnxk6p8d9634al
2012-08-13 12:18:01 +02:00
Vo Minh Thu
5e0f709410
[IMP] views: allow create/delete/edit attribte on form/tree/kanban views, automatically set the attributes from access rights.
...
bzr revid: vmt@openerp.com-20120813091047-vqjk3an52dfzbhqe
2012-08-13 11:10:47 +02:00
Vo Minh Thu
d1d6203f4f
[FIX]: orm: reverted a change in a previous commit (where a try/except was removed).
...
bzr revid: vmt@openerp.com-20120810120936-13lewpbjn7euveg0
2012-08-10 14:09:36 +02:00
Thibault Delavallée
8fef0b9a57
[IMP] Removed unnecessary conditions.
...
bzr revid: tde@openerp.com-20120810073242-5nc7h84x9r17kabl
2012-08-10 09:32:42 +02:00
Thibault Delavallée
87625fd742
[IMP] deprecated feature: added protection against read/write on non-existing columns. The ORM already throws warnings, no need to crash in addition :) .
...
bzr revid: tde@openerp.com-20120809120926-ngl31imcggzz9wzt
2012-08-09 14:09:26 +02:00
Thibault Delavallée
90c695d141
[FIX] f -> field
...
bzr revid: tde@openerp.com-20120809084148-a3wf9cihllhhmo82
2012-08-09 10:41:48 +02:00
Thibault Delavallée
616e7a92ec
[IMP] orm: added a deprecated attribute on fields. If not False, is a string, and make the ORM print a warning telling the field is deprecated.
...
Use: 'my_field': fields.char('Old field', size=64, deprecated="This field will be removed as of version 42 of OpenERP. Please update your module to use 'my_new_field' instead.")
bzr revid: tde@openerp.com-20120809083103-pjc9ynvmtojnfnah
2012-08-09 10:31:03 +02:00
Xavier Morel
b4d532f7d6
[MERGE} from trunk
...
bzr revid: xmo@openerp.com-20120808113035-ym4zuqisnofv129s
2012-08-08 13:30:35 +02:00
Xavier Morel
346397530d
[FIX] weird dict.update calls
...
bzr revid: xmo@openerp.com-20120806132731-ck4usrs99qlh1pq9
2012-08-06 15:27:31 +02:00
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
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
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
Vo Minh Thu
6aef95b5c2
[MEOW] lolcat crazy ninja fix in the branch, take two!
...
bzr revid: vmt@openerp.com-20120801080155-8qhg3aqkay2rrmbt
2012-08-01 10:01:55 +02:00
Vo Minh Thu
171500f171
[MAOW] lolcat ninja fix in the branch, yaoh!
...
bzr revid: vmt@openerp.com-20120801075024-mpc4seluumaa33ph
2012-08-01 09:50:24 +02:00
Antony Lesuisse
42859212fa
[FIX] typos and vmt review
...
bzr revid: al@openerp.com-20120731152649-4mxph7d0cnlaqtef
2012-07-31 17:26:49 +02:00
Antony Lesuisse
4811011c76
[FIX] typo
...
bzr revid: al@openerp.com-20120731151718-g0fk33ycoapob13j
2012-07-31 17:17:18 +02:00
Antony Lesuisse
8540dcf017
[FIX] assertion message
...
bzr revid: al@openerp.com-20120731122557-9ka14pw09x2fhmos
2012-07-31 14:25:57 +02:00
Antony Lesuisse
d375ee272e
[FIX] rec_name assertion and fallback
...
bzr revid: al@openerp.com-20120731120621-11j7k7965d9sclp2
2012-07-31 14:06:21 +02:00
Antony Lesuisse
09fe39c0b6
[IMP] rec_name assertion and fallback
...
bzr revid: al@openerp.com-20120731110845-nt11isvr96tuc207
2012-07-31 13:08:45 +02:00
Xavier Morel
fc36345ca0
[ADD] test cases for export of simple fields
...
bzr revid: xmo@openerp.com-20120723150306-6zgtr9ho0d3ud78u
2012-07-23 17:03:06 +02:00
Xavier Morel
3b5890d79b
[REM] redundant code: a field of type one2many will always have _type one2many
...
bzr revid: xmo@openerp.com-20120723135113-6x3s5lmljk8cdpf0
2012-07-23 15:51:13 +02:00