Commit Graph
24038 Commits
Author SHA1 Message Date
P. Christeas 1734ffbe26 caldav: fix english strings, defaults, prepare code for abs. triggers
bzr revid: p_christ@hol.gr-20101209100105-6l33me2nvqla7e9c
2010-12-09 12:01:05 +02:00
P. Christeas 82a9e670a3 caldav: translate the result string.
Please use this way to translate other strings like that. A callable
lambda for a _default wouldn't evaluate right, we do have to define
a proper function for _() to work.

bzr revid: p_christ@hol.gr-20101209100053-fjkoxjayaiqf8vj0
2010-12-09 12:00:53 +02:00
P. Christeas 03b7cb90c4 doc webdav: update copyright header, add disclaimer about python-webdav
Yes, I have been subclassing the DAV module and improving on the existing
code, regarding that we couldn't ship our own version of the whole
python-webdav library (as in v5.x).
At commit b2a2c3f95416788, on 2010-04-06, we explicitly deleted our custom
copies of the DAV module and linked to the upstream project, in fact.

bzr revid: p_christ@hol.gr-20101209095950-qf2ppgdxw8y2lake
2010-12-09 11:59:50 +02:00
P. Christeas 6b2c832f5f doc webdav: Implement locking support
This replaces the pseydo-locking of python-webdav library with a real
db-based locking. Locks are stored as DAV properties, which will
effectively also be listed in the PROPFIND response of the nodes.

With locking in place, Office suites can collaborate on documents online.

bzr revid: p_christ@hol.gr-20101207134041-8negkvxrbscv7fs7
2010-12-07 15:40:41 +02:00
P. Christeas 9a4c999803 doc webdav: fix responses with Host for DNAT'ed hosts
If you are trying to expose your OpenERP server through a DNAT box,
the propfind (aka. folders listing in WebDAV) must reference the external
IP/host that the client asked for. Use the more expensive "get_baseuri()"
of the interface class for that.

bzr revid: p_christ@hol.gr-20101207134005-v3oxr7zwbheiylxv
2010-12-07 15:40:05 +02:00
P. Christeas 19cbbf0832 doc webdav: DAV properties for files (ir.attachment), used for locking
Similar to the dir.property model, ir.attachments may have arbitrary
properties, too. Note that we hide them from normal users, only list
them in separate form (don't want to bloat the ir.attachment one, even
at the XML level).

bzr revid: p_christ@hol.gr-20101207133955-8n6ipccdnygnuncn
2010-12-07 15:39:55 +02:00
P. Christeas de6720663b doc webdav: Have a timeout on YAML tests
During a database upgrade from cmdline, the HTTP server will be inactive,
so it would cause a deadlock at the WebDAV tests. Having the HTTP port
answer requests before the db is ready would be a bad idea, so we'd better
just timeout and skip the tests.

bzr revid: p_christ@hol.gr-20101207133947-bbni3x48wo3yffa2
2010-12-07 15:39:47 +02:00
Olivier Dony 5350ab0c19 [I18N] all: copy Serbian (sr.po) translations to Serbian Latin (sr@latin.po)
The idea is to keep all current Latin alphabet translations in the new SerbianLatin language  before changing the default Serbian translations to Cyrillic alphabet

bzr revid: odo@openerp.com-20101206093208-jiqnceg5zx7xvzjk
2010-12-06 10:32:08 +01:00
Launchpad Translations on behalf of openerp 50be667595 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101204051645-1r4dxlktdeeiy2fn
bzr revid: launchpad_translations_on_behalf_of_openerp-20101205045319-cr1iy0be5p2hljje
2010-12-05 04:53:19 +00:00
Launchpad Translations on behalf of openerp b18eabbd97 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101204051244-ovlrwt2mjmxq72kn
bzr revid: launchpad_translations_on_behalf_of_openerp-20101205044847-9vpsrsujiirbzrb3
2010-12-05 04:48:47 +00:00
Christophe Simonis 5cd8b368b2 [FIX] base: check external dependencies at module update
bzr revid: chs@openerp.com-20101203162250-y78gbf05yrcxm3nt
2010-12-03 17:22:50 +01:00
Olivier Dony 62182bdb31 [I18N] base: updated PO template after latest cleanup
bzr revid: odo@openerp.com-20101203161151-s0gvqzkdhtoot0g1
2010-12-03 17:11:51 +01:00
Olivier Dony c744e55ffc [ADD] base: support alphabet-specific languages as in Rosetta + enabled Serbian@Latin
bzr revid: odo@openerp.com-20101203160907-59ytzsl8ah2ebtxa
2010-12-03 17:09:07 +01:00
Olivier Dony c95efe7997 [I18N] all: updated PO templates after latest cleanup
bzr revid: odo@openerp.com-20101203155533-bda40vcxelidfse9
2010-12-03 16:55:33 +01:00
Olivier Dony 78d254ad71 [ADD] base: yaml tests for basic domain expressions (including some for bug 626806), mostly courtesy of xrg
bzr revid: odo@openerp.com-20101203142525-xuf27cawn3j15lr7
2010-12-03 15:25:25 +01:00
Olivier Dony 170793a683 [MERGE] fix for bug 626806 by xrg - i.e. [(x2m,in,[])] should match nothing
lp bug: https://launchpad.net/bugs/626806 fixed

