odoo/odoo.git
13 years ago[FIX] orm,ir.model: add eval of domain for relationship fields
Olivier Dony [Tue, 29 Mar 2011 11:38:24 +0000 (13:38 +0200)]
[FIX] orm,ir.model: add eval of domain for relationship fields

Without this, it has become impossible to add one2many fields
as custom fields, because the domain string is not evaluated

bzr revid: odo@openerp.com-20110329113824-5ca5bvp1awzies5u

13 years ago[MERGE] cleaner handling for active_id in domains via magic unquote
Olivier Dony [Tue, 29 Mar 2011 11:34:01 +0000 (13:34 +0200)]
[MERGE] cleaner handling for active_id in domains via magic unquote

bzr revid: odo@openerp.com-20110329113401-io9321o53ziip8r4

13 years ago[FIX]stock:passing int to write method of stock.move
ron@tinyerp.com [Tue, 29 Mar 2011 11:07:02 +0000 (16:37 +0530)]
[FIX]stock:passing int to write method of stock.move

lp bug: https://launchpad.net/bugs/740202 fixed

bzr revid: ron@tinyerp.com-20110329110702-kvu2a9c0y71sooqt

13 years ago[FIX] Account: Problem for duplicating a record
skh [Tue, 29 Mar 2011 11:01:35 +0000 (16:31 +0530)]
[FIX] Account: Problem for duplicating a record

lp bug: https://launchpad.net/bugs/740134 fixed

bzr revid: skh@tinyerp.com-20110329110135-yemxfqb4hyyeiljk

13 years ago[FIX] test case names: I should really stop copy/pasting and editing tests
Xavier Morel [Tue, 29 Mar 2011 11:01:30 +0000 (13:01 +0200)]
[FIX] test case names: I should really stop copy/pasting and editing tests

bzr revid: xmo@openerp.com-20110329110130-0r2kyzn4l40j0k0r

13 years ago[ADD] handle validation at the searchview level, instead of blowing up the whole...
Xavier Morel [Tue, 29 Mar 2011 10:47:44 +0000 (12:47 +0200)]
[ADD] handle validation at the searchview level, instead of blowing up the whole thing by letting Invalid errors bubble up

bzr revid: xmo@openerp.com-20110329104744-601os9hafz5mp7z1

13 years ago[FIX] Account: Problem for duplicating a record
skh [Tue, 29 Mar 2011 10:40:36 +0000 (16:10 +0530)]
[FIX] Account: Problem for duplicating a record

lp bug: https://launchpad.net/bugs/740134 fixed

bzr revid: skh@tinyerp.com-20110329104036-2h9eaunt4keitw4n

13 years ago[FIX] Account: Problem for duplicating a record
skh [Tue, 29 Mar 2011 10:11:09 +0000 (15:41 +0530)]
[FIX] Account: Problem for duplicating a record

bzr revid: skh@tinyerp.com-20110329101109-8nuny0wmrsooroxa

13 years ago[IMP] Prototype base class for widgets.
niv-openerp [Tue, 29 Mar 2011 09:10:01 +0000 (11:10 +0200)]
[IMP] Prototype base class for widgets.

bzr revid: nicolas.vanhoren@openerp.com-20110329091001-u76p5psmpi70me3t

