- Jan 20, 2015
-
-
Cecile Tonglet authored
When looking for an issue number, it's more useful to match the word in the whole string instead of just a part of it.
-
Cecile Tonglet authored
-
- Jan 19, 2015
-
-
Christophe Simonis authored
-
Laurent Mignon authored
closes #4773
-
Jeremy Kersten authored
-
Stéphane Bidoul authored
closes #4767
-
Antony Lesuisse authored
- delete a forgotten print - allow pg_dump custom dumps to be larger than the available disk size, the previous commit allowed dumps to be larger than memory, this one remove this limitation. zip dumps are still limited to by the disk size.
-
Antony Lesuisse authored
- let the user choose between the pg_dump custom format or the zip format including the filestore - use file objects to allow dumps larger than memory - postgres subprocess invocation is now clean and thread-safe, we dont touch the local process environ anymore - add a manifest to the zip dump format with version information about odoo, postgres (pg_dump doesnt output it) and modules
-
- Jan 16, 2015
-
-
Denis Ledoux authored
As entering a wrong value in the grouping field of res.lang, for instance '[,]', leads to an unavailability of the web interface, We add a constraint to prevent entering wrong values.
-
Martin Trigaux authored
The first term of a po file is a comment for translator e.g.: msgid "" msgstr "" "Project-Id-Version: openobject-addons\n" ... This comment is ignored if there is no source and it is the first term of the po file. The first flage was disabled too late and if the following terms also started with an empty source (for too long terms), they were skipped as well. Disable the flag as soon as the condition is evaluated to make sure no additional terms are ignored. opw 619786
-
- Jan 15, 2015
-
-
Raphael Collet authored
This fixes an issue where the same function is used in several model classes: once the function is wrapped for the first class, it is erroneously considered as a wrapper for the second class, and is therefore not wrapped in other classes.
-
Xavier Morel authored
-
Raphael Collet authored
This fixes #4681: prevent method copy() to write on the field.
-
Xavier Morel authored
* document and warn that checks and fast_suite in tests sub-packages are deprecated and have no effect * avoid iterating all currently loaded modules when looking for test modules in a tests sub-package * replace use of __import__ by importlib Fixes #3152
-
Sandy Carter authored
This means group category names can be translated in the default/installation database language. Closes #3921
-
- Jan 14, 2015
-
-
Xavier Morel authored
Issue was the propagation of contextual values across actions, more precisely conserving the selected fiscal year when selecting an account from the chart of accounts tree view: the chart of accounts tree view is generally opened for a specific fiscal year, and it seemed sensible that opening an account would show only the journal items for the previously selected fiscal years rather than all items ever. PR #649 altered action.read by tentatively evaluating the action's context, however this has the side-effect of providing evaluated contexts when creating or editing actions via the UI, usually breaking them in the process (as the context at this point is basically nonsensical for the action's purpose). This backs out the previous fix, and creates a fix restricted to the tree view's JS (thereby removing the feature for window actions not invoked from a tree view). closes #4677, closes #4690
-
- Jan 13, 2015
-
-
Raphael Collet authored
-
Martin Trigaux authored
The log level rec.request and rpc.response where no longer logged as the webclient no longer uses XMLRPC but JSONRPC instead. Duplicate the logging part from dispatch_rpc to dispatch method of JsonRequest to add rpc logs when using JSON requests. opw 617490
-
- Jan 12, 2015
-
-
Raphael Collet authored
As unaccent() of date fields will not work Fixes #4615
-
Xavier Morel authored
Extract dropping of connection from exp_drop (as in 8.0), call it from relevant database-alteration functions (drop, rename, duplicate)
-
Erwin van der Ploeg authored
-
Sandy Carter authored
Use `tools.ustr` for error conversion to prevent `UnicodeDecodeError` when converting errors which can be unicode in depending on data. Example: ```python from openerp.osv.orm import convert_pgerror_23505 from psycopg2 import IntegrityError e = IntegrityError( 'duplicate key value violates unique constraint ' '"hr_job_name_company_uniq"\nDETAIL: ' 'Key (name, company_id)=(Directrice comptabilit\xc3\xa9, 1) ' 'already exists.\n' ) convert_pgerror_23505(None, [], None, e) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 129: ordinal not in range(128) ```
-
youring authored
TTC fonts is widely used in CJK font. Odoo should support ttc fonts recognition.
-
- Jan 09, 2015
-
-
Antony Lesuisse authored
windows cmd.exe terminal doesnt display them correctly so escape sequences end up uselessly wasting some of the precious 80 char wide screen estate.
-
Antony Lesuisse authored
To avoid phantomjs broken pipe messages on odoo stderr during testing.
-
- Jan 08, 2015
-
-
Martin Trigaux authored
If a view inherits from another with a different model (typically product.product view inherits from product.template view), the terms from the second view were not translated. Checking on the parent view in case of different model and look up the terms on this model. Fixes some of #1755, opw 621512
-
- Jan 07, 2015
-
-
Olivier Dony authored
-
Ajay Javiya authored
This is necessary for supporting old-api sparse and serialized fields. Without this, old-api serialized fields are broken because they cannot be converted to new-api fields. This closes #4571
-
Antony Lesuisse authored
-
Antony Lesuisse authored
remove psutil dependency under windows reverts documentation commit 96aba067 because it prevent sphinx build merge setup source code and vcs checkout sections and simplify wording simplify source installation instructions for windows
-
- Jan 06, 2015
-
-
Martin Trigaux authored
It was intended to be replaced by log-handler at first but log-level is still a very convenient way to manage the level of debug.
-
Martin Trigaux authored
The image of a contact of a company was wrongly resized. Use image_small instead of image for correct ratio (anyway 48x48px). Remove image_preview as always use image_small (was wrongly positioned and considered as cache attribute, getting '&cache=NaN' urls...) opw 593992
-
Olivier Dony authored
-
Martin Trigaux authored
Revert "[FIX] ir_translation: remove control characters from translations" This reverts commit 6d4e1cc7. This was intended to clean malformed translations but it introduced the side effect of removing all '\n' in translations. Fixes #4092, opw 619175
-
- Jan 05, 2015
-
-
Denis Ledoux authored
For models using a datetime field as name (hr.attendance for instance), the user timezone wasn't applied in the display name. Therefore, in the breadcrumb, the datetime was different than in the form if the user had another timezone than UTC. This rev. is related to 27d8cb84, but is for the 8.0 api We are aware we introduce a tiny change of API (method signature change), which we normally prohibit, but considering the really low level of the method, the fact it is probably not ovveriden by any other modules and the fact there is no cleaner way to correct this, we are making an exception.
-
Denis Ledoux authored
For models using a datetime field as name (hr.attendance for instance), the user timezone wasn't applied in the display name. Therefore, in the breadcrumb, the datetime was different than in the form if the user had another timezone than UTC.
-
Martin Trigaux authored
Revert edbd0df9 Instead of removing the demo data (demo data is our friend), make the test more specific, adding a date to match the rate of 1.5289 all year long.
-
Martin Trigaux authored
Columns defined in the new api as interger, computed and non-stored should not be aggregated in read_group. Fallback on False if column is None Fixes #3972, opw 619536
-
- Jan 02, 2015
-
-
Martin Trigaux authored
Old demo data hardcoded the currency rate of USD to 1.5289 at the half of the year, introducting new year red runbot. Using assertAlmostEquals to avoid values like 32.730000000000004
-
- Dec 31, 2014
-
-
Ronald Portier authored
In case of different directory for stroing po and pot files than 'i18n' (e.g. 'i18n_extra'), a po could be linked to a wrong pot file. Use the same folder as the po file to look for pot. Fixes #4326
-