Cédric Krier
b19e93e3a9
Remove style on Report
...
issue4904
review18481002
2015-08-21 18:03:44 +02:00
Cédric Krier
5cfde31ed2
Use bytes and bytearray for Binary
...
issue4637
review11091002
2015-03-16 19:28:34 +01:00
Nicolas Évrard
a8acb64a51
Report API refactorization
...
review8831002
2015-01-20 18:48:46 +01:00
Nicolas Évrard
6b0eac601a
Use data's action_id to find report to use
...
issue4411
review10741002
2014-12-18 11:36:40 +01:00
Cédric Krier
c144f8c349
Fix most flake8 errors
...
review8771002
2014-12-02 12:54:01 +01:00
Cédric Krier
a2c8111f26
Use context to check model and field access
...
* Model and Field access checked only if _check_access is set
* Add check_access to RPC
* Add check_access to Wizard and Report
issue4081
review8481002
2014-09-17 21:43:53 +02:00
Cédric Krier
e0b995abbe
Refactore configuration to allow easy extention
...
issue3627
review7401002
2014-09-03 23:32:01 +02:00
Cédric Krier
6bd350ff02
Fallback to data model in Report
...
review1221002
2013-10-27 19:44:22 +01:00
Cédric Krier
b03788e6db
Fix duplicate translations
...
- Fix unique constraint by using -1 instead of NULL for res_id
- Clean duplicate entries in po file
The unique constraint was not working when res_id was NULL because SQL consider
all of them as different.
The migration could fail if there is duplicate translation in the database. So
this query must be run until no more records are deleted:
DELETE FROM ir_translation WHERE id IN (SELECT MAX(id) FROM ir_translation GROUP BY name, res_id, lang, type, src_md5, module HAVING COUNT(1) > 1);
issue3355
review1087004
2013-09-22 14:33:39 +02:00
Cédric Krier
256d2f9269
Guess date formating in format_lang by value type
...
review956003
2013-07-04 19:34:02 +02:00
Cédric Krier
68cdf9162b
Clean old str date in format_lang
...
issue3135
review893002
2013-06-01 00:08:20 +02:00
Cédric Krier
8710f2fd99
Fix Pool.setup to re-allow extra_depends behavior
...
review898002
2013-05-27 18:47:00 +02:00
Cédric Krier
936dcca53a
Store default language in database
...
review592004
2012-11-23 17:59:04 +01:00
Cédric Krier
0fe1b93864
Active Record
2012-09-24 22:16:53 +02:00
Giedrius Slavinskas
1ced4da95e
Fix report translation
...
issue2586
review357001
2012-05-04 10:36:26 +03:00
Cédric Krier
ee3be37a36
Fix pep8 and pyflakes
2012-04-01 23:08:15 +02:00
Cédric Krier
f1a4414438
Fix default language code
...
No more need to manage translation in convert.py
Fix set of module via context in ir.translation
Use CONFIG language as fallback in report
2012-01-28 23:27:22 +01:00
Nicolas Évrard
6ba18631e8
Use relative imports
2011-12-14 17:00:13 +01:00
Cédric Krier
7c54cb0d6c
Fix str convertion of buffer if False in Report
...
issue2335
review198005
2011-12-09 12:18:49 +01:00
Cédric Krier
776759b876
StringIO doesn't like buffer from DB
...
issue2296
review171006
2011-11-26 18:05:57 +01:00
Nicolas Évrard
0a471486e0
correct pyflake errors
...
review164003
2011-11-02 15:49:38 +01:00
Nicolas Évrard
6093692bbe
Also define MANIFEST on ImportError
2011-10-28 11:40:20 +02:00
Cédric Krier
fefd67c3a5
Improve Binary fields
...
* Support size format in context for Binary fields
* Use buffer for Binary fields
* No more store Binary fields in base64
review74006
2011-09-17 14:43:05 +02:00
Cédric Krier
d26164af74
Use unoconv and all Opendocument format in report
...
issue2031
review72001
2011-08-06 18:25:24 +02:00
Cédric Krier
9876c53ba9
Remove unused PARENTS in report
2011-07-21 16:31:24 +02:00
Nicolas Évrard
3ad685e892
Add function to get object base URL
2011-07-20 19:04:52 +02:00
Cédric Krier
550aae8351
Change Pool into a Singleton
...
review42001
2011-07-03 13:20:58 +02:00
Cédric Krier
3d51cd993a
Use lxml instead of minidom in Report for issue1863
2011-03-01 11:58:34 +01:00
Cédric Krier
c6307b9749
Add missing test on manifest for issue1682
2010-09-19 17:03:04 +02:00
Cédric Krier
df1fd283ac
New transaction management
...
Remove cursor, user and context from methods and use Transaction instead
2010-08-19 22:01:12 +02:00
Cédric Krier
d351113a3b
Update manifest with files added from style for issue1507
2010-07-02 18:41:26 +02:00
Cédric Krier
c5b9ead44f
Fix report to work with Genshi >= 0.6 for issue1558
2010-05-06 20:14:49 +02:00
Udo Spallek
9a95d6f992
Add symbol keyword to formatLang() for issue1518
2010-04-15 20:39:09 +02:00
Cédric Krier
847fb72e90
Add PySON to replace python string evaluation on client side
2010-01-20 10:55:19 +01:00
Cédric Krier
cae0a76a3d
Remove egenix-mx-base and replace it by python-dateutil
2009-12-17 11:39:54 +01:00
Cédric Krier
a93e76a3de
Improve TranslateFactory
...
It will fetch all translations for a report in one query
It is more efficient than testing each strings of the report because there is
a lot of strings that are only data and must not be translated.
2009-11-13 12:30:29 +01:00
Cédric Krier
de860e50ce
Missing context in browse call for res.user in report
2009-09-15 23:02:27 +02:00
Cédric Krier
b46c5fd424
Guidelines
2009-08-28 15:01:15 +02:00
Bertrand Chenal
84f6557c93
Fix for empty lang in format_lang:
...
- Use a lambda to wrap format_lang and provide cursor and user
- Call the new default_code on ir.lang instead of using static 'en_US'
2009-08-11 14:15:01 +02:00
Cédric Krier
259e35f1d8
Add strftime to ir.lang to handle locale's format for issue1111
2009-07-23 10:53:28 +02:00
Cédric Krier
0eb7b75f76
Add docstring to Report.execute
2009-06-22 10:52:27 +02:00
Cédric Krier
e62e322618
Add report name in the result of Report.execute
2009-06-22 10:46:28 +02:00
Bertrand Chenal
2d40d7350b
Change output_format (One2Many) to extension (Selection) on ir.action.report.
...
This will ease future addition of new report extension.
2009-04-16 23:22:42 +02:00
Cédric Krier
1a10e5ffaa
Fix warnings for python 2.6 for issue915
2009-04-08 17:55:24 +02:00
Cédric Krier
550a965594
Fix Report _rpc must be added in __init__ and not in init for issue820
2009-02-26 00:31:00 +01:00
Cédric Krier
a4b9258b71
Rename _rpc_allowed into _rpc and add commit behavior
2009-02-25 12:25:01 +01:00
Cédric Krier
3ac91e0255
Clause temporary file before remove it
2009-02-19 13:54:55 +01:00
Cédric Krier
0a941db29a
Use at any time base64 encoding data for report_content and style_content
2009-02-12 19:27:57 +01:00
Cédric Krier
b75d10cd20
Use a new pool for object
...
Move workflow method in ModelWorkflow
Move workflow service in workflow module
Remove Service and LocalService
Remove web_service and use a dispatcher in protocols
New netrpc/xmlrpc syntax to be easier to introspect
2009-02-11 14:52:22 +01:00
Cédric Krier
f63aaa316d
Remove sql_db and add database in backend
2009-02-04 15:29:28 +01:00