13 years ago[ADD] handling of own values on fields (e.g. self, values which are used to evaluate...
Xavier Morel [Tue, 29 Mar 2011 09:09:41 +0000 (11:09 +0200)]
[ADD] handling of own values on fields (e.g. self, values which are used to evaluate the field's context and domain, but not any other field's)

Also fix bugs in fields_view_get: didn't evaluate filter_domain to a nonliteral Domain (or a literal domain dict)

bzr revid: xmo@openerp.com-20110329090941-av5ymojubq23yjim

13 years ago[IMP] cleanup initialization of evaluation context on eval_domain and eval_context
Xavier Morel [Tue, 29 Mar 2011 08:20:34 +0000 (10:20 +0200)]
[IMP] cleanup initialization of evaluation context on eval_domain and eval_context

bzr revid: xmo@openerp.com-20110329082034-zh2gx656806bu2se

13 years ago[IMP] move storage of contexts to OpenERPSession.context_store, fix a number of tests...
Xavier Morel [Tue, 29 Mar 2011 08:20:02 +0000 (10:20 +0200)]
[IMP] move storage of contexts to OpenERPSession.context_store, fix a number of tests it broke including one it revealed was completely broken

test_retrieve_second_domain passing relied on domains and contexts being stored in the same place, as it created a domain from a context key and tried to check if that worked. It did...

bzr revid: xmo@openerp.com-20110329082002-8rnvnp9cog9gr7zd

13 years ago[FIX] membership: invoice membership action missing
ARA (OpenERP) [Tue, 29 Mar 2011 06:18:22 +0000 (11:48 +0530)]
[FIX] membership: invoice membership action missing

lp bug: https://launchpad.net/bugs/740517 fixed

bzr revid: ara@tinyerp.com-20110329061822-qxqirltaurajya0y

13 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 29 Mar 2011 04:40:41 +0000 (04:40 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20110329044041-qyy3q7u1em74acq9

13 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 29 Mar 2011 04:39:26 +0000 (04:39 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20110329043926-8n5jwee5fkmdi7mt

13 years ago[ADD] some documentation on the search view
Xavier Morel [Mon, 28 Mar 2011 19:48:09 +0000 (21:48 +0200)]
[ADD] some documentation on the search view

bzr revid: xmo@openerp.com-20110328194809-yw0oyo6db5iyy1tk

13 years ago[MERGE] lp: 739474
Quentin (OpenERP) [Mon, 28 Mar 2011 17:18:49 +0000 (19:18 +0200)]
[MERGE] lp: 739474

bzr revid: qdp-launchpad@openerp.com-20110328171849-ld419s384kahq64y

13 years ago[MERGE] lp:740858
Quentin (OpenERP) [Mon, 28 Mar 2011 17:09:06 +0000 (19:09 +0200)]
[MERGE] lp:740858

bzr revid: qdp-launchpad@openerp.com-20110328170906-dx8q4gx69809blmg

13 years ago[MERGE] lp:739584
Quentin (OpenERP) [Mon, 28 Mar 2011 17:05:53 +0000 (19:05 +0200)]
[MERGE] lp:739584

bzr revid: qdp-launchpad@openerp.com-20110328170553-gncwq96nda4d30y4

13 years ago[IMP] Extended filters wip.
niv-openerp [Mon, 28 Mar 2011 16:49:45 +0000 (18:49 +0200)]
[IMP] Extended filters wip.

bzr revid: nicolas.vanhoren@openerp.com-20110328164945-xdsmfq233cxlxggy

13 years ago[ADD] group_by support in search views (not handled yet by the view manager and list...
Xavier Morel [Mon, 28 Mar 2011 16:39:17 +0000 (18:39 +0200)]
[ADD] group_by support in search views (not handled yet by the view manager and list view, so they have no actual effect)

bzr revid: xmo@openerp.com-20110328163917-5deq43o7jwotfpym

13 years ago[ADD] attrs support in form view
Fabien Meghazi [Mon, 28 Mar 2011 16:05:30 +0000 (18:05 +0200)]
[ADD] attrs support in form view

bzr revid: fme@openerp.com-20110328160530-qw2esi6pmin2p1mo

13 years ago[FIX] sale: fixed stupid attrs in sale order form view
Quentin (OpenERP) [Mon, 28 Mar 2011 15:46:01 +0000 (17:46 +0200)]
[FIX] sale: fixed stupid attrs in sale order form view

bzr revid: qdp-launchpad@openerp.com-20110328154601-47a099ya93jws0vu

13 years ago[FIX] Stop evaluating non-literal contexts coming from the client browser
Xavier Morel [Mon, 28 Mar 2011 15:26:57 +0000 (17:26 +0200)]
[FIX] Stop evaluating non-literal contexts coming from the client browser

The browser can not be trusted, it is not a decent person, as opposed to chickens who're decent people

bzr revid: xmo@openerp.com-20110328152657-oc48whrcyp5wxh6f

13 years ago[ADD] non-literal contexts
Xavier Morel [Mon, 28 Mar 2011 15:14:10 +0000 (17:14 +0200)]
[ADD] non-literal contexts

bzr revid: xmo@openerp.com-20110328151410-6ep57ay6sdc2k39r

13 years ago[IMP] use non-literal domains to and from client, add a bunch of tests
Xavier Morel [Mon, 28 Mar 2011 14:19:20 +0000 (16:19 +0200)]
[IMP] use non-literal domains to and from client, add a bunch of tests

Converted OpenERPSession's evaluations to be based on literal (dict) or nonliteral (Domain) objects. OpenERPSession will *not accept* to eval strings

bzr revid: xmo@openerp.com-20110328141920-hlp6sb173o2j6ldw

13 years ago[FIX] base_tools, marketing_campaign_crm_demo: __init__.py is no more blank
Vo Minh Thu [Mon, 28 Mar 2011 14:04:53 +0000 (16:04 +0200)]
[FIX] base_tools, marketing_campaign_crm_demo: __init__.py is no more blank
- the file should not be blank otherwise the Debian packaging will ignore it.

lp bug: https://launchpad.net/bugs/706227 fixed

bzr revid: vmt@openerp.com-20110328140453-sbid5l1042qkqbyh

13 years ago[IMP] Extended filters wip.
niv-openerp [Mon, 28 Mar 2011 12:42:47 +0000 (14:42 +0200)]
[IMP] Extended filters wip.

bzr revid: nicolas.vanhoren@openerp.com-20110328124247-mb723pentlpimb1z

13 years ago[REF] debian:
Vo Minh Thu [Mon, 28 Mar 2011 12:29:58 +0000 (14:29 +0200)]
[REF] debian:
- removed no more needed patches
- added python-dateutil as dependency
- removed code to specify modules to add in the server
- added the debian directory to the setup.py sdist

bzr revid: vmt@openerp.com-20110328122958-x0jsdd8i3bsvjc81

13 years ago[ADD] start working on adding the concept of literal and non-lit domains, non-lit...
Xavier Morel [Mon, 28 Mar 2011 12:27:24 +0000 (14:27 +0200)]
[ADD] start working on adding the concept of literal and non-lit domains, non-lit domains will *not* be pushed to the client but will be stored locally and only a ref will go through

bzr revid: xmo@openerp.com-20110328122724-gnxn8cnta4xyotab

13 years ago[IMP] account, refund invoice wizard: changed default value and order of filter_refun...
Quentin (OpenERP) [Mon, 28 Mar 2011 11:23:54 +0000 (13:23 +0200)]
[IMP] account, refund invoice wizard: changed default value and order of filter_refund field in order to have something less error prone and less dangereous

bzr revid: qdp-launchpad@openerp.com-20110328112354-o3nxeho0k2ehwni1

13 years ago[FIX] Account: Problem for duplicating a record
skh [Mon, 28 Mar 2011 10:50:19 +0000 (16:20 +0530)]
[FIX] Account: Problem for duplicating a record

bzr revid: skh@tinyerp.com-20110328105019-0dlsdgg93l0rlje4

13 years ago[FIX] Account: Problem for duplicating a record
skh [Mon, 28 Mar 2011 10:29:12 +0000 (15:59 +0530)]
[FIX] Account: Problem for duplicating a record

bzr revid: skh@tinyerp.com-20110328102912-fr1qz4e4hcahxfsh

13 years ago[FIX] invisible tag is alias to attrs 'state', 'not in' instead of 'state', 'in'
Fabien Meghazi [Mon, 28 Mar 2011 10:01:09 +0000 (12:01 +0200)]
[FIX] invisible tag is alias to attrs 'state', 'not in' instead of 'state', 'in'

bzr revid: fme@openerp.com-20110328100109-gmitlx4r9l1t3wnz

13 years ago[FIX] documentation handling issues
Xavier Morel [Mon, 28 Mar 2011 09:18:09 +0000 (11:18 +0200)]
[FIX] documentation handling issues

bzr revid: xmo@openerp.com-20110328091809-kju0n2rw232z1pxf

13 years ago[FIX] Changed LabJs configuration to workaround a bug in Chrome that made debugging...
niv-openerp [Mon, 28 Mar 2011 09:03:39 +0000 (11:03 +0200)]
[FIX] Changed LabJs configuration to workaround a bug in Chrome that made debugging unusable.

bzr revid: nicolas.vanhoren@openerp.com-20110328090339-vr6nkw4vce2jr1by

13 years ago[MERGE] small refactoring from trunk
Xavier Morel [Mon, 28 Mar 2011 08:31:53 +0000 (10:31 +0200)]
[MERGE] small refactoring from trunk

bzr revid: xmo@openerp.com-20110328083153-0uxa4m63aa3we8s7

13 years ago[IMP] extract attributes normalization in its own method, add some comments and fix...
Xavier Morel [Mon, 28 Mar 2011 08:31:12 +0000 (10:31 +0200)]
[IMP] extract attributes normalization in its own method, add some comments and fix style a bit (y u use has_key?)

bzr revid: xmo@openerp.com-20110328083112-v2y9y2ith7gidq50

13 years ago[IMP] tools: add "unquote" class for magic bare variables in context/domains
Olivier Dony [Mon, 28 Mar 2011 07:59:20 +0000 (09:59 +0200)]
[IMP] tools: add "unquote" class for magic bare variables in context/domains

This is used to allow bare active_id variables in context
or domains of act_window tags.
Note that previously this was done by replacing the active_id with
a active_id string, which required further trick on the client
side to perform the reverse operation.

bzr revid: odo@openerp.com-20110328075920-ljadcubezs9swli8

13 years ago[IMP] mark events as events, fix typo
Xavier Morel [Mon, 28 Mar 2011 07:42:39 +0000 (09:42 +0200)]
[IMP] mark events as events, fix typo

bzr revid: xmo@openerp.com-20110328074239-1ygsxzxsv2huhv75

13 years ago[IMP] Modified search view to factorise expanding functionality.
niv-openerp [Mon, 28 Mar 2011 07:37:22 +0000 (09:37 +0200)]
[IMP] Modified search view to factorise expanding functionality.

bzr revid: nicolas.vanhoren@openerp.com-20110328073722-stytrmyog74ikar5

13 years ago[MERGE, IMP] Merge with mtr's branch and improve compute_sheet method for multiple...
psi (Open ERP) [Mon, 28 Mar 2011 05:27:14 +0000 (10:57 +0530)]
[MERGE, IMP] Merge with mtr's branch and improve compute_sheet method for multiple contracts of an employee

bzr revid: psi@tinyerp.co.in-20110328052714-7p6lh6p9hzj9s7pr

13 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 28 Mar 2011 04:36:36 +0000 (04:36 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20110326050046-dq45skrem9w4mvec
bzr revid: launchpad_translations_on_behalf_of_openerp-20110327045332-0qk3wj2yahi6f7ty
bzr revid: launchpad_translations_on_behalf_of_openerp-20110328043636-fm3ded2ur36t8x6q

13 years ago[IMP] Sphinx will automatically cross-reference return types it understands, for...
Xavier Morel [Sun, 27 Mar 2011 13:59:00 +0000 (15:59 +0200)]
[IMP] Sphinx will automatically cross-reference return types it understands, for direct class references no need to manually cross-ref

bzr revid: xmo@openerp.com-20110327135900-wqk5ow1m4zavnwvg

13 years ago[FIX] RST lists to make super brittle text-filler not break
Xavier Morel [Sun, 27 Mar 2011 13:36:37 +0000 (15:36 +0200)]
[FIX] RST lists to make super brittle text-filler not break

bzr revid: xmo@openerp.com-20110327133637-6l78z8exhs8timuj

13 years ago[ADD] document documentation (esp. JS APIDoc via JsDoc, which is actually a fairly...
Xavier Morel [Sun, 27 Mar 2011 12:05:15 +0000 (14:05 +0200)]
[ADD] document documentation (esp. JS APIDoc via JsDoc, which is actually a fairly complex endeavour)

bzr revid: xmo@openerp.com-20110327120515-wdcxc19j4exuu2zu

13 years ago[MERGE] merged the branch of Lorenzo Battistini - agilebg.com containing a fix for...
Quentin (OpenERP) [Fri, 25 Mar 2011 16:06:33 +0000 (17:06 +0100)]
[MERGE] merged the branch of Lorenzo Battistini - agilebg.com containing a fix for l10n_it

bzr revid: qdp-launchpad@openerp.com-20110325160633-teegug2yujjz2y4w

13 years ago[IMP] filters probably should not trigger a re-search themselves, they should report...
Xavier Morel [Fri, 25 Mar 2011 15:59:17 +0000 (16:59 +0100)]
[IMP] filters probably should not trigger a re-search themselves, they should report their toggling to their controller instead

bzr revid: xmo@openerp.com-20110325155917-8j1ns332tgzf5kvf

13 years ago[MERGE] merged the branch of Stefan Rijnhart (Therp) containing fix for lp:740353...
Quentin (OpenERP) [Fri, 25 Mar 2011 15:54:45 +0000 (16:54 +0100)]
[MERGE] merged the branch of Stefan Rijnhart (Therp) containing fix for lp:740353 'Adds code fields to all account.tax.code.template'

bzr revid: qdp-launchpad@openerp.com-20110325155445-x1erwzv907ke8z7k

13 years ago[MERGE] lp: 740353
Quentin (OpenERP) [Fri, 25 Mar 2011 15:42:29 +0000 (16:42 +0100)]
[MERGE] lp: 740353

bzr revid: qdp-launchpad@openerp.com-20110325154229-ps8cm4d6i2wz49vy

13 years ago[FIX] account/account_move_line: proper use of set()
Quentin (OpenERP) [Fri, 25 Mar 2011 15:38:54 +0000 (16:38 +0100)]
[FIX] account/account_move_line: proper use of set()

bzr revid: qdp-launchpad@openerp.com-20110325153854-jtxryt1cw7rm5a7p

13 years ago[MERGE] merged the branch of niv containing updated description and pictures of modul...
Quentin (OpenERP) [Fri, 25 Mar 2011 15:17:24 +0000 (16:17 +0100)]
[MERGE] merged the branch of niv containing updated description and pictures of modules for the loempia project

bzr revid: qdp-launchpad@openerp.com-20110325151724-h8st5m8ygn6d8j82

13 years ago[IMP] Added beginning of extended views.
niv-openerp [Fri, 25 Mar 2011 15:11:20 +0000 (16:11 +0100)]
[IMP] Added beginning of extended views.

bzr revid: nicolas.vanhoren@openerp.com-20110325151120-rwtxizs9rci24k1p

13 years ago[FIX] evaluation context should contain itself (as some domains go get stuff via...
Xavier Morel [Fri, 25 Mar 2011 15:08:38 +0000 (16:08 +0100)]
[FIX] evaluation context should contain itself (as some domains go get stuff via context.get)

bzr revid: xmo@openerp.com-20110325150838-qxo8ruf6i2v3jt5l

13 years ago[MERGE] lp:737258
Quentin (OpenERP) [Fri, 25 Mar 2011 14:38:52 +0000 (15:38 +0100)]
[MERGE] lp:737258

bzr revid: qdp-launchpad@openerp.com-20110325143852-59j11its16tkw053

13 years ago[MERGE] lp:739181
Quentin (OpenERP) [Fri, 25 Mar 2011 14:28:31 +0000 (15:28 +0100)]
[MERGE] lp:739181

bzr revid: qdp-launchpad@openerp.com-20110325142831-oygh7tepywprlu29

13 years ago[MERGE] lp:724820
Quentin (OpenERP) [Fri, 25 Mar 2011 14:05:26 +0000 (15:05 +0100)]
[MERGE] lp:724820

bzr revid: qdp-launchpad@openerp.com-20110325140526-w9m2lhuezc8cyza7

13 years ago[MERGE] lp:700928
Quentin (OpenERP) [Fri, 25 Mar 2011 13:56:09 +0000 (14:56 +0100)]
[MERGE] lp:700928

bzr revid: qdp-launchpad@openerp.com-20110325135609-rscqyc12e17mbasx

13 years ago[MERGE] fixes from trunk for annoying no-id-menu click
Xavier Morel [Fri, 25 Mar 2011 13:33:59 +0000 (14:33 +0100)]
[MERGE] fixes from trunk for annoying no-id-menu click

bzr revid: xmo@openerp.com-20110325133359-kjcjrhgu9niyjyw5

13 years ago[FIX] don't call /base/menu/action when the current menu does not have an id
Xavier Morel [Fri, 25 Mar 2011 13:23:51 +0000 (14:23 +0100)]
[FIX] don't call /base/menu/action when the current menu does not have an id

bzr revid: xmo@openerp.com-20110325132351-tqzzmgqj9ldwzv54

13 years ago[IMP] style fixes, just .data() jquery method instead of .attr('data-*'): shorter...
Xavier Morel [Fri, 25 Mar 2011 13:21:15 +0000 (14:21 +0100)]
[IMP] style fixes, just .data() jquery method instead of .attr('data-*'): shorter and parses integers without having the need to do so manually

[Every attempt is made to convert the string to a JavaScript value (this includes booleans, numbers, objects, arrays, and null) otherwise it is left as a string. To retrieve the value's attribute as a string without any attempt to convert it, use the attr() method. ]

bzr revid: xmo@openerp.com-20110325132115-25ey6y08zc1bjk1q

13 years ago[FIX]: No average price re-calculation on products
ksa (Open ERP) [Fri, 25 Mar 2011 13:20:11 +0000 (18:50 +0530)]
[FIX]: No average price re-calculation on products

lp bug: https://launchpad.net/bugs/737258 fixed

bzr revid: ksa@tinyerp.co.in-20110325132011-22yu69wtzceop0ae

13 years ago[IMP] hr_payroll: Improve onchange_employee_id function so it will consider more...
psi (Open ERP) [Fri, 25 Mar 2011 13:20:10 +0000 (18:50 +0530)]
[IMP] hr_payroll: Improve onchange_employee_id function so it will consider more than one contract

bzr revid: psi@tinyerp.co.in-20110325132010-2wbznignx994jvb5

13 years ago[IMP] hr_payroll:added fields and code for tab i.e 'Applied Salary Rules' and 'Appear...
mtr [Fri, 25 Mar 2011 13:15:12 +0000 (18:45 +0530)]
[IMP] hr_payroll:added fields and code for tab i.e 'Applied Salary Rules' and 'Appears on Payslip'

bzr revid: mtr@mtr-20110325131512-qzyzqemlqvc48yof

13 years ago[FIX] loading of data in grid (reload it correctly, ideally we should only replace...
Xavier Morel [Fri, 25 Mar 2011 13:08:18 +0000 (14:08 +0100)]
[FIX] loading of data in grid (reload it correctly, ideally we should only replace rows we didn't already have, something like that...)

bzr revid: xmo@openerp.com-20110325130818-wgg4x3dgxsgdpkqy

13 years ago[FIX] IntegerField should not fail to validate when left empty. Also, until they...
Xavier Morel [Fri, 25 Mar 2011 12:43:15 +0000 (13:43 +0100)]
[FIX] IntegerField should not fail to validate when left empty. Also, until they're actually implemented relational field widgets should be Integer fields, not just fields

bzr revid: xmo@openerp.com-20110325124315-k8tpt2cpwhohlljm

13 years ago[FIX] field contexts are lists of lists, not just lists (otherwise the evaluator...
Xavier Morel [Fri, 25 Mar 2011 12:42:23 +0000 (13:42 +0100)]
[FIX] field contexts are lists of lists, not just lists (otherwise the evaluator gets screwy)

bzr revid: xmo@openerp.com-20110325124223-2q0li224uhogy52s

13 years ago[ADD] evaluation of search contexts and domains, hook ViewManager to the dataset...
Xavier Morel [Fri, 25 Mar 2011 12:32:52 +0000 (13:32 +0100)]
[ADD] evaluation of search contexts and domains, hook ViewManager to the dataset in order to perform the correct search.

I'm pretty sure there's a race condition somewhere in there, in the initial loading of the whole mess I bet we can have the auto_search triggering before the list controller is done loading...

We probably need some deferred (one for each searchable view in the manager + one for the searchview itself) and a final one waiting on them all (I don't think jquery's deferred can do that built-in) before launching the auto_search

bzr revid: xmo@openerp.com-20110325123252-fjrgj4aicac3fo3b

13 years ago[FIX] timing issue with the ViewManager triggering a search on auto_search
Xavier Morel [Fri, 25 Mar 2011 10:51:51 +0000 (11:51 +0100)]
[FIX] timing issue with the ViewManager triggering a search on auto_search

* search should be performed after on_loaded has executed, otherwise no data is available (rendering hasn't even happened)
* don't offload start()ing all the widgets via a setTimeout/defer, otherwise need intermediate callback (for when the view is rendered but the widgets are not loaded) to keep ViewManager in sync
* fix preventDefault condition on SearchView DOM event handlers: only try to preventDefault() if there is a first argument *and it has a preventDefault attribute*

bzr revid: xmo@openerp.com-20110325105151-wkdf8llenaqlffhn

13 years ago[FIX] no 'not' operator in QWeb conditions, use 'bzr cdiff'
Xavier Morel [Fri, 25 Mar 2011 10:48:47 +0000 (11:48 +0100)]
[FIX] no 'not' operator in QWeb conditions, use 'bzr cdiff'

bzr revid: xmo@openerp.com-20110325104847-1lkv0jkbkhemju2x

13 years ago[FIX] handle default values setting on search view
Xavier Morel [Fri, 25 Mar 2011 10:34:25 +0000 (11:34 +0100)]
[FIX] handle default values setting on search view

bzr revid: xmo@openerp.com-20110325103425-ag08qufuavok6kz0

13 years ago[MERGE] Resynchronized with trunk.
niv-openerp [Fri, 25 Mar 2011 10:24:13 +0000 (11:24 +0100)]
[MERGE] Resynchronized with trunk.

bzr revid: nicolas.vanhoren@openerp.com-20110325102413-7xjgusazsow7nwaf

13 years ago[FIX]: Improve code
ksa (Open ERP) [Fri, 25 Mar 2011 10:22:08 +0000 (15:52 +0530)]
[FIX]: Improve code

bzr revid: ksa@tinyerp.co.in-20110325102208-udopl6kg3f8orowl

13 years ago[FIX] Account:Exception raised when setting an Account InActive
ARA (OpenERP) [Fri, 25 Mar 2011 10:18:08 +0000 (15:48 +0530)]
[FIX] Account:Exception raised when setting an Account InActive

bzr revid: ara@tinyerp.com-20110325101808-r1yfsenlr10lgdv4

13 years ago[IMP]: Improve code
ksa (Open ERP) [Fri, 25 Mar 2011 10:13:59 +0000 (15:43 +0530)]
[IMP]: Improve code

bzr revid: ksa@tinyerp.co.in-20110325101359-60mbc5w41907xt0i

13 years ago[IMP] eval action context and domain straight as they come from a tree_but_open ...
Xavier Morel [Fri, 25 Mar 2011 09:41:19 +0000 (10:41 +0100)]
[IMP] eval action context and domain straight as they come from a tree_but_open (on menu), add APIDoc for OpenERPSession

OpenERPSession is in charge of evaluating domains and contexts. Always.

bzr revid: xmo@openerp.com-20110325094119-fpd4e00w20kbgfzf

13 years ago[IMP]: Improve the code
ksa (Open ERP) [Fri, 25 Mar 2011 09:24:53 +0000 (14:54 +0530)]
[IMP]: Improve the code

bzr revid: ksa@tinyerp.co.in-20110325092453-jalp1rinh8mw943b

13 years ago[FIX] account: slow invoice cancel because validate for every line
ARA (OpenERP) [Fri, 25 Mar 2011 08:35:49 +0000 (14:05 +0530)]
[FIX] account: slow invoice cancel because validate for every line

bzr revid: ara@tinyerp.com-20110325083549-ud6qd6hxhzimsb1l

13 years ago[FIX] typo
Xavier Morel [Fri, 25 Mar 2011 08:16:13 +0000 (09:16 +0100)]
[FIX] typo

bzr revid: xmo@openerp.com-20110325081613-1i8ns180e84hmz9p

13 years ago[IMP] hook search into ViewManager, add handling for auto_search in window action
Xavier Morel [Fri, 25 Mar 2011 08:12:27 +0000 (09:12 +0100)]
[IMP] hook search into ViewManager, add handling for auto_search in window action

bzr revid: xmo@openerp.com-20110325081227-cpct376v07amlooo

13 years ago[IMP] Remove unused line
Fabien Meghazi [Fri, 25 Mar 2011 08:01:08 +0000 (09:01 +0100)]
[IMP] Remove unused line

bzr revid: fme@openerp.com-20110325080108-7c155e8xc27m0zvb

13 years ago[IMP] use .toggle(condition) instead of if(condition) .show() else .hide()
Xavier Morel [Fri, 25 Mar 2011 07:26:07 +0000 (08:26 +0100)]
[IMP] use .toggle(condition) instead of if(condition) .show() else .hide()

bzr revid: xmo@openerp.com-20110325072607-gbz2z3rsnv140fgu

13 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 25 Mar 2011 04:40:36 +0000 (04:40 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20110325044036-zt02l3fxb5pjby0g

13 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 25 Mar 2011 04:39:36 +0000 (04:39 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20110325043936-rwjw2gtidaw2trw4

13 years ago[MERGE] favicon fix
Xavier Morel [Thu, 24 Mar 2011 21:11:57 +0000 (22:11 +0100)]
[MERGE] favicon fix

bzr revid: xmo@openerp.com-20110324211157-mb9ehmr4nd4bo354

13 years ago[FIX] Label widget rendering breaking on actual label elements/widgets (e.g. opportun...
Xavier Morel [Thu, 24 Mar 2011 21:03:47 +0000 (22:03 +0100)]
[FIX] Label widget rendering breaking on actual label elements/widgets (e.g. opportunities form)

bzr revid: xmo@openerp.com-20110324210347-1tnqjpzu22zr0vzw

13 years ago[FIX] shut up the annoying console spamming by default. To enable it, set 'openerp...
Xavier Morel [Thu, 24 Mar 2011 20:48:13 +0000 (21:48 +0100)]
[FIX] shut up the annoying console spamming by default. To enable it, set 'openerp.debug' to true or add 'debug' at the start of the querystring

bzr revid: xmo@openerp.com-20110324204813-09wdb7k3m5h7asca

13 years ago[FIX] use LABjs to load scripts to avoid recurring 'TypeError: Result of expression...
Xavier Morel [Thu, 24 Mar 2011 20:35:38 +0000 (21:35 +0100)]
[FIX] use LABjs to load scripts to avoid recurring 'TypeError: Result of expression 'openerp._openerp[mod]' [undefined] is not a function.'

Might not be the best loader, not sure, but we only use it in two places so it's trivial to replace. It's also one of the oldest loaders so it should be pretty stable.

bzr revid: xmo@openerp.com-20110324203538-bk59e8wbiux47e7j

13 years ago[ADD] Transformation of fields view get during parsing. See http://pad.openerp.com...
Fabien Meghazi [Thu, 24 Mar 2011 20:11:25 +0000 (21:11 +0100)]
[ADD] Transformation of fields view get during parsing. See pad.openerp.com/discoveries

bzr revid: fme@openerp.com-20110324201125-in8wgrad51aljoej

13 years ago[FIX] Secondary menu content has scrollbar under firefox
Fabien Meghazi [Thu, 24 Mar 2011 20:10:18 +0000 (21:10 +0100)]
[FIX] Secondary menu content has scrollbar under firefox

bzr revid: fme@openerp.com-20110324201018-tczdnrobb1jr3c28

13 years ago[FIX] Using js keywords for object keys is a bad idea (of fme)
Fabien Meghazi [Thu, 24 Mar 2011 20:08:58 +0000 (21:08 +0100)]
[FIX] Using js keywords for object keys is a bad idea (of fme)

bzr revid: fme@openerp.com-20110324200858-36lh8ioqdd2m6su1

13 years ago[ADD] integer widget
Xavier Morel [Thu, 24 Mar 2011 19:24:59 +0000 (20:24 +0100)]
[ADD] integer widget

bzr revid: xmo@openerp.com-20110324192459-csylxhu32au9nns6

13 years ago[ADD] text, selection and boolean fields; improve logic to detect whether a field...
Xavier Morel [Thu, 24 Mar 2011 18:47:13 +0000 (19:47 +0100)]
[ADD] text, selection and boolean fields; improve logic to detect whether a field has a value

If the value returned by a field is the literal 'null' or an empty
string, then the field is empty (empty input, no valued option
selected, etc...).

On the other hand, because openerp.base.search.Field.get_value returns
a *javascript* value it can be the literals '0' or 'false'. Those are
falsy in a boolean context (for good reasons, for 'false') but they
should still count as the field having a value.

I'm guessing this part is going to reach "spin off in its own
per-field method" complexity pretty soon.

bzr revid: xmo@openerp.com-20110324184713-sf7skv34s9824ge6

13 years ago[IMP] move group toggling from template code to JS code
Xavier Morel [Thu, 24 Mar 2011 18:22:22 +0000 (19:22 +0100)]
[IMP] move group toggling from template code to JS code

bzr revid: xmo@openerp.com-20110324182222-qaymq120818jx10n

13 years ago[ADD] Date and ManyToMany fields
Xavier Morel [Thu, 24 Mar 2011 18:16:55 +0000 (19:16 +0100)]
[ADD] Date and ManyToMany fields

bzr revid: xmo@openerp.com-20110324181655-xh1btoq1mj8kr2mi

13 years ago[FIX] the default operator on 'char' fields is 'ilike'
Xavier Morel [Thu, 24 Mar 2011 18:01:29 +0000 (19:01 +0100)]
[FIX] the default operator on 'char' fields is 'ilike'

bzr revid: xmo@openerp.com-20110324180129-mv36bxo7dswv7q06

13 years ago[IMP] only send domain if there's a value (the field is 'enabled')
Xavier Morel [Thu, 24 Mar 2011 18:00:28 +0000 (19:00 +0100)]
[IMP] only send domain if there's a value (the field is 'enabled')

bzr revid: xmo@openerp.com-20110324180028-3cuim4glo70wezkh

13 years ago[FIX] it turns out the default operator is weirdly named 'default_operator', not...
Xavier Morel [Thu, 24 Mar 2011 17:42:30 +0000 (18:42 +0100)]
[FIX] it turns out the default operator is weirdly named 'default_operator', not 'die_walküre'. Weird

bzr revid: xmo@openerp.com-20110324174230-nfv342t6aysrkkb5

13 years ago[FIX] yes suzie, we do actually need the last filter of our view, it can be useful
Xavier Morel [Thu, 24 Mar 2011 17:39:26 +0000 (18:39 +0100)]
[FIX] yes suzie, we do actually need the last filter of our view, it can be useful

bzr revid: xmo@openerp.com-20110324173926-ctk9ys2ddiuguvjz

13 years ago[ADD] basic domain and value handling on all inputs (integrated so far)
Xavier Morel [Thu, 24 Mar 2011 17:37:21 +0000 (18:37 +0100)]
[ADD] basic domain and value handling on all inputs (integrated so far)

bzr revid: xmo@openerp.com-20110324173721-zo5gm38lv92f2b7f