bzr revid: odo@openerp.com-20101203142342-2g5k64qoouuuxyti
2010-12-03 15:23:42 +01:00
Olivier Dony 3774ad65d7 [FIX] base,yaml: fixed !assert with "count" attribute in yaml tests + enabled more tests in base
bzr revid: odo@openerp.com-20101203142035-3h1min1htys5lhop
2010-12-03 15:20:35 +01:00
qdp-launchpad@tinyerp.com 0e4023932b [MERGE] merged the xrg branch, containing several small fixes
bzr revid: qdp-launchpad@tinyerp.com-20101203120543-fp3k1adikqs45bjc
2010-12-03 13:05:43 +01:00
Launchpad Translations on behalf of openerp ded6d87b0a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101202045120-2vnixg047yc43xoe
bzr revid: launchpad_translations_on_behalf_of_openerp-20101203050840-9zljmoeq0kphj3ow
2010-12-03 05:08:40 +00:00
Launchpad Translations on behalf of openerp f82d0e9477 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101203050425-dkipvzhhptluivtz
2010-12-03 05:04:25 +00:00
P. Christeas e28cd5bdaf Merge commit '905f8b1d6c9e' into patch13
Conflicts:
	crm_claim/crm_claim_demo.xml
	project/board_project_manager_view.xml

bzr revid: p_christ@hol.gr-20101202201937-akh200wknpt9958h
2010-12-02 22:19:37 +02:00
olt@tinyerp.com 774f3d8b6e [FIX] base: res.widget.user: (transparently) prevent adding the same widget to the same user twice
bzr revid: olt@tinyerp.com-20101202114435-ofym2ntp3pf5ikx2
2010-12-02 12:44:35 +01:00
Launchpad Translations on behalf of openerp 2fb88d7d14 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101201045818-0chsie3wfu7akdq5
bzr revid: launchpad_translations_on_behalf_of_openerp-20101202044646-fgoibpvnut416974
2010-12-02 04:46:46 +00:00
olt@tinyerp.com 941b47c774 [FIX] hr_payroll: no need to 'eval' in view_id attribute
bzr revid: olt@tinyerp.com-20101201131909-p0k732h89cij80y7
2010-12-01 14:19:09 +01:00
Launchpad Translations on behalf of openerp 1ed60063bf Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101130045411-k143t0b660w19cc7
bzr revid: launchpad_translations_on_behalf_of_openerp-20101201050327-5uo6676r282yjb1l
2010-12-01 05:03:27 +00:00
Olivier Dony f1cfc436a7 [MERGE+FIX] fixes for translations,sequence,copy,error messages - some patches courtesy of Margarita Manterola and Don Kirkby
lp bug: https://launchpad.net/bugs/672130 fixed
lp bug: https://launchpad.net/bugs/663775 fixed
lp bug: https://launchpad.net/bugs/673194 fixed
lp bug: https://launchpad.net/bugs/663977 fixed

bzr revid: odo@openerp.com-20101130110940-0tf6ra0uwhiptieb
2010-11-30 12:09:40 +01:00
Launchpad Translations on behalf of openerp 4dd9ccb1b9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101130044803-uswrt8q7d2iyucgd
2010-11-30 04:48:03 +00:00
P. Christeas 12f5aa0a18 expression: fix "m2o, m2m in []" expressions, bug 626806
After some discussions, we decided that the desired behavior of the
ORM for one2many and many2many fields should be:
 (foobar_id,'in', []) => empty result, because the list is empty
 (foobar_id,'in',False) => find records that don't have a foobar

bzr revid: p_christ@hol.gr-20101129183413-yi1jzdwr1tis7d8t
2010-11-29 20:34:13 +02:00
François Degrave 0f1ab5e6ef [MERGE] base/rng: missing day_length added to gantt element
bzr revid: odo@openerp.com-20101129143043-vy2qh63vxeaie5uh
2010-11-29 15:30:43 +01:00
Olivier Dony 839eb5f1c8 [MERGE] orm.read_group: partial support for orderby (m2o only so far)
bzr revid: odo@openerp.com-20101129141204-beieaccpl23pqmge
2010-11-29 15:12:04 +01:00
olt@tinyerp.com b9a6bf9106 [FIX] hr_holidays: no need to 'eval' in 'view_id' attribute (because it crashes)
bzr revid: olt@tinyerp.com-20101129133859-fadre6jo4c5ylxxh
2010-11-29 14:38:59 +01:00
Olivier Dony 8eca5f226c [FIX] project,account_followup: fixed <act_window>'s view_id after server update
bzr revid: odo@openerp.com-20101129093958-op2oy1qsr3x8fbp9
2010-11-29 10:39:58 +01:00
olt@tinyerp.com 1d71791b8a [FIX] crm_claim: crm_claim4 was removed -> also remove its references
bzr revid: olt@tinyerp.com-20101129083233-lqnde9lw94zy6ln8
2010-11-29 09:32:33 +01:00
Launchpad Translations on behalf of openerp bd9f7cf426 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101128045514-606cbqkwad1pi9z0
bzr revid: launchpad_translations_on_behalf_of_openerp-20101129045431-lxah7i1wwaqmvjdu
2010-11-29 04:54:31 +00:00
Launchpad Translations on behalf of openerp 202723c7b9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101127045140-kh4vuhmulphhntbv
bzr revid: launchpad_translations_on_behalf_of_openerp-20101128044930-geqyn9ydfsvk8n1y
bzr revid: launchpad_translations_on_behalf_of_openerp-20101129045013-ma2pla5t73axbub0
2010-11-29 04:50:13 +00:00
P. Christeas 054469fcde caldav/wizard: remove duplicate act_window entries, use the view_id
bzr revid: p_christ@hol.gr-20101127201659-uqooowr8a4s90myb
2010-11-27 22:16:59 +02:00
P. Christeas 0bf244804f views: fix xml records using <act_window view_id=... />
The view_id had not been functioning as expected, and fixed today. So,
all these <act_window/> records that had it are now evaluated. These ones
broke after the server fix.

