Commit Graph
126133 Commits
Author SHA1 Message Date
Anup (OpenERP) 0e776c38ea [FIX] Translation should not fail if lang=False is passed anyhow
bzr revid: ach@tinyerp.com-20100726130052-fwvjx0z4qf2xxaf6
2010-07-26 18:30:52 +05:30
uco (Open ERP) c5456b325c [FIX] product_expiry: Demo data error corrected.
https://bugs.launchpad.net/openobject-addons/+bug/609037

bzr revid: uco@tinyerp.com-20100726125012-z1n2dpe6zded5t4s
2010-07-26 18:20:12 +05:30
sbh (Open ERP) a7a62e439b [IMP] stock : Remove the sale_id from picking report
bzr revid: sbh@tinyerp.com-20100726123655-m6rybtds447zjma6
2010-07-26 18:06:55 +05:30
Mustufa Rangwala 97b969804f [IMP] remove get_soryby from common header, separate it to general ledger, changes into account journal
[MERGE] merge with main branch

bzr revid: mra@mra-laptop-20100726123421-mwew7myt3sfesdcz
2010-07-26 18:04:21 +05:30
uco (Open ERP) 4f07bca4b4 [MERGE]
bzr revid: uco@tinyerp.com-20100726123213-w5wkekz8cir5sow9
2010-07-26 18:02:13 +05:30
sbh (Open ERP) 287d6aa262 [IMP] account: Improve the account_balance report
bzr revid: sbh@tinyerp.com-20100726121742-a16234b51rlw93e9
2010-07-26 17:47:42 +05:30
Mustufa Rangwala e8bce6a9d8 [REF]
bzr revid: mra@mra-laptop-20100726120842-5pm1ximexjouep3v
2010-07-26 17:38:42 +05:30
Mustufa Rangwala 32a1b21259 [REF]
bzr revid: mra@mra-laptop-20100726120128-2hm8a8jnan1tn6rf
2010-07-26 17:31:28 +05:30
Mustufa Rangwala 9ffbba815e [IMP] code optimize general ledger report
bzr revid: mra@mra-laptop-20100726120055-nhtw5agut04sb906
2010-07-26 17:30:55 +05:30
uco (Open ERP) 4fec3dd503 [IMP] mrp: View improved for Change Quantity wizard on Production Order.
bzr revid: uco@tinyerp.com-20100726115632-h4olm8u67fz0282h
2010-07-26 17:26:32 +05:30
Mustufa Rangwala 7ce63401a5 [FIX] General ledger wizard: if no fiscal year then intial balance set to 0
bzr revid: mra@mra-laptop-20100726114549-s426mzaulmobaq47
2010-07-26 17:15:49 +05:30
uco (Open ERP) 3546bcc44f [IMP] mrp_operations: Revert changes.
bzr revid: uco@tinyerp.com-20100726110901-dekesxroc1f029q5
2010-07-26 16:39:01 +05:30
Jay (Open ERP) 2486828746 [FIX] Sale_order_dates : Corrected datetime library reference
lp bug: https://launchpad.net/bugs/609042 fixed

bzr revid: jvo@tinyerp.com-20100726110659-nhsuszom66idt7q6
2010-07-26 16:36:59 +05:30
Xavier Morel 097883185e [FIX] indentation of res_config_installer
bzr revid: xmo@openerp.com-20100726110114-6tktoetbqdt4qw4i
2010-07-26 13:01:14 +02:00
rpa (Open ERP) a069671a8a [FIX]: crm: Name in domain for base_action_rule
bzr revid: rpa@tinyerp.com-20100726105949-fop8p9d2vdq6iwef
2010-07-26 16:29:49 +05:30
rpa (Open ERP) f2ded42800 [FIX]: mrp: Fix log message for production order
bzr revid: rpa@tinyerp.com-20100726104553-vme18hbsvfds3i1n
2010-07-26 16:15:53 +05:30
sbh (Open ERP) 648e991d73 [IMP] account:remove print_data from all journals report ,replace it with get_currency
bzr revid: sbh@tinyerp.com-20100726103508-omibrpykwjw3xnmz
2010-07-26 16:05:08 +05:30
Mustufa Rangwala 123beb6a9d [REF]
bzr revid: mra@mra-laptop-20100726102800-qg8e5y31rwltuh86
2010-07-26 15:58:00 +05:30
Mustufa Rangwala b91b887b18 [REF]
bzr revid: mra@mra-laptop-20100726102714-052d15qmtql836yu
2010-07-26 15:57:14 +05:30
Mustufa Rangwala 122d11bf4a [IMP] Account: General ledger report and wizard => Key name change of display account for dispaly accounts
bzr revid: mra@mra-laptop-20100726100351-h41nmsnyd2ie2on4
2010-07-26 15:33:51 +05:30
Mustufa Rangwala e8d8a0a8ed [MERGE] merge with main branch
bzr revid: mra@mra-laptop-20100726095018-0qfuh4ggasugornw
2010-07-26 15:20:18 +05:30
uco (Open ERP) d91e074b52 [REM] profile_manufacturing: Removed module.
[ADD] sale: Added installer files for sales management modules.

