OpenERP 6.0.2 is out

Hi,

We have the pleasure to announce a new release of OpenERP 6.0.

This release contains many bugfixes, as described below.

You will find the Windows Installers and the tarball archives on the OpenERP download page,
the links are also mentioned at the bottom of this announcement.

Server:
=======

2011-04-01: 6.0.2
=================

Bugfixes
~~~~~~~~

* Not linked to a bug report:

* setup.py: previous commit used unexisting variable.
* setup.py: console option used only on nt.
* debian: added the debian directory to the manifest and missing dependency python-date to control.
* Deletion : Deletion of the records which are referring to any xml/csv record,should delete the relevant reference of ir_model_data and ir_values (Ref : Case 4630)
* ir.model.data.get_object(): raise ValueError when target record does not exist, for consistency
* orm.unlink(): properly remove ir.values entries upon deletion
* Base : Currency MUR(Mauritius Rupees) Added(Ref : Case 4492)
* tools.graph: stop useless recursions to make graph_get() faster
* Removed deprecated license files (was GPL v3, we are using AGPL v3).
* orm: _add_missing_default_values: Allowing only valid x2m default values (Ref : Case 4364)
* res_partner: extend default security rule to show partners from ancestors companies too
* workflow/print: changed wording for recursive cluster representation.
* pydot for workflow instance: render only once each subflow.
* res_company: browse (selectable) companies as superuser when choosing user preferences.
* ir_rule: forgot to add the id child_of user.company_id rule.
* res.currency: make code->name change more explicit, plus fix sample currency names
* ir.attachment: search() must filter out all records that are not accessible
* ir.cron: avoid starting cron engine too early during server startup when ir.cron records are touched
* orm.browse_record: fields prefetching should ignore m2o pointing to models not loaded yet
* Export : _rec_name should be used instead of hardcoded name for relational records (Ref: SaaS Maintenance case 3921)
* ir_attachment: typo introduced in previous fix (3319) (backport of trunk)
* addons: restore proper loading of custom osv models (manual customizations) – backport from trunk
* base: backport from trunk (r3318): fixed ir.attachment

* https://launchpad.net/bugs/704311
* orm: incorrect braces when processing default values for o2m/m2m (backport from trunk)

* https://launchpad.net/bugs/555271
* osv_memory: expire records only based on age by default + provide configurable settings

* https://launchpad.net/bugs/703841
* safe_eval: added time in the allowed modules.

* https://launchpad.net/bugs/708603
* orm.write: avoid miscalculation of parent_left/right when moving multiple records under same parent

* https://launchpad.net/bugs/709559
* osv_memory: expire records only based on age by default + provide configurable settings

* https://launchpad.net/bugs/720277
* act_window access: corrected the access for normal users to read-only.

* https://launchpad.net/bugs/405962

* https://launchpad.net/bugs/706881
* debian: updated changelog and corrected pg dependency

* https://launchpad.net/bugs/701407
* setup.py: copying pytz timezone data into the library.zip.

* https://launchpad.net/bugs/727058
* add missing commands module to py2exe.

* https://launchpad.net/bugs/720175
* ir_rule: fix the recursive checking of a rule applied to res_company.

* https://launchpad.net/bugs/709567
* many2one: return (id,name) instead of only id also for osv_memory

* https://launchpad.net/bugs/710813
* setup.py : typo corrected

* https://launchpad.net/bugs/735554
* win32 build script works again (fixes lp:735554)

* https://launchpad.net/bugs/719406
* correct two problems with domains:

Improvements
~~~~~~~~~~~~

* ir_rule: added some test cases.

Addons:
=======

Bugfixes
——–

* Not linked to a bug report:

