Christophe Simonis
e2e60bf4eb
[MERGE] forward port of branch saas-3 up to fe8106f
2014-09-26 12:53:59 +02:00
Denis Ledoux
76067367b2
[MERGE] forward port of branch 7.0 up to 5f6d324
2014-09-25 15:10:37 +02:00
Cedric Snauwaert
d4972ffdb6
[FIX] product,float_utils: perform ceiling via float_round with new rounding_method UP
...
Modified product ceiling() to use float_round() with special mode
for rounding UP (away from zero), avoiding pathological cases where
float representations errors were ceiling to the superior unit.
Also added correspding tests for rounding_method=UP
Fixes issue #1125 , and replaces PR #1126 .
2014-09-24 17:11:25 +02:00
Fabien Meghazi
57ad514bb2
[FIX] Image resizing bug
2014-09-17 17:38:35 +02:00
Fabien Meghazi
954f20c800
[ADD] image_save_for_web() format argument
2014-09-16 19:55:00 +02:00
Fabien Meghazi
89362bd6cd
[ADD] tools.image_save_for_web() helper for image compression
2014-09-16 19:55:00 +02:00
Fabien Meghazi
3f27066019
[IMP] Compress resized /website/image's
...
Refactored and fixed tools.image_resize_image() that converted to RGBA
after making thumbnails, resulting in bad looking picture in case the
source is in 'P' mode (indexed palette)
2014-09-16 19:55:00 +02:00
Denis Ledoux
51e7e03502
[MERGE] forward port of branch saas-5 up to 163d7f5
2014-09-15 14:25:02 +02:00
Denis Ledoux
163d7f5a53
[MERGE] forward port of branch saas-3 up to b5b7dcc
2014-09-15 14:23:58 +02:00
Christophe Simonis
780dd9891f
[MERGE] forward port of branch saas-5 up to 7eab880
2014-09-15 14:00:02 +02:00
Denis Ledoux
782fec88ca
[MERGE] forward port of branch 7.0 up to b601015
2014-09-15 11:58:10 +02:00
Denis Ledoux
b601015800
[FIX] tools: restrict available attributes
2014-09-15 11:55:53 +02:00
Christophe Simonis
56f2b7ae0f
[MERGE] forward port of branch saas-3 up to fdc6271
2014-09-12 18:53:48 +02:00
Denis Ledoux
e447a46ec8
[MERGE] forward port of branch 7.0 up to 33e0910
2014-09-09 18:02:30 +02:00
Leonardo Pistone
9b78f06e47
yaml: use selected user and not admin for defaults
2014-09-05 17:31:59 +02:00
Leonardo Pistone
0edfc3fbc9
yaml: use selected user and not admin for onchange
...
Fixes : #1885
2014-09-05 17:31:47 +02:00
Denis Ledoux
d824769b3c
[FIX] tools,mail: improve parsing of references from rev. 0bee015dd6
...
Backport of 8.0 fix was not enough for 7.0, because it still fails for the legacy reference match (model+res_id), which is not used in 8.0
2014-09-05 11:44:20 +02:00
Christophe Simonis
80a932479b
FIX] packaging: odoo-ification
2014-09-04 16:27:58 +02:00
Simon Lejeune
7e41903110
[FIX] config.py: do not use appsdir to define the user's data dir when he has no home directory on unix
...
Force it to be '/var/lib/(appname)' in this case
2014-09-02 14:13:00 +02:00
Xavier Morel
cccd3c888f
[ADD] openerp.http reference doc
...
* fix some docstrings so they can be autodoc'd
* intersphinx mapping (and links to) werkzeug and python
2014-09-01 14:16:14 +02:00
Antony Lesuisse
2d296cb779
[MERGE] ir-ui-view split active and show_customize
...
Split the ternary field application in active and show_customize, all four
possible value are now needed for the customize theme popup.
2014-08-31 16:56:44 +02:00
Xavier Morel
e6b56412a0
[ADD] views documentation
2014-08-28 15:02:33 +02:00
Raphael Collet
2ad092b5e5
[ADD] doc: new documentation, with training tutorials, and new scaffolding
2014-08-22 17:51:20 +02:00
Martin Trigaux
80d8532370
Forward port of branch saas-5 up to rev 4895281e
2014-08-22 09:12:14 +02:00
Martin Trigaux
4895281e58
Forward port of branch saas-4 up to rev 15a3a2a
2014-08-21 18:17:35 +02:00
Martin Trigaux
15a3a2a63a
Forward port of branch saas-3 up to 7bcefaf
2014-08-21 18:14:22 +02:00
Martin Trigaux
7bcefaf232
Forward port of branch 7.0 up to 0ab88f5
2014-08-21 17:57:57 +02:00
Desai Binjal
8fe9f07cac
[FIX] note: small bugs
2014-08-21 15:55:23 +02:00
Christophe Simonis
8f13e8320e
[MERGE] forward port of branch 7.0 up to d0a0b7d
2014-08-20 17:45:05 +02:00
Thibault Delavallée
a76de4595e
[FIX] tools: mail: fixed read more link tha could be placed in a block to be removed, being considered as a quote
2014-08-20 14:10:20 +02:00
Martin Ambroz
106cb1ec2b
[FIX] base: python 2.6 incompatibility for dictionary comprehension
2014-08-20 10:28:37 +02:00
Olivier Dony
79570179bf
[MERGE] Forward-port saas-5 up to acbdac4
2014-08-14 14:56:57 +02:00
Olivier Dony
acbdac4e9f
[MERGE] Forward-port saas-4 up to 9a84d55
2014-08-14 14:54:37 +02:00
Olivier Dony
9a84d55036
[MERGE] Forward-port saas-3 up to 9b55532
2014-08-14 14:37:42 +02:00
Olivier Dony
8b12d1c566
[MERGE] Forward-port of 7.0 up to 85d2b45
2014-08-14 04:11:33 +02:00
Olivier Dony
69eef5ac8d
[FIX] tools.translate: addons path resolution failed with duplicates
...
When the addons_path config contained the
default path, the system was working with
an empty addons_path in the middle of the
other paths. This empty one matched for all
files, making all files appear to belong to
the root path component, e.g. `home` if the
root path is in /home.
Refactored a bit to avoid duplicates and
redundant path calculations.
2014-08-14 02:07:59 +02:00
Vo Minh Thu
680214c47e
[FIX] tools.translate: when loading entries from a PO file, use also the POT.
...
On Launchpad, as commented on bug 933496, PO entries (and their comments) are
shared between series. This mean that e.g. the 7.0 series can have the wrong
`reference` comments (those beginning with #:) as they would be copied from say
the trunk series. Those `reference` comments are used to import translations
and look them up.
This patch adds a few lines of code to tools.translate so that targets
defined in the POT `reference` comments are used in addition to those from the
PO file.
Also adds a test module to validate the new behavior.
This patch stems from:
- the 6.1 branch by Vo Minh Thu:
https://code.launchpad.net/+branch/~openerp-dev/openobject-server/6.1-fix-po-targets-933496-vmt
- the 7.0 port by Numerigraphe:
https://code.launchpad.net/~numerigraphe-team/openobject-server/7.0-fix-po-targets-933496-vmt
2014-08-13 23:07:40 +02:00
Olivier Dony
868a77616d
[FIX] ir.translation: export/import of QWeb terms
...
Fixes the translation term import/export logic to
support terms inside QWeb templates.
Refactored a bit the export code so the babel-based
QWeb terms extractor for ./static/src/*.xml files
uses the same logic as the regular extractor for
ir.ui.views with type QWeb.
Server-side QWeb rendering uses a mix of the native
view inheritance mechanism and the template inclusion
(t-call) mechanism. During rendering the translations
are only applied at "template" level, *after* the
view inheritance has already been resolved.
As a result translations are local to a template,
not to the inherited view in which they are actually
written.
In terms of exporting PO[T] files, this is done by
resolving the "root" QWeb template a view belongs
to, and using it as the location of the translated term.
During import there is one extra quirk for QWeb
terms: they need to be linked to the `website` model
rather than the actual `ir.ui.view` model they
are really pointing to, so the rendering phase can
properly recognize them.
2014-08-13 11:08:02 +02:00
Denis Ledoux
ae65be2b2a
[MERGE] forward port of branch saas-5 up to 0739bc4
2014-08-11 15:58:02 +02:00
Thibault Delavallée
c64b077362
[FIX] mail: fixed bounce email recognition + invite email headers + mass mailing statistics not lost anymore
...
- [FIX] bounce regex: too many emails were considered as bounce and therefore
not displayed in the chatter and lost for the communication history. The regex
was not correctly looking for the bounce alias in the email_to.
- [FIX] invite email: replying to the invitation email (invitation as new
follower) now replies to the user sending the invitation.
- [FIX] mass_mailing: added a column to store the id of the original email
in addition to the many2one column. The many2one is set to null when deleting
the original email. As the information is necessary, it is saved on another
field. The many2one is necessary for indexes purpose as the inverse of
a one2many.
2014-08-11 15:39:26 +02:00
Denis Ledoux
0739bc4eda
[MERGE] forward port of branch saas-4 up to 7ecaab9
2014-08-11 15:31:04 +02:00
Denis Ledoux
7ecaab9fe2
[MERGE] forward port of branch saas-3 up to 2f4be42
2014-08-11 15:30:37 +02:00
Denis Ledoux
2f4be42d8c
[MERGE] forward port of branch 7.0 up to 3632949
2014-08-11 15:28:54 +02:00
Denis Ledoux
2b0487113a
[FIX] yaml tests: Set on_change keys not in view logger as debug instead of warning
...
This is related to commit d31faceb67
(This is to avoid the runbot being yellow if on_change methods have extra keys in the returned value, this is not wrong, the web client will simply ignore them).
2014-08-11 11:11:36 +02:00
Denis Ledoux
7c647ec876
[MERGE] forward port of branch saas-4 up to 0a1e4a0
2014-08-08 17:27:29 +02:00
Denis Ledoux
0a1e4a05b2
[MERGE] forward port of branch saas-3 up to 81a902a
2014-08-08 17:06:39 +02:00
Denis Ledoux
81a902a07d
[MERGE] forward port of branch 7.0 up to 5f696ba
2014-08-08 16:18:35 +02:00
Raphael Collet
207013c74f
[IMP] refactoring: move function topological_sort to openerp.tools
2014-08-08 14:12:06 +02:00
Denis Ledoux
d31faceb67
[FIX] yaml tests: extra key in on_change result isn't that bad.
...
In the return result of an on_change, having keys which are not ine the view is not that bad, it is not an actual problem.
Display warning instead of asserting all the keys are in the views.
2014-08-08 11:40:30 +02:00
Thibault Delavallée
f5688cd8fd
[FIX] tools: html_sanitize: keep mako tags (<% ... %>), required for example in the portal sale quotation email.
2014-08-07 16:47:58 +02:00
Wolfgang Taferner
b09a766f0a
[IMP] workflow: add sequence for ordering workflow transitions (split/join mode especially for XOR)
...
Makes ordering transitions easier and more deterministic.
(Rebase of #1564 )
2014-08-05 12:26:28 +02:00
Christophe Simonis
fd4fd35e32
[MERGE] forward port of branch saas-5 up to e4cb520
2014-07-30 20:52:14 +02:00
Christophe Simonis
e4cb5202a0
[MERGE] forward port of branch saas-4 up to fa07bc8
2014-07-30 20:30:14 +02:00
Christophe Simonis
fa07bc8532
[MERGE] forward port of branch saas-3 up to 310d3fe
2014-07-30 19:09:33 +02:00
Christophe Simonis
310d3fe4c4
[MERGE] forward port of branch 7.0 up to 39f3e40
2014-07-30 18:55:31 +02:00
Olivier Dony
c60dc65857
[ADD] safe_eval: allow YIELD_VALUE, used e.g. for generator comprehension
2014-07-30 13:24:39 +02:00
Olivier Dony
77769ce74d
[IMP] BaseModel: new `_translate` attribute to disable translations
...
Can be defined to False in any model to completely
disable translations for this model, when they are
irrelevant. This is useful e.g. for test classes
that use attributes that would normally be translatable.
2014-07-30 13:24:39 +02:00
Olivier Dony
9a9ef37c65
[IMP] tools.translate: unused import
2014-07-30 13:24:39 +02:00
Denis Ledoux
88c022dfc8
[MERGE] forward port of branch 7.0 up to bbb8d8f25a
2014-07-29 11:42:10 +02:00
Denis Ledoux
6b1a804b29
[MERGE] forward port of branch 7.0 up to b91a75f7ef
...
Conflicts:
addons/base_vat/base_vat.py
openerp/tools/safe_eval.py
2014-07-29 10:42:50 +02:00
Mathieu Benoit
40b1fccb2a
[FIX] translate: Fix debug print when parse path list to translate.
2014-07-25 16:17:29 -04:00
Denis Ledoux
46ef1356d6
[ADD] safe_eval: UNPACK_SEQUENCE and Exception
...
Allowing UNPACK_SEQUENCE allows the use of the "multi" assignation:
a, b = [1,2]
for a,b in items
2014-07-25 13:00:17 +02:00
rlu-odoo
8b67a7202d
[REF] OpenERP --> Odoo in various UI texts
...
Rebranding has been done in:
- data/demo files
- html templates
- help notices
- comments
- logger messages
- and other various messages
(Commit taken from odoo-dev:8.0-improve-openerp-odoo-rlu at rev 7deaa08)
Closes #1260
2014-07-18 13:45:41 +02:00
Xavier Morel
f98c610310
[FIX] creation of new threads where a new API environment should be initialized
...
* fix #1149 courtesy of @andreparames
* remove useless threaded yaml import
* openerp.service.server thread spawning get an API environment further down
the stack
2014-07-15 13:33:38 +02:00
Xavier Morel
29a6dad803
[REM] threaded yaml import (useless and unused)
2014-07-15 13:21:57 +02:00
Christophe Simonis
a5419ca800
[MERGE] forward port of branch saas-5 up to e0759c1
2014-07-15 11:21:59 +02:00
Christophe Simonis
e0759c1350
[MERGE] forward port of branch saas-4 up to de696f1
2014-07-15 10:39:08 +02:00
Christophe Simonis
de696f14f8
[MERGE] forward port of branch saas-3 up to 24484c8
2014-07-15 10:38:14 +02:00
Christophe Simonis
24484c8bcd
[MERGE] forward port of branch 7.0 up to 7a928b1
2014-07-15 10:36:54 +02:00
Thibault Delavallée
7a928b151a
[FIX] tools: mail: fixed last commit, solving an issue with the html2plaintext introduced another issue with notes. Reverting to the first version.
2014-07-11 16:21:01 +02:00
Olivier Dony
924e4b1a08
[MERGE] Fwd-port saas-4 up to e31fd6a
2014-07-11 12:00:42 +02:00
Olivier Dony
e31fd6a1e1
[MERGE] Fwd-port saas-3 up to a9d2b65
2014-07-11 11:53:07 +02:00
Olivier Dony
a9d2b65da5
[MERGE] Fwd-port 7.0 up to 783b9e1
2014-07-11 11:51:06 +02:00
Christophe Simonis
a361947143
[MERGE] forward port of branch saas-3 up to a35aec2
2014-07-10 22:02:58 +02:00
Christophe Simonis
a35aec2a0b
[MERGE] forward port of branch 7.0 up to 6e96ffd
2014-07-10 22:02:01 +02:00
Anand-Dharampuriya
5cbc611361
[FIX] Solve some mail issues which are currently present in 7.0
2014-07-10 16:29:54 +02:00
Fabien Meghazi
c0aa86b9ab
[FIX] configuration file dbfilter's option has no effect
...
lp bug: https://launchpad.net/bugs/940439 fixed
bzr revid: fme@openerp.com-20140508075025-yszqmzie1z4n7l4j
2014-07-07 18:08:31 +02:00
Christophe Simonis
e5b0933743
[FIX] data-dir management
...
- sessions are now shared between series.
- use site data dir instead of user data dir if user has no home dir.
- in http and module handling, `data-dir` was used before being
initialized, using the default value instead of user input
(fixes #308 , #904 )
2014-07-07 15:49:24 +02:00
Raphael Collet
cbe2dbb672
[MERGE] new v8 api by rco
...
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.
- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Olivier Dony
0f01df42ea
[MERGE] Forward-port saas-5 up to f15cbd6
2014-06-12 18:59:15 +02:00
Olivier Dony
f15cbd6520
[MERGE] Forward-port saas-4 bugfixes up to ad4c6ca
2014-06-12 18:54:36 +02:00
Fabien Meghazi
619ee620f7
[ADD] Pseudo `clone` mode for <templates> using primary="True"
...
When @primary="True" is present on <template> tag, we'll set
the t-name to the full canonical xmlid of current template (@id)
Providing a "kind of" clone mode for templates.
2014-06-11 17:03:02 +02:00
Olivier Dony
6b85d80f23
[FIX] Wrap werkzeug.utils.escape() to accomodate signature change in 0.9
...
We always want to escape quotes (") as part of the process of
generating HTML output. This option (quote=True) turned into
an implicit flag with a DeprecationWarning in werkzeug 0.9.0
It is likely to disappear in a future release of werkzeug too.
A wrapper avoids this warning without loss of compatibility
2014-06-10 18:46:40 +02:00
Christophe Simonis
b4283f0271
[FIX] logging PostgreSQLHandler: expand message + use contextmanagers to handle exceptions and cursor
2014-05-28 11:43:24 +02:00
Olivier Dony
04211015fc
[MERGE] Forward-port of latest saas-4 fixes, up to 0452851
2014-05-27 20:49:49 +02:00
Xavier Morel
e06f5b414b
[IMP] inherit_option_id -> application
2014-05-27 12:13:51 +02:00
Xavier Morel
8b9f774a22
[ADD] support for primary mode in <template>
...
should probably validate that there's an inherit_id (?)
2014-05-27 11:57:02 +02:00
Simon Lejeune
b50421e551
[FIX] ir_actions: adapt render_report when called in a tests/qweb report context to generate the pdf only if a directory has been provided
2014-05-21 13:11:27 +02:00
Fabien Meghazi
05f376e310
If no addons-path provided, include the main addons
2014-05-20 22:33:49 +02:00
Christophe Simonis
a756b82372
[MERGE] forward port of branch saas-4 up to revid bb26dea
2014-05-20 20:19:55 +02:00
Christophe Simonis
bb26dea60b
[MERGE] forward port of branch saas-3 up to revid 38abc8a
2014-05-20 19:00:50 +02:00
Christophe Simonis
38abc8a006
[MERGE] forward port of branch 7.0 up to revid b09b6a0
2014-05-20 18:57:04 +02:00
Kiril Vangelovski
c0882872be
[ADD] Macedonian language
2014-05-18 22:57:07 +02:00
Martin Trigaux
4f5cc00420
Forward-port of latest saas-4, up to revision 5211 (revid fme@openerp.com-20140509164408-rtml4brrhpiv4zz9)
2014-05-12 10:05:23 +02:00
Fabien Meghazi
cf87afbe0a
[FIX] configuration file dbfilter's option has no effect
...
lp bug: https://launchpad.net/bugs/940439 fixed
bzr revid: fme@openerp.com-20140508075025-yszqmzie1z4n7l4j
2014-05-08 09:50:25 +02:00
Olivier Dony
4a248b029a
[MERGE] I18N: make fr_CA one of the default installation languages, courtesy of Maxime Chambreuil (SavoirFaireLinux)
...
bzr revid: odo@openerp.com-20140507123155-blwh7uvmltajkmf5
2014-05-07 14:31:55 +02:00
Denis Ledoux
fbbefe43c0
[MERGE] Forward-port of latest saas-3 bugfixes, up to rev. 5122 revid:dle@openerp.com-20140506121627-4oyw4zl4o6azy73w
...
bzr revid: dle@openerp.com-20140506121755-15gj3h43oqof6xx9
2014-05-06 14:17:55 +02:00
Denis Ledoux
b882dd7109
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5294 revid:odo@openerp.com-20140505074636-bl2y5pst4pfmpz3u
...
bzr revid: dle@openerp.com-20140506121627-4oyw4zl4o6azy73w
2014-05-06 14:16:27 +02:00
Olivier Dony
188930bb01
[FIX] convert: gracefully ignore missing XML IDs when processing <delete> tags + warn in log
...
bzr revid: odo@openerp.com-20140505074636-bl2y5pst4pfmpz3u
2014-05-05 09:46:36 +02:00
Antony Lesuisse
7e25b9ae55
[MERGE] saas-4 report_webkit missing dependency on report
...
bzr revid: al@openerp.com-20140501152604-4cobh5ui47dt4pem
bzr revid: al@openerp.com-20140501155633-gefnc3zqcsr2rhaz
bzr revid: al@openerp.com-20140501161156-4wbsvhh8gz4r22h3
2014-05-01 18:11:56 +02:00
Olivier Dony
4836354a16
[FIX] safe_eval: allow STORE_FAST and DELETE_FAST opcodes, used e.g. for comprehension expressions
...
bzr revid: odo@openerp.com-20140428151133-uz7mphscch35dl6o
2014-04-28 17:11:33 +02:00
Christophe Simonis
c16780df83
[MERGE] forward port of branch saas-3 up to revid 5120 chs@openerp.com-20140424125338-26k5atvtqwmmfv4e
...
bzr revid: chs@openerp.com-20140424131405-4oannh1102x42m8b
2014-04-24 15:14:05 +02:00
Christophe Simonis
e59aecca94
[MERGE] forward port of branch 7.0 up to revid 5288 mat@openerp.com-20140423150215-578nzug1glccvpwy
...
bzr revid: chs@openerp.com-20140424125338-26k5atvtqwmmfv4e
2014-04-24 14:53:38 +02:00
Martin Trigaux
91bf583b1c
[FIX] amount_to_text: make sure accented string is in unicode
...
bzr revid: mat@openerp.com-20140423150215-578nzug1glccvpwy
2014-04-23 17:02:15 +02:00
Martin Trigaux
901bb47235
[MERGE] [IMP] mail sanitizer: do not remove comments in html body when cleaning (and do not remove too many content) (opw 605315)
...
bzr revid: mat@openerp.com-20140423131919-q3vbw12tokglwdsq
2014-04-23 15:19:19 +02:00
Fabien Meghazi
8370d3f60e
[MERGE] upstream
...
bzr revid: fme@openerp.com-20140423123808-q58dtl8a0bb2ymlf
2014-04-23 14:38:08 +02:00
Martin Trigaux
1db082db9d
[FIX] convert: use _all_columns instead of _columns as it contain fields from inherited models.
...
bzr revid: mat@openerp.com-20140418164552-2mlprexkdlqlui2h
2014-04-18 18:45:52 +02:00
Xavier Morel
4934579abb
[IMP] No cause to store self.fget.__name__ to its own attribute when it's only used once
...
bzr revid: xmo@openerp.com-20140418130629-30vp1veih7jfmnx7
2014-04-18 15:06:29 +02:00
Anael Closson
1528f9273b
[FIX] tools: Comments in e-mail templates are removed before mako/jinja2 processing - opw 605315
...
bzr revid: acl@openerp.com-20140415143736-bcgwgribsv2hsbvo
2014-04-15 16:37:36 +02:00
Christophe Simonis
3d2e9b4d2b
[MERGE] forward port of branch 7.0 up to revid 5281 launchpad_translations_on_behalf_of_openerp-20140412094159-mhy3v2prb3ctx32k
...
bzr revid: jke@openerp.com-20140409153527-mic1a8afcvdhsd27
bzr revid: chs@openerp.com-20140410102422-fcwxhjk40z0oy8x5
bzr revid: chs@openerp.com-20140415133650-y46i0o3qkb2atbvi
2014-04-15 15:36:50 +02:00
Antony Lesuisse
f0dcf52159
[FIX] instrumentation to debug a deadlock probably due to a race condition in
...
the test cursor
bzr revid: al@openerp.com-20140411143645-ojb4t9plop4dmizh
2014-04-11 16:36:45 +02:00
Christophe Simonis
15680c94e1
[MERGE] forward port of branch saas-3 up to revid 5115 chs@openerp.com-20140410102422-fcwxhjk40z0oy8x5
...
bzr revid: chs@openerp.com-20140410105454-6utwgruj80h8wdss
2014-04-10 12:54:54 +02:00
Kersten Jeremy
3285feab53
[FIX] Allow missing opcodes, harden check for private attributes (dunder), check inside embedded code objects.
...
bzr revid: jke@openerp.com-20140409151659-xwttchbtbj02v1w7
2014-04-09 17:16:59 +02:00
Raphael Collet
5640f3076a
[MERGE] test_cursor: implement a cursor mockup that never commits to database, and use it for http tests
...
bzr revid: rco@openerp.com-20140409145830-rop8esgic2y435kf
2014-04-09 16:58:30 +02:00
Raphael Collet
e5e00e4c0a
[IMP] registry: now cursor() simply returns a cursor, which may itself be used as a context manager
...
bzr revid: rco@openerp.com-20140409095604-joh9dt0qkma12ykm
2014-04-09 11:56:04 +02:00
Raphael Collet
6bc60505f4
[IMP] registry: add method get_cursor() to simply retrieve a new cursor, and refactor code to use it
...
bzr revid: rco@openerp.com-20140408125122-ki0zmin3m21k2itd
2014-04-08 14:51:22 +02:00
Simon Lejeune
2599ff5590
[MERGE] trunk
...
bzr revid: sle@openerp.com-20140407133627-36iijkx89552bwa0
bzr revid: sle@openerp.com-20140407174628-24wysrr3g8x0fijd
bzr revid: sle@openerp.com-20140408135137-0ficpzark3mjys9r
2014-04-08 15:51:37 +02:00
Christophe Simonis
0161666e8b
[MERGE] forward port of branch saas-3 up to revid 5112 chs@openerp.com-20140407144238-3s38zadkh7yxpdy7
...
bzr revid: chs@openerp.com-20140407160548-ttuc877kknuycoqw
2014-04-07 18:05:48 +02:00
Simon Lejeune
590fe996ad
[FIX] as render_report is adapted to qweb, no need to filter in _exec_action
...
bzr revid: sle@openerp.com-20140402121237-t9tsnm9birhekj0b
2014-04-02 14:12:37 +02:00
Christophe Simonis
11af46b2b1
[FIX] resize_image: auto convert BMP images to PNG
...
bzr revid: chs@openerp.com-20140401154417-c8buuqybdsihn3om
2014-04-01 17:44:17 +02:00
Simon Lejeune
c8aa0cc7f1
[FIX] Adapted the render_report and try_report_action methods used in yml test to work with qweb reports
...
bzr revid: sle@openerp.com-20140401153339-3n0xw5whx82uu0pu
2014-04-01 17:33:39 +02:00
Fabien Meghazi
e6aadeb58c
[FIX] Set correct record id for <template> tag converter
...
bzr revid: fme@openerp.com-20140327103844-irs3dga2xs969mdk
2014-03-27 11:38:44 +01:00
Fabien Meghazi
2eea637227
[MERGE] upstream
...
bzr revid: fme@openerp.com-20140326152307-d0rn3yuzel11457g
2014-03-26 16:23:07 +01:00
Antony Lesuisse
483bc96682
[IMP] wsgi and http cleanups, static http is now handled in http.py
...
bzr revid: al@openerp.com-20140326132057-scuiqvqma9dhyorl
2014-03-26 14:20:57 +01:00
Christophe Simonis
5b2634bd6e
[FIX] init logger earlier, right after config loading
...
bzr revid: chs@openerp.com-20140325154627-cmodvx26jayj3k4a
2014-03-25 16:46:27 +01:00
Fabien Meghazi
f86967960d
[MERGE] upstream
...
bzr revid: fme@openerp.com-20140325153725-67hb463km4yvsnoe
2014-03-25 16:37:25 +01:00
Christophe Simonis
c8eddb7d22
[ADD] openerp.tools.func.lazy_property():
...
Decorator for a lazy property of an object, i.e., an object attribute
that is determined by the result of a method call evaluated once. To
reevaluate the property, simply delete the attribute on the object, and
get it again.
bzr revid: chs@openerp.com-20140324120001-935d90ye7tb8a5q4
2014-03-24 13:00:01 +01:00
Maxime Chambreuil
046f19fa9b
[IMP] Add fr_CA translation
...
bzr revid: maxime.chambreuil@savoirfairelinux.com-20140323000805-vead0t0gcgkqzthh
2014-03-22 20:08:05 -04:00
Christophe Simonis
fdd1f69294
[FIX] duplicate/rename/drop database: handle filestore
...
bzr revid: chs@openerp.com-20140321155659-gvg4br76214lur4l
2014-03-21 16:56:59 +01:00
Christophe Simonis
806648d611
[IMP] tools.exec_pg_command: hide command output
...
bzr revid: chs@openerp.com-20140321155605-u96hd1da3rrrmcgg
2014-03-21 16:56:05 +01:00
Kersten Jeremy
720339ed1d
[MERGE] Merge branch lp:~numerigraphe/openobject-server/7.0-translation-order-933496-numerigraphe
...
bzr revid: jke@openerp.com-20140320090105-fl2jt7hhplwu6dgr
2014-03-20 10:01:05 +01:00
Antony Lesuisse
e73230d0fc
ir_logging fix logger names
...
bzr revid: al@openerp.com-20140320000912-1a5hngnw8ilq22k8
2014-03-20 01:09:12 +01:00
Antony Lesuisse
6e4db0a0a6
ir_logging fix config option
...
bzr revid: al@openerp.com-20140320000524-gs98xy6iqh2ceev6
2014-03-20 01:05:24 +01:00
Antony Lesuisse
666f4d0801
[MERGE] trunk
...
bzr revid: al@openerp.com-20140319235117-7trt1y3927mml13u
2014-03-20 00:51:17 +01:00
Fabien Meghazi
43419ed6e9
[IMP] Allow openerp.tools.convert_file() to optionally take the full path name
...
bzr revid: fme@openerp.com-20140319084931-1ipjqi2dd3ug7i2t
2014-03-19 09:49:31 +01:00
Christophe Simonis
8f8ca3bd84
[MERGE] forward port of branch saas-3 up to revid 5093 chs@openerp.com-20140318114540-l50kmo4azb57g31x
...
bzr revid: chs@openerp.com-20140318124112-cj65l3wysk2rhwlw
2014-03-18 13:41:12 +01:00
Xavier Morel
6a8f39533a
[REM] forced filetype on resize_image_*, fix incorrect size spec on big
...
bzr revid: xmo@openerp.com-20140317094625-00mjd8ymcxvvl9yg
2014-03-17 10:46:25 +01:00
Xavier Morel
2688ac29a0
[FIX] keep image type intact during resize
...
Unless specficially requested, the output image should have the same file type
as the input (JPEG -> JPEG, PNG -> PNG), everything should not be converted to
PNG by default.
bzr revid: xmo@openerp.com-20140317084123-wvn8r4ot79610k1r
2014-03-17 09:41:23 +01:00
Antony Lesuisse
3168c3c1ca
[MERGE] trunk
...
bzr revid: al@openerp.com-20140316183515-fthpvudn1rbmru4q
2014-03-16 19:35:15 +01:00
Antony Lesuisse
e9d047e611
sql loggin cleanups
...
- prepare for netsvc will be renamed to logging
- move back log from http.py has it's used by the cron
- move sql handler to netsvc, simplify to use sql_db
- remove unused handler
- close plaform specific #ifdef pandora's box
bzr revid: al@openerp.com-20140316182933-jkcji9yqfbsokcmg
2014-03-16 19:29:33 +01:00
Christophe Simonis
c7d114d9a9
[MERGE] forward port of branch saas-2 up to revid 5020 chs@openerp.com-20140312174526-a5rhh83g0fw8djuc
...
bzr revid: chs@openerp.com-20140312180614-8yb454s3mkjwnk2q
2014-03-12 19:06:14 +01:00
Antony Lesuisse
96db6703dd
[MERGE] db dump/restore zip-based format.
...
The new format uses plain text sql and includes the filestore.
The old pg_dump format is still supported for db restore.
bzr revid: al@openerp.com-20140312174233-0ulbcwn784ujuk6p
2014-03-12 18:42:33 +01:00
Stephane Wirtel
4bbcfddc13
[MERGE] from trunk
...
bzr revid: stw@openerp.com-20140312102948-1n3b2d1vqedzojzb
2014-03-12 11:29:48 +01:00
Olivier Dony
46e1470987
[IMP] safe_eval: allowed opcodes: break, continue, raise ; extra builtins: unicode,int,float,long,enumerate,sum,all,any,ord,chr,cmp,divmod,isinstance,[x]range,zip
...
bzr revid: odo@openerp.com-20140306165849-1sxr9iv5cr87k77n
2014-03-06 17:58:49 +01:00
Christophe Simonis
ec36a494fe
[FIX] do not expose posix only config options on windows
...
bzr revid: chs@openerp.com-20140306115214-8wrfivy4runpzoar
2014-03-06 12:52:14 +01:00
Christophe Simonis
447d597815
[IMP] new backup format.
...
The new backup format is a zip containing the sql dump of the
database and the filestore of this database.
Old backups can still be restored
bzr revid: chs@openerp.com-20140304175656-iu3un6q43ttnhjfz
2014-03-04 18:56:56 +01:00
Stephane Wirtel
5918ad323e
[MERGE] from Trunk
...
bzr revid: stw@openerp.com-20140228161338-8yjlkwacuube7vir
2014-02-28 17:13:38 +01:00
Stephane Wirtel
047d071a48
[IMP] Add a new Logging Handler, where we will store in the database of OpenERP.
...
this database can be overrided via the --log-pgsql-database
bzr revid: stw@openerp.com-20140228161147-s9nnrfq2tc94vq5p
2014-02-28 17:11:47 +01:00
Antony Lesuisse
8fec899f9b
[FIX] move appsdirs to tools
...
bzr revid: al@openerp.com-20140227163259-asal833qjv3gylit
2014-02-27 17:32:59 +01:00
Antony Lesuisse
38d1ca1ff2
[MERGE] trunk
...
bzr revid: al@openerp.com-20140227161819-p9chmskfifo0rygs
2014-02-27 17:18:19 +01:00