bzr revid: uco@tinyerp.com-20100726094715-ky600vwg8ghg0h7u
2010-07-26 15:17:15 +05:30
sbh (Open ERP) 30924dab4d [Fix] account: Fix the date in general_ledger_landscape report
bzr revid: sbh@tinyerp.com-20100726094557-djc2k29fv5iw7rkv
2010-07-26 15:15:57 +05:30
Mustufa Rangwala 080157798a [REF]
bzr revid: mra@mra-laptop-20100726094406-xanl8joxecqddxbs
2010-07-26 15:14:06 +05:30
Jay (Open ERP) c169237260 [FIX/IMP] Project/Project_issue : Improvements
lp bug: https://launchpad.net/bugs/609023 fixed

bzr revid: jvo@tinyerp.com-20100726094114-rl6nd2u4r52je3t1
2010-07-26 15:11:14 +05:30
P. Christeas a35482142c Httpd: update copyright info
bzr revid: p_christ@hol.gr-20100726093336-1wdzs6scdepk6cqz
2010-07-26 12:33:36 +03:00
P. Christeas d131f6f42d HTTPd, websrv_lib: implement extendable OPTIONS handler.
For CalDAV, we need to allow the handler to fine-tune its OPTIONS response.
So, better cleanup the API and allow request handlers to define their OPTIONS.

bzr revid: p_christ@hol.gr-20100726093336-afzp15rys9oua4a0
2010-07-26 12:33:36 +03:00
P. Christeas e8b1da52ab websrv_lib: fix noconnection.close(), that stub must exist.
bzr revid: p_christ@hol.gr-20100726093336-dom7pcu0a38bxlsb
2010-07-26 12:33:36 +03:00
P. Christeas 726a046bc3 Netsvc: try to have a name for late-start threads.
That may help debugging the threads.

bzr revid: p_christ@hol.gr-20100726093336-urtx99as4zliho69
2010-07-26 12:33:36 +03:00
P. Christeas fab3f04e8b Netsvc: allow late starting of servers
If some server is register after the startAll() (for example, the FTP
server of a secondary db), allow it to start(), but give it a buffer of
1sec before this is done.

Conflicts:

	bin/netsvc.py

bzr revid: p_christ@hol.gr-20100726093336-10htbz41rqx2alut
2010-07-26 12:33:36 +03:00
P. Christeas 018b13240b websrv_lib: Log junk http requests
If a request doesn't start with a valid HTTP request line, log that
whole line.

For some strange reason, kernel 2.6.35-rc3+ triggered xml request lines
to appear.

bzr revid: p_christ@hol.gr-20100726093336-962hxsxoij0pn2ba
2010-07-26 12:33:36 +03:00
P. Christeas 4c6baedf13 netrpc: names at client threads
Have a name for client threads, too.

bzr revid: p_christ@hol.gr-20100726093336-8me0gn4gvexuzk5r
2010-07-26 12:33:36 +03:00
P. Christeas 522df9e236 http server: have names at threads.
A minor improvement, http client threads have a name now.

Conflicts:

	bin/service/http_server.py

bzr revid: p_christ@hol.gr-20100726093335-0p0v34d276u0ks87
2010-07-26 12:33:35 +03:00
P. Christeas bea04e1fc8 Websrv_lib, http_server: have special exception logging
the websrv_lib must conform to the BaseHTTPServer API, that does not
define an exception logging function, nor does it encourage the use
of individual pythonic loggers. So, have a function that is optionally
called, upon exception.

This improves much over the 'log_error()' call, because it allows us
to see all those bugs that would make a http method fail.

bzr revid: p_christ@hol.gr-20100726093335-e3hxsri766o2fzxp
2010-07-26 12:33:35 +03:00
P. Christeas 40758b5222 httpd, netrpcd: do not catch any exceptions
always only catch Exception.

Conflicts:

	bin/service/netrpc_server.py
	bin/service/web_services.py
	bin/service/websrv_lib.py