* email_template_account : Fixed the Unicode errors(Case 4594)
* email_template_account : Corrected the fix
* document : File Content remained empty for old attachments fixed.(Support Case 4586)
* mrp_operations : Cancelling a Manufacturing Order is Now Possible.(Support Case:4634)
* Stock : adding some defaults on on_change
* Stock : adding attrs in order to make the field required
* Mail_Gateway : Added a condition in order to display message with no subject arising from migration(Ref : Case 4701)
* Purchase : Added fields to the list view of purchase.report in order to avoid groupby error(Ref: Case 4683)
* Hr_recruitment : Added survey field to applicant form view (Ref : Case 4748)
* Stock_invoice_directly : Corrected context parameters and passed to the next wizard of invoicing (ref: case 4703)
* survey: i18n – fixed duplicate msgid introduced by commit 4238
* CRM_Helpdesk : Helpdesk categories are not displayed due to context (Ref : Case 4500)
* Product : added menu for Price Type (Ref :Case 4492)
* Membership : Corrected the date evaluation of membership based on membership cancellation (Ref : Case 4452)
* procurement: notify the procurement there is no default seller for a product
* product: load the sellers with a valid sequence
* Stock : Call to write() with integer format of IDS can cause crash on system,normally write should be called with [IDS] format(Ref : Maintenance case 4416)
* pproduct: extend default security rule to show products from ancestors companies too
* CRM : Corrected case_close() method in order to avoid variable reference Error. (Ref : Case 4389) NOte that the original problem comes due to web which allows ids=[] on the call of the method
* add rec_name on account.cashbox.line
* Hr_payroll_account : Fixed the warnings suggested by Buildbot
* Warning fixes suggested by buildbot
* Hr_payroll_account : Payslip approval crashes without notification if Property accounts are not configured
* Account : Invoice line should contain the product description in notes (Ref : Case 4298)
* BVR printing
* share(web): fix commit 4394, action_id should be an integer
* Base_module_creator : Corrected the action creation of custom report with correct Model. (Ref : Case 4102)
* document: search() must filter out documents in disallowed directories
* anonymization: set float and integer values to 0
* anonymization: removed unused import
* base_module_record: Return the recording wizard with ir.actions.act_window_close (Ref: Maintenance case 4031).
* Base_module_record : Module creation should create a file called __openerp__.py instead of __terp__.py
* share: share wizard would not open in some cases due to view_id not being found in ir_act_window
* HR : Correction on List view definition for model hr.employee (Ref : SaaS Maintenance Case 3990)
* outlook use ssl
* Backport bug solve in trunk + ssl implementation
* avoid to have lead emails in cc when forward to partner with geo assign
* Hr_Timesheet : Timesheet report should be available for those employees who have user associated with them.
* Sale_crm : Correction the inheritance of views,made by string. (Ref:SaaS maintenance Case 3974)
* Document_ftp : Correction on ftp_browse wizard for URL (Ref : Maintenance case 3889)
* base_calendar : timezone False sent to server for write
* widget selection replace by m2o because the domain is dynamic
* product: name_search() should only look for exact product codes
* Project_planning : Corrected Demo data
* Account_payment : Correction on method of functional field for date fields (Ref: SaaS Maintenance Case 3882)
* Account_payment : Corrected context on creation of new payment line for an unsaved payment order
* Automated actions: Should never entertain context=None (Ref : Maintenance case 3924)
* plugin thunderbird : opendocument with https
* encoding error when using special characters in pad name
* Stock : Correction on import statement
* project_retro_planning: correct invalid yml test data, that does not work at the end of the month (backport from trunk)
* Stock : Allowed unicode characters in wizard of change price [ Ref : SaaS Maintenance case 3916]
* Thunderbird : false positive on dblist
* hr, access rights: a simple employee should be able to see the list of departments
* hr_attendance : Correction on wizard of sign in/out [Ref: SaaS maintenance case 3896]
* account: invoice analysis enhanced in order to avoid having crashes because of zero division (if a line has qtty = 0..)
* Thunderbird false negative testing connection
* crm : stage well assign according to the sales team if there is one, or according all stage if no sales team
* Product_visible_discount : correction on onchange_product_id (Ref: Maintenance case 3871)
* thunderbird : connection refused when dabase is not list
* sale_crm: lower priority to avoid replacing generic Monthly Turnover report views from account

