Commit Graph
75317 Commits
Author SHA1 Message Date
Antony Lesuisse 80df504ed1 [REM] web_shortcut
bzr revid: al@openerp.com-20131006124655-kxjp9kbzc07j9584
2013-10-06 14:46:55 +02:00
Antony Lesuisse a0deeede5b [REM] remove res.request, factorize _get_links
bzr revid: al@openerp.com-20131006122922-zimbltznxvsqlbz4
2013-10-06 14:29:22 +02:00
Antony Lesuisse 3014ae3cd4 [REM] remove res.request, reorg technical menu.
bzr revid: al@openerp.com-20131006122843-r6k0i0aj0yzz50j5
2013-10-06 14:28:43 +02:00
Antony Lesuisse 9757c08872 use referencable models instead of _get_links
bzr revid: al@openerp.com-20131006115808-etkyq34ar1pqh2pb
2013-10-06 13:58:08 +02:00
Antony Lesuisse f1faa55cb6 rename links get, allow reference fields without size.
bzr revid: al@openerp.com-20131006114704-mkbheq3l355u21jb
2013-10-06 13:47:04 +02:00
Antony Lesuisse 881a76dbcf [IMP] Technical menu reorg, remove depreacted requests.
Moved low levels object to database structure.
Removed res.request models bu keep res.request.link, res.request.link is used
to flag models worth to be linked by references fields.
Moved currency and state to the approriate directory.

bzr revid: al@openerp.com-20131006112608-3qucrevmkf43kq20
2013-10-06 13:26:08 +02:00
Antony Lesuisse a32bf724f2 [IMP] ir_actions cleanups.
Remove deprecated old style wizards.
Remove unsed get_model() function.
Move crons into Actions menuitem.
Move todos into Actions menuitem.