bzr revid: p_christ@hol.gr-20100726093335-08uzfv3cr9ffx1ue
2010-07-26 12:33:35 +03:00
P. Christeas d0eb1d7516 websrv_lib: fix handling of method exceptions.
They should not consume the body (twice), pass the error to the log(..),
since it may contain '%' characters.

bzr revid: p_christ@hol.gr-20100726093335-wgh34fxda2nt64ze
2010-07-26 12:33:35 +03:00
P. Christeas 7d24059c09 Static http: support OPTIONS
bzr revid: p_christ@hol.gr-20100726093335-6tvao6uzp90mmcnk
2010-07-26 12:33:35 +03:00
P. Christeas 4e36352f5e Http server: support the OPTIONS at the multi-handler.
Now, fixes nautilus trying to browse the server for WebDAV, conforms to
the http standard.
Handlers should better inherit the HttpOptions class and define their
supported options.

bzr revid: p_christ@hol.gr-20100726093335-xzkqw60uyy87mcnq
2010-07-26 12:33:35 +03:00
P. Christeas 59efa51612 static http: use FixSendError.
bzr revid: p_christ@hol.gr-20100726093335-lfq6x0df09vbubv8
2010-07-26 12:33:35 +03:00
P. Christeas 60d11da63e websrv_lib: workaround the send-error of bad handlers
If a handler doesn't inherit FixSendError, it will leave the connection
hanging on a 501 response. Don't trust the handlers.

bzr revid: p_christ@hol.gr-20100726093335-xa0p85vxje63w03k
2010-07-26 12:33:35 +03:00
P. Christeas 754c834d42 websrv_lib: improve sending of internal error
bzr revid: p_christ@hol.gr-20100726093335-n8s6cpjmi2252myf
2010-07-26 12:33:35 +03:00
P. Christeas a405f9a4ef websrv_lib: handle general failures with http 500 status
If some http request fails with an unhandled exception, it is better
to send back the 500 error and close the connection, not leave the client
waiting for a response.

bzr revid: p_christ@hol.gr-20100726093335-o0p4ibon2uvfjxxn
2010-07-26 12:33:35 +03:00
P. Christeas 132ffb246e http: implement stats for http servers.
bzr revid: p_christ@hol.gr-20100726093335-syhvyodg1ec0467f
2010-07-26 12:33:35 +03:00
P. Christeas 9613c0c864 Static httpd: by default, disable. Sample config.
bzr revid: p_christ@hol.gr-20100726093335-m6kfvk8xn2c6ddrh
2010-07-26 12:33:35 +03:00
P. Christeas 0ee47f021c httpd: reduce request logging to debug_rpc level.
This brings back the behaviour of 2 commits ago.

bzr revid: p_christ@hol.gr-20100726093335-d1rdfwsjhdymv8v3
2010-07-26 12:33:35 +03:00
P. Christeas e6ca1be7c3 Http server: better logging
Have a symmetric helper class, that defines logging functions for all
http handlers.

Conflicts:

	bin/service/http_server.py

bzr revid: p_christ@hol.gr-20100726093334-vko7md6hk2004niw
2010-07-26 12:33:34 +03:00
P. Christeas 041f949bcc websrv_lib: one case of cleaner exit.
One rare case, where a module is destructed upon python interpreter exit,
and we need to check.

bzr revid: p_christ@hol.gr-20100726093334-cgirmmldh2mgvovm
2010-07-26 12:33:34 +03:00
P. Christeas ea4bb98140 Feature: serve static http, from a dir
Now, it is possible to serve static http from the files
of one dir. Just configure like:

[static-http]
enable = True
dir_path = /home/panos/build/openerp/doc/build/html

and the contents of that directory will be served as a
default at our http port ;)

Conflicts:

	bin/service/http_server.py

bzr revid: p_christ@hol.gr-20100726093334-2xr5mg0c9xvm68ej
2010-07-26 12:33:34 +03:00
P. Christeas 7d1f26cdd2 Export command to list the http services.
For debugging reasons, we should know what services we have registered
in our multi-dir http server.

Conflicts:

	bin/service/web_services.py

bzr revid: p_christ@hol.gr-20100726093334-7074r91i63e4g7jg
2010-07-26 12:33:34 +03:00
P. Christeas 3e8a845903 Http services: ensure the order in the MultiHandler
If we happen to register the '/' service, and then try to register the
'/webdav/' one, the latter must be inserted before the more generic path.

bzr revid: p_christ@hol.gr-20100726093334-3w7hyaukhzw9xpup
2010-07-26 12:33:34 +03:00