* https://launchpad.net/bugs/724516
* Purchase : Relevant invoices should be opened in the format of Supplier invoice

* https://launchpad.net/bugs/726415
* product: name_search should give precedence to product code only on exact match

* https://launchpad.net/bugs/628702
* MRP : Raw Procurement creates a purchase order with wrong supplier and price(when there are more than 1 suppliers)

* https://launchpad.net/bugs/720175

* https://launchpad.net/bugs/715695
* Account/Multi-Company Environment :Configuration of consolidated type of account is not possible due to the _check_type constraints(Ref: Case 4006)

* https://launchpad.net/bugs/708405
* Account : Correction on the calculation of residual

* https://launchpad.net/bugs/718616

* https://launchpad.net/bugs/724198
* Stock : Creation of invoice from picking should respect the journal and its view over opened invoice

* https://launchpad.net/bugs/729539
* Stock : ‘Split in production lot’ wizard should have float format in order to split lot in x.y manner

* https://launchpad.net/bugs/718741
* Hr_payroll_account : Payslip approval crashes without notification if Property accounts are not configured

* https://launchpad.net/bugs/734273
* mrp : BoM name now translated on product’s on_change (Support Case:4563)

* https://launchpad.net/bugs/724891
* Purchase_requisition : Correction on call to write(), Corrected the commit sbh@tinyerp.com-20100709113554-htq4ole8xlezba0w

* https://launchpad.net/bugs/708616
* Fetchmail: Unicode error corrected on exception

* https://launchpad.net/bugs/709130
* Hr_Holidays : Refusal of a leave was broken, corrected by changing the datatype of case_id into hr.holidays model ( Ref : Revision 4935 mra@mra-laptop-20110201124038-fwehl3uq7qo3tp6v from branch
trunk-dev-addons3 )

* https://launchpad.net/bugs/709055
* mrp : Corrected Quantity Calculation when having different UoM in MO

* https://launchpad.net/bugs/705439
* Mail_gateway : Correction on creation of attachment(For mailgate.message) while sending a communication via email. [ Ref : Maintenance case 3845]

* https://launchpad.net/bugs/727875
* event lp:727875

* https://launchpad.net/bugs/709275
* Product : context transmitted as an argument to the call of price_get()

* https://launchpad.net/bugs/688069
* Email_template : Corrected context of action

* https://launchpad.net/bugs/725921
* Stock : Physical inventory should respect the quantity change when inventory line has lot assigned

* https://launchpad.net/bugs/719223
* Product_margin : Added group_by operator fields on list view

* https://launchpad.net/bugs/705570
* hr_recruitment : Missing dependency of decimal_precision added

* https://launchpad.net/bugs/706227
* base_tools, marketing_campaign_crm_demo: __init__.py is no more blank

* https://launchpad.net/bugs/700928
* Stock : While configuring physical inventory, manufacturing lots field should be set mandatory if the product has this attribute True

* https://launchpad.net/bugs/710516
* Purchase : Destination address should not be restricted to be an address of any partner

Improvements
————

* Account_voucher : made company_id field visible to multicompany user by shifting it to header panel (Ref: Case 4006)
* Point_of_sale : Improved menu name Cash Register Management

Clients:
========

GTK:
—-

Bugfixes
~~~~~~~~

* Not linked to a bug report:

* m2o search
* Regression create on revno: 1428
* merge fix for calender problem and a regression occured at revision 1369.1.59
* custom_filter: use locale-independent index to distinguis AND/OR operators
* correction to rev 1789
* Deleting all records in listview switch to calendar view it still display records
* missing context in evaluation dict while eval of context and domain
* export : oblige to put quote around all data

* https://launchpad.net/bugs/699960
* Many2Many : Activated pager facilty to load all the records