bzr revid: al@openerp.com-20131006102404-s46md70ahydihiih
2013-10-06 12:24:04 +02:00
Antony Lesuisse 780ae08294 [IMP] add an easier to use XML-RPC faultCode compliant protocol
remove the /openerp/* routes, they were never used because the protocol was too 
different from the historical /xmlrpc/ routes. Instead we introduce a
/xmlrpc/2/ route identical to /xmlrpc/ with the only difference that it returns
int faultCodes making it compliant with the XML-RPC specification.

bzr revid: al@openerp.com-20131006102131-707kxc9zyd1mvlps
2013-10-06 12:21:31 +02:00
Antony Lesuisse 156094df3d [FIX] preliminary code for socket activation, to avoid connection refused during restart
bzr revid: al@openerp.com-20131005235639-vifvbhu4o17lf780
2013-10-06 01:56:39 +02:00
Antony Lesuisse 40ba925691 [IMP] --auto-reload to enable code and xml auto reload, service cleanup.
Added an autoreload mecanism based on pyinotify that restart the server as soon
as a .py or .xml file change is detected, for xml updates the relevant -u are
automatically added to exec(2).

pyinotify is linux specific and should be replaced by a cross plaform library
such as watchdog. Unfortunatly watchdog is not yet packaged in debian. We could
support both libraries, patches are welcome.

Refactored the code in cli/* and service/*. The 3 running modes of openerp
(threaded, prefork, gevent) are now in openerp/service/server.py, one class per
mode, and they share the same interface.

Added a signal handler to increase or decrase the number of HTTP workers in
prefork mode (SIGTTIN, SIGTTOU).

bzr revid: al@openerp.com-20131005225740-hrxwy50ldi5yql0e
2013-10-06 00:57:40 +02:00
Antony Lesuisse e6b18fc7aa rename server
bzr revid: al@openerp.com-20131005221829-a18vx5ag6ef4ufee
2013-10-06 00:18:29 +02:00
Antony Lesuisse 2170da5e1e merge trunk
bzr revid: al@openerp.com-20131005220411-l1op0sya6h515m5b
2013-10-06 00:04:11 +02:00
Antony Lesuisse c52df72706 fix signal name
bzr revid: al@openerp.com-20131005215821-r60pgkgsrp1lo2ug
2013-10-05 23:58:21 +02:00
Antony Lesuisse 0a75a6b5ff simplier autoreload working
bzr revid: al@openerp.com-20131005212240-5lp8tgwukeg5wwdq
2013-10-05 23:22:40 +02:00
Martin Trigaux 970a24cb6c [MERGE] [FIX] purchase: avoid being spammed with workflow exceptions when don't have the required suppliers info
bzr revid: mat@openerp.com-20131004161233-yivjybmoccmeng0g
2013-10-04 18:12:33 +02:00
Martin Trigaux cdd5b4f130 [FIX] purchase: use the correct variable, finally
bzr revid: mat@openerp.com-20131004155600-vqasj1w07uhnvdmy
2013-10-04 17:56:00 +02:00
niv-openerp dc8f0ca96e corrected problems
bzr revid: nicolas.vanhoren@openerp.com-20131004154534-b3x46pmbybtza1cs
2013-10-04 17:45:34 +02:00
Martin Trigaux 4c0c18b803 [FIX] purchase: avoid getting trigger loop (again), apply same fix on procurement to be consistent
bzr revid: mat@openerp.com-20131004153915-2urkq50bp8rnddnt
2013-10-04 17:39:15 +02:00
niv-openerp 9ff4c7c8fa wip
bzr revid: nicolas.vanhoren@openerp.com-20131004153804-ac1r0qkmzkxykz23
2013-10-04 17:38:04 +02:00
niv-openerp 63c0220d31 still some problems
bzr revid: nicolas.vanhoren@openerp.com-20131004153734-rxdt32qvu3gcxip2
2013-10-04 17:37:34 +02:00
Martin Trigaux e827454d1d [FIX] purchase: avoid workflow trigger infinite loop
bzr revid: mat@openerp.com-20131004150710-mtecvsj9ad7qrisc
2013-10-04 17:07:10 +02:00
Martin Trigaux 376d390914 [IMP] purchase: don't send messages at all when exception, already logged in message field
bzr revid: mat@openerp.com-20131004144029-rp0j2z53zxt7ddh5
2013-10-04 16:40:29 +02:00
Martin Trigaux dbac14474f [FIX] purchase: reduce the number of mail messages sent to when procurement in exception
lp bug: https://launchpad.net/bugs/1233730 fixed

bzr revid: mat@openerp.com-20131004140602-8gic5ojgadso5801
2013-10-04 16:06:02 +02:00
Olivier Dony e35a7d36a4 [MERGE] l10n_it: fix taxes, add new 22% IVA introduced on 2013-10-01, courtesy of Leonardo Pistone (Agile BG)
bzr revid: odo@openerp.com-20131004140341-coq0oiytr5p6v3vw
2013-10-04 16:03:41 +02:00
Olivier Dony c536c5a432 [MERGE] account_voucher, product, stock: use selection widgets for magic context fields, to pass IDs in the context instead of strings
Many2one fields resolve to strings when used
as `self` within the @context or @filter_domain
attributes of a search field, because they
must be able to support partial matches,
e.g. search for "Sto" to match "Stock".
In many case the code was not prepared to accept
string for the magic context values, so the
magic fields now caused crashes.

The widget="selection" attribute was dropped
during the search view cleanup for 7.0,
without noticing this unfortunate side-effect,
at revision:
  addons 7.0 revno 7142 revid:qdp-launchpad@openerp.com-20120731150358-jqd3eoz06imzlx01

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

bzr revid: odo@openerp.com-20131004122257-5cx5sf3nm8qi5auc
2013-10-04 14:22:57 +02:00
Olivier Dony 0a387ec679 [MERGE] account: CoA installer: include parent charts when determining default taxes, otherwise they cannot be set during install
See comments on this MP for some background:
  https://code.launchpad.net/~pedro.baeza/openobject-addons/7.0-updated_l10n_es/+merge/161654

bzr revid: odo@openerp.com-20131004121245-xkqz024d3zzt1xki
2013-10-04 14:12:45 +02:00
Leonardo Pistone 24f42a6593 [add] l10n_it: add new 22% tax
lp bug: https://launchpad.net/bugs/1235170 fixed

bzr revid: leonardo.pistone@agilebg.com-20131004113956-05g2jyq506gu3ykw
2013-10-04 13:39:56 +02:00
Leonardo Pistone 49c3ded48e [fix] l10n_it: 2% tax has code 22a, 22b instead of 2a, 2b
lp bug: https://launchpad.net/bugs/1235158 fixed

bzr revid: leonardo.pistone@agilebg.com-20131004111111-ji9rekvpo71afl05
2013-10-04 13:11:11 +02:00
Olivier Dony bec80227d9 [FIX] account_voucher, product, stock: use selection widgets for magic context fields, to pass IDs in the context instead of strings
Many2one fields resolve to strings when used
as `self` within the @context or @filter_domain
attributes of a search field, because they
must be able to support partial matches,
e.g. search for "Sto" to match "Stock".
In many case the code was not prepared to accept
string for the magic context values, so the
magic fields now caused crashes.

The widget="selection" attribute was dropped
during the search view cleanup for 7.0,
without noticing this unfortunate side-effect,
at revision:
  addons 7.0 revno 7142 revid:qdp-launchpad@openerp.com-20120731150358-jqd3eoz06imzlx01

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

bzr revid: odo@openerp.com-20131004105218-edvb5ewduqar3x88
2013-10-04 12:52:18 +02:00
Thibault Delavallée 6ea427eb9f [FORWARD] Forward port of saas-2 branch until revision 3845 revision tde@openerp.com-20131003090049-88q0o69970eahb2h
bzr revid: tde@openerp.com-20131004084618-pjv4ya68mvzfqreb
2013-10-04 10:46:18 +02:00
niv-openerp 48e3834693 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20131004082309-67hrr8mykykjyh31
2013-10-04 10:23:09 +02:00
Thibault Delavallée 9e85aa3e72 [FORWARD] Forward port of saas-2 branch until revision 8931 tde@openerp.com-20131003140458-ztnd9taih2rcq8ty
bzr revid: tde@openerp.com-20131004081915-4i2rn3fsj8qzov63
2013-10-04 10:19:15 +02:00
Launchpad Translations on behalf of openerp 6ad09a8b40 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131004054526-wrer2m4h9u0lpvmm
2013-10-04 05:45:26 +00:00
Olivier Dony e79169de07 [MERGE] l10n_br: addition of some IPI taxes, courtesy of Renato Lima (Akretion)
bzr revid: odo@openerp.com-20131003155613-g4zibfq32766j1wi
2013-10-03 17:56:13 +02:00
Thibault Delavallée c98ff51f72 [FORWARD] Forward port of saas-2 fixes until revision 4957 chs@openerp.com-20130930125946-exr791f83seaa9br
bzr revid: tde@openerp.com-20131003150138-dgi593kd3n0vflgp
2013-10-03 17:01:38 +02:00
Olivier Dony 41cc21215f [MERGE] hr_timesheet_invoice: make YML tests more robust wrt extra demo data, courtesy of Moisés López (Vauxoo)
bzr revid: odo@openerp.com-20131003145428-wdhjxwmdzx7i1nue
2013-10-03 16:54:28 +02:00
niv-openerp ea7df9d65b [IMP] now always uses the /web url to display the web client instead of / . / now redirects to /web
bzr revid: nicolas.vanhoren@openerp.com-20131003144820-8zzdlwfrojip4qxr
2013-10-03 16:48:20 +02:00
Martin Trigaux 11308f37dd [FIX] test: avoid getting error when trying to send an email to the newly created user (email replaced by login)
bzr revid: mat@openerp.com-20131003143234-8tu732aa4rmycoif
2013-10-03 16:32:34 +02:00
Martin Trigaux bd4294ce1f [ADD] report: support for dynamic fonts in reports, requires changes in server at revision 4959
bzr revid: mat@openerp.com-20131003141350-gxy43wy1ys4ox7ne
2013-10-03 16:13:50 +02:00
Martin Trigaux cd94736f1f [ADD] report: support for dynamic fonts in report
search for TTF file on the system (in typical repositories)
add font field on the company and config wizard, the chosen value will replace the fontName value by the new one

bzr revid: mat@openerp.com-20131003141307-y6rsfooxepfgmofd
2013-10-03 16:13:07 +02:00
Thibault Delavallée bdd86a831f [IMP] ir_actions in email_template: template_id domain not only on view, directly on field
bzr revid: tde@openerp.com-20131003140458-ztnd9taih2rcq8ty
2013-10-03 16:04:58 +02:00
Martin Trigaux dd2cbe92b5 [FIX] report: default font set as helvetica
bzr revid: mat@openerp.com-20131003135018-2jr68cfbffda53m3
2013-10-03 15:50:18 +02:00
Martin Trigaux 8ad8fa59be [FIX] report: default font set as helvetica
bzr revid: mat@openerp.com-20131003135007-w7xoy1jitj5mm9ms
2013-10-03 15:50:07 +02:00
Olivier Dony 837196afbd [FIX] account: CoA installer: include parent charts when determining default taxes, otherwise they cannot be set during install
bzr revid: odo@openerp.com-20131003134820-ksc52izjwfpxn2ps
2013-10-03 15:48:20 +02:00
Martin Trigaux 61490461f6 [FIX] report: add basic fonts of PDF
bzr revid: mat@openerp.com-20131003133937-ohh612cgarih2lfy
2013-10-03 15:39:37 +02:00
Thibault Delavallée fed1b1e91c [REF] ir_actions in email_template: strange implementation of displaying template values based on copying fields
replaced by a standard related fields + using an onchange on the template.

bzr revid: tde@openerp.com-20131003133357-hbs35e3h4mleg9v5
2013-10-03 15:33:57 +02:00
Martin Trigaux 5e43947655 [FIX] report: cleaning, avoid duplicates
bzr revid: mat@openerp.com-20131003120625-4kvf9ag8fcp0mbfg
2013-10-03 14:06:25 +02:00
Martin Trigaux 1baf83e15d [IMP] report: remove useless __foundFonts variable (use full path in CustomTTFonts
bzr revid: mat@openerp.com-20131003114036-2xrmlo3x2hf99e8t
2013-10-03 13:40:36 +02:00
Martin Trigaux ada54ee992 [IMP] report: cleaning and add one more repository
bzr revid: mat@openerp.com-20131003112110-zp9icv0umfbf311j
2013-10-03 13:21:10 +02:00
Olivier Dony 5cba82e2c9 [MERGE] Forward-port of latest saas-1 bugfixes, up to rev. 8788 dle@openerp.com-20131003094541-ro29hhkas03rdvw8
bzr revid: odo@openerp.com-20131003111222-upt1ytb92db50zay
2013-10-03 13:12:22 +02:00