- Jun 12, 2014
-
-
Thibault Delavallée authored
-
Thibault Delavallée authored
-
Martin Trigaux authored
[MERGE] orm: avoids error when reading twice a field
-
Martin Trigaux authored
_read_flat: remove duplicated fields in read call get many2one: as False is instance of int, check the value of x first to avoid calling a name_get with a list of False When we were reading twice a m2o field where at least one result is null, the first call to name_get would set the value to False instead of None and then accepted by the filter 'isinstance(x, (int,long))'
-
Martin Trigaux authored
Wwhen parsing a integer field, do not accept float values. '1' or '1.0' is ok but not '1.1'. (opw 608544)
-
Denis Ledoux authored
sale_order module override state field of sale.oder (sale.sale.py) and forgot to reset the track_visibility, therefore sale orders state changes are no longer tracked once this module installed.
-
- Jun 11, 2014
-
-
Olivier Dony authored
This will make sure already processed rules are persisted in case a timeout occurs while processing the next ones, ensuring that *some* progress can be made in most cases.
-
Olivier Dony authored
A safety guard already in place prevents the recursive trigger of rules while another rule is being executed, as a simple measure to prevent endless loops. This guard was missing when processing time-based rules.
-
Olivier Dony authored
A programming error introduced at rco@openerp.com-20121220142445-emzzvhlw400q37c9 fails to properly check when a rule has already been executed in the past. Time-based rules should only be executed if the trigger date is in the past and: - either they never executed before - or the last execution date is older than the trigger date
-
Olivier Dony authored
Executing a rule always updates the `last_run` value, which would always force a useless registry reload to occur. Only signal the change if the rule applies to a model that was not previoulsy monitored for base action rules.
-
Olivier Dony authored
[IMP] account.move.line: extra index on (date, id) corresponding to the default _order, courtesy of @gurneyalex. Fixes https://bugs.launchpad.net/openobject-addons/+bug/1311004
-
Martin Trigaux authored
[FIX] delivery: add missing information in chained pickings
-
Martin Trigaux authored
[FIX] hr_timesheet_sheet: correctly set the employee on the attendance
-
Martin Trigaux authored
The field note on account.fiscal.position and account.fiscal.position.template should not be translatable in classic modules. The l10n_multilang module is intendend to make chart of accounts multilang and is the place to set translate=True
-
Jeremy Kersten authored
-
- Jun 10, 2014
-
-
Martin Trigaux authored
[FIX] delivery: do not remove the delivery method on the sale.order when adding it as an order line (useful information)
-
Martin Trigaux authored
If the writeoff_amount is above 0, the fields writeoff_acc_id can be displayed and is required depending of the payment option. If the writeoff_amount is reset to 0, this field should no longer be required.
-
Martin Trigaux authored
[FIX] report_webkit: avoid sharing parser instance globally and make it thread safe
-
- Jun 06, 2014
-
-
Alexandre Fayolle authored
fixes https://launchpad.net/bugs/1311004
-
Somesh Khare authored
closes lp:1192115
-
Alexandre Fayolle authored
closes #367
-
Martin Trigaux authored
[FIX] orm: do not recompute m2o stored function field at read.
-
Laetitia Gangloff authored
-
Christophe Simonis authored
The get() method of m2o function fields is used for 2 different things: - call the function defining the m2o - get the name_get representation of the value Until this pathc, only the first case was handled, resulting to a useless recomputation of the field when reading it.
-
- Jun 05, 2014
-
-
Oliver Laurent authored
-
Laurent Mignon authored
[FIX] ir_cron: use the same search criteria as when listing job to excecyte when acquiring the ock on the job before its execution to prevent running already executed job Backport of fix made in trunk
-
Martin Trigaux authored
[IMP] stock: when checking the state of the product, do not recompute the quantity on every move but only the one currently browsing (optiomisation)
-
Denis Ledoux authored
User should be at least have Configuration settings group to be allowed to create actions. Basic document page users do not have this rights, therefore we temporary give superuser_id to create the action This is related to rev 133c5033
-
Holger Brunn authored
Triggering an empty write could break constraint (can not update past timesheet) (opw 606963)
-
Christophe Simonis authored
-
Martin Trigaux authored
When uninstalling a module, remove the ir.model.constraint after removing the non-model records and before fields and model definition. Without this fix, some constraint would be removed too early allowing to have broken relations and data left from removed module.
-
- Jun 04, 2014
-
-
Martin Trigaux authored
The default value should be called with a lambda otherwise the payment_date is set to the date the server was started (opw 606715)
-
Martin Trigaux authored
On ie9, the 'read more' button in kanban view was placed in the middle of the window instead of the bottom
-
Martin Trigaux authored
When creating a grouped invoice, the invoice_vals value is used to create the invoice line. The value was not reset for grouped invoice and we reused the values of previous line.
-
- Jun 03, 2014
-
-
Martin Trigaux authored
-
Denis Ledoux authored
opw-607920
-
- Jun 02, 2014
-
-
Martin Trigaux authored
Some browsers (e.g. chrome) trigger onEmptyClick as well as onBeforeLightbox during drag&drop which calls two slow_create calls (and two popups). Workaround to kill the second one.
-
Martin Trigaux authored
[FIX] mail: detection of MIME type When parsing the mail headers, the content-type may has a 'type' attribute for Multipart/Related objects (rfc2387). Previous check would match on attached files of type text instead of real `content-type: text/`.
-
Denis Ledoux authored
-
Denis Ledoux authored
-