* https://launchpad.net/bugs/705744
* Confirmation window for save record, don’t remove unsaved record on discard change

* https://launchpad.net/bugs/720294
* Contextual help : Corrected the redirection of documentation

* https://launchpad.net/bugs/708467
* search_default_* on m2o field by act_window

* https://launchpad.net/bugs/404903
* Field not found in O2M while delete and add record without saving the parent

* https://launchpad.net/bugs/673775
* rpc: workaround for Python issue #1223 that breaks SSL connections on Python 2.5-

* https://launchpad.net/bugs/712459
* cannot marshal None unless allow_none is enabled

* https://launchpad.net/bugs/707333
* Cannot create database if the server is launch with –no-database-list

Improvements
~~~~~~~~~~~~

* Calendar/graph view: create new record and previous commit 1369.1.59

Web:
—-
Bugfixes
~~~~~~~~

* Not linked to a bug report:

* text_html widget implementation
* trigger onchange event on fields receiving value from previous onchange
* Fixed attrs change, not evaluated after on_change events.
* handling of attrs handling in form view
* on_close_popup for forms would not update the parent
* Fixed close_popup for actions. On button clicked form is saved but not updated _terp_id, then need to passed terp_id so after perform action form is updated.
* breakage of Firefox due to severe headers abuse
* OPW 4489: correctly handle date and datetime formats in custom filters
* Fixed custom-filters for wrong date format.
* correctly validate integers in preferences (opw 4396)
* Fixed reviewed code.
* Fixed regular expression for integer when change preferences.
* form view actions invocation on an unsaved form
* revert 4456
* CherryPy requirement to 3.1.2 as there are apparently issues with 3.2 that we have to resolve
* CherryPy 3.2 officially supports as_dict but moves it to cherrypy.lib.reprconf, try both the new and the old paths
* search view breakage when switching from/to other views than list view
* there can be cases in some addons using third-party libs where ajaxComplete is triggered without an xhr on hand (which is pretty weird but…). Don’t do anything if that happens
* Backport, Unexpected closing of popup without performing wizard actions (Ref: Maintenance case 4031).
* Fixed nested notebook behavior for default page (Ref: Maintenance case 3994).
* autocomplete or display search popup when clicking outside an edited m2o (as when tabbing out)
* correctly delay ManyToOne.get_matched calls
* add the action_id in the Screen environment so it’s available for the Share wizard (view_id is not reliable, esp. on ir_act_window)
* error when validating editable list line via [Return] when field return’ed has onchange (the openerp kind) on it: onchange was called after save()
* in sortable editable lists, ensure it’s not possible do drag&drop a line being *created*
* revert MonthCalendar click to the MouseUp event: using click(), IE8 would not report the mouse button involved and I don’t feel like changing that code much more
* month calendar: split between mouseUp and mouseDown on day click resulted in the ability to invoke the new event popup without having the correct data set by pressing the mouse button outside the
calendar, dragging the mouse inside the calendar and releasing it
* actually fix previous commit for real instead of crappy workaround
* bail out early from List.dragRow if id is missing
* If the value of a selection field is ‘False’ (or not found in the selection), set the record value to graph to ‘False’ instead of not setting it at all
* perform active_id replacement in context when that context is a dict as well (replace string dict value)
* Fixed small potential problem in odoo.
* remove nofilter filter on Mako value output, breaks down trying to decode utf-8-encoded values inserted into the templates
* display of validation errors on search forms
* bug 14: error ‘list’ object has no attribute ‘update’
* Fixed stack with M2O.
* be tolerant to invalid value from js
* Fixed problem with odoo and searchs.
* Fixed potential problem in widgets/listgrid.py.
* ValueError: list.index(x): x not in list in dragRow
* reintroduce [clone] helper for jquery.ui.sortable: if not clone()ing, ‘click’ event handler executes on helper, resulting in edit/view being called from time to time, and the line getting edited
(in editable list) or the object being opened (in readonly view, in non-editable lists) after the sort has executed
* JS error when reordering list elements via d&d
* name_get do not crash if invalid id
* Fix of small potential bug found in odoo.
* Correction of small problem in odoo.
* csv.reader only accepts single-character strings, if two characters are provided in import format it blows up
* revision fme@openerp.com-20110126143844-29w69i47uqzblqyg broke accounting reports
* correctly use path.addons() to find the addons’s directory, don’t expect it to be a subdir of cwd
* Modified Record sum Fields for ListView.
* Problem with exported data as csv when too few data in list.
* Fixed m2o issue when create new by press F1.
* Activate Action of parent tree.
* Minor changes.
* Fixed Open Resource for reference widget.
* Fixed visible,invisible columns as per context.
* revert revisions 4361 and 4460: 4460 tried to fix 4361 which broke display of readonly forms
* following 4463, also found in log: sum_fields=’,’
* don’t make count_sum request when no field is selected
* ‘set as default’ on incorrect field ? log with a set as default call on project.project[progress]
* ID for progressbar displays
* ensure value of char and text widget are not False values
* possible search cases where group_by clause in eval_domain_and_context is False rather than an empty list or string.
* tr not initialized in case of UnknownLocaleError during translation loading
* Problem with export data as csv when too few data in list.
* export : oblige to put quote around all data
* mutable and mutated default argument to search.new accumulating domain pieces on every m2o search and breaking all m2o popups + urls
* binary image use ‘rb’ flags when opening the placeholder on windows