bzr revid: p_christ@hol.gr-20101127201656-bek6n0h4bxashwl2
2010-11-27 22:16:56 +02:00
P. Christeas 6a07f9c2fe crm_claim: make sure we don't reference the stage_claim4 any more.
bzr revid: p_christ@hol.gr-20101127201652-rbpkl8o1fx7np9lg
2010-11-27 22:16:52 +02:00
P. Christeas 61560695f4 account/test: simplify Aged Partner Balance report, reduce imports
It has been importing md5, hashlib, warnings, netsvc and tools, which
are not really appropriate for testing code. Instead, port to the
"test_reports" testing helper.

The rest of the file needs to be ported, too. TODO.

bzr revid: p_christ@hol.gr-20101127201630-zaaowb4oaoxvxlv1
2010-11-27 22:16:30 +02:00
P. Christeas c9bb11b2f1 product_expiry: don't define invalid EANs in demo data.
bzr revid: p_christ@hol.gr-20101127201626-v7muq1xa1rhptb1v
2010-11-27 22:16:26 +02:00
P. Christeas 543cc3253d hr_timesheet_invoice: fix tabs in yml test.
bzr revid: p_christ@hol.gr-20101127201622-1ejourg60zu0si5i
2010-11-27 22:16:22 +02:00
P. Christeas d07eb4c18c claim_from_delivery: don't override stock.picking, partner_id is already there
This module had been inheriting stock.picking, and redefining the
"partner_id" column. Moreover, it has been redefining it with store=False,
which broke the parent stock.picking.

That's redundant, skip the whole class.

bzr revid: p_christ@hol.gr-20101127201619-qjmxvnw12kdqd2q2
2010-11-27 22:16:19 +02:00
P. Christeas 7c5d0e6aba delivery, purchase, sale, stock_location: minor fixes, mutable args
bzr revid: p_christ@hol.gr-20101127201616-fq46x1c2uo7s7b62
2010-11-27 22:16:16 +02:00
P. Christeas 9e01e43db8 account: one wording error in invoice's exception
bzr revid: p_christ@hol.gr-20101127201605-lzfk017mhmbbqwx8
2010-11-27 22:16:05 +02:00
P. Christeas 8fa6d985a7 event: fix call to _check_recursion, after last commit.
bzr revid: p_christ@hol.gr-20101127201541-78wspzmaxdjt9cs2
2010-11-27 22:15:41 +02:00
P. Christeas dbcf9f404a analytic, event, crm_profiling: use new _check_recursion() from ORM
bzr revid: p_christ@hol.gr-20101127201532-0ybt027d05qt52rp
2010-11-27 22:15:32 +02:00
P. Christeas 6aa18c41c7 board: fix a string typo
It had been haunting our development process for years, making our teeth
turn green and our cow's milk turn sour.

bzr revid: p_christ@hol.gr-20101127201437-4y0xj8hamt7blk9j
2010-11-27 22:14:37 +02:00
P. Christeas bffc248796 account.move.line: Fix ugly SQL call
A matter of coding style, tripple quotes in the same line, put in a list
is just a candidate for the hall of shame.

bzr revid: p_christ@hol.gr-20101127201429-07u0bc8xra998zhi
2010-11-27 22:14:29 +02:00
P. Christeas 749e24645e email_template: cleanup the startup warning lines.
Multiple coding malpractices (I can't name them errors, yet) were in those
lines:
 - they used the netsvc.Logger() interface, which is deprecated
 - they wrapped too much (we're not COBOL)
 - they used capital letters for an object
 - they defined a logger object that would live throughout the module
   life, although it would only be useful for startup
 - they used the gettext function, although there is absolutely no context
   around to provide a language.

bzr revid: p_christ@hol.gr-20101127201408-gnn6js103fbpw8ou
2010-11-27 22:14:08 +02:00
P. Christeas fb58e0c8fb l10n_ch: port yaml tests to test_reports utility.
bzr revid: p_christ@hol.gr-20101127201348-2khma0uejh5fqm2d
2010-11-27 22:13:48 +02:00