* https://launchpad.net/bugs/708567
* remove default limit (100) on name_search (otherwise clamps total number of listed records in m2o research dialogs to 100)

* https://launchpad.net/bugs/712352

* https://launchpad.net/bugs/717344
* count incorrect in pager when deleting objects in form view

* https://launchpad.net/bugs/705485
* Fixed no need to replace id for o2m form view untill parent is not found.

* https://launchpad.net/bugs/729354
* do not mangle context with current m2o value for non-editable view (no text field in the m2o)

* https://launchpad.net/bugs/714557
* o2m fields in editable lists

* https://launchpad.net/bugs/706968
* Security status bar is now shown in IE8 so user is aware of file download blocked by Internet Explorer

* https://launchpad.net/bugs/719433
* get view_id for a search view from context['search_view'] when it is not provided through the request arguments

* https://launchpad.net/bugs/726491
* Fixed action for formview when record is not saved.

* https://launchpad.net/bugs/720173
* disable (readonly) O2Ms nested in unsaved O2M forms

* https://launchpad.net/bugs/703093
* wrap document title.

* https://launchpad.net/bugs/720113
* Fixed delete button for listview.

* https://launchpad.net/bugs/721868
* Fixed handling of global context values correctly in the case of specified home actions

* https://launchpad.net/bugs/720294
* Contextual help : Corrected the redirection of documentation

* https://launchpad.net/bugs/705749
* Fixed text widget.

* https://launchpad.net/bugs/715773
* domain evaluation when field kind is char but actual field type is selection: selections require strict equality comparisons

* https://launchpad.net/bugs/720820
* form view should not go into edition mode (and – / 1) when deleting the last object of a page

* https://launchpad.net/bugs/699960
* Fixed ListView concurrencyInfo for firefox header problem. When records limit 500/ unlimited.

* https://launchpad.net/bugs/715485
* m2o: context values can contain ‘self’ which is a reference to the current field value, we need to evaluate ‘self’ (to the current m2o field value) before sending the context to the server

* https://launchpad.net/bugs/704012
* Fixed one2many when values is in tuple.

* https://launchpad.net/bugs/735933

* https://launchpad.net/bugs/706201
* Passed context in params for listview button action.

* https://launchpad.net/bugs/714610
* Fixed search on many2many fields from search view: were validated via form m2m validator which validates id not name

* https://launchpad.net/bugs/721840
* rename groups in grouped list views to avoid conflict with naming rules of wiki addon (which uses ‘group_id’)

* https://launchpad.net/bugs/715688
* context propagation during form action was incorrect and would lead to missing values at evaluation

* https://launchpad.net/bugs/706286

* https://launchpad.net/bugs/705942
* Fixed many2one when editable listview.

* https://launchpad.net/bugs/724226
* m2o missing record: don’t leave incorrect values in the m2o text field when not creating unknown related object

* https://launchpad.net/bugs/741765
* handling of selection field with unicode *values* (not labels)

* https://launchpad.net/bugs/718552
* active_id in domains can be within a list (as a value of a domain section), not just directly at the top level of the section
* Backport, Fix group_by option if not group_by.

* https://launchpad.net/bugs/702921
* Fixed context problem when any action perform (not passed context manually with action).

* https://launchpad.net/bugs/717376
* context propagation during form action was incorrect and would lead to missing values at evaluation

* https://launchpad.net/bugs/705102
* Fixed type convesion problem.

* https://launchpad.net/bugs/723794
* context.search_view propagated from parent to m2o search window, leading to trying to find the corresponding search view for the m2o model which is nonsensical. Prevent propagation of search_view

Improvements
~~~~~~~~~~~~

* Improvement in ck_editor.
* Original field type should be kept as it is (if required or readonly), so we can use it when states or attrs applied.
* orderable types list: a time is as orderable as a date
* Improved active_id for domain evaluation.
* clear out the autocompletion list when matching m2o results
* call m2o-value matching (behavior when tabbing out of a field) when clicking outside of the field after having set some kind of value
* move exceptions to openobject.errors, add ability to not trace exceptions to the cgitb traceback tool
* log error tracebacks with cgitb to have more information
* move enabling of nestedvars conversion out of config file, disabling it would probably break the web client
* add cgitb traceback tool and enable it by default
* catch and return message if the parsing of the CSV file fails during import
* jquerify DOM manipulations of MonthCalendar.onClick
* simplify date and time manipulation of MonthCalendar.onClick to make logic more understandable. Also, fix namings
* if no ids in listview, send empty list string
* cleanup TinyForm._convert to better understand what happens in that thing
* Added null-checking for calendar get_defaults.
* Improved _make_dict method.
* Added recursion detection in _make_dict.
* fix indentations (remove tabs), jQ duplicate variable declarations
* Improved Custom filter.

Tarballs:
=========

* Server: http://openerp.com/download/stable/source/openerp-server-6.0.2.tar.gz
* Client: http://openerp.com/download/stable/source/openerp-client-6.0.2.tar.gz
* Web: http://openerp.com/download/stable/source/openerp-web-6.0.2.tar.gz

Windows Installers:
===================

* All In One: http://openerp.com/download/stable/win32/openerp-allinone-setup-6.0.2.exe
* Server: http://openerp.com/download/stable/win32/openerp-server-setup-6.0.2.exe
* Client: http://openerp.com/download/stable/win32/openerp-client-setup-6.0.2.exe
* Web: http://openerp.com/download/stable/win32/openerp-web-setup-6.0.2.exe

You can contribute to OpenERP on LaunchPad.

* OpenERP Download page: http://openerp.com/downloads.html
* OpenObject Project on LaunchPad: https://launchpad.net/openobject
* Translations: https://translations.launchpad.net/openobject
* Bug Reporting: https://bugs.launchpad.net/openobject/+filebug

The OpenERP Team,
_______________________________________________
You can unsuscribe here: Tinyerp-announce mailing list
https://mailman.openerp.com/mailman/listinfo/tinyerp-announce
—————————————-
Vous pouvez vous désinscrire ici: Tinyerp-announce mailing list
https://mailman.openerp.com/mailman/listinfo/tinyerp-announce
————————————–
If you can not unsubscribe, send a mail to dma@tinyerp.com
—————————————
Si vous n’arrivez pas à vous désabonner, envoyez un mail à dma@tinyerp.com

Comments are closed.