Denis Ledoux
5649e0bbf2
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9770 revid:chs@openerp.com-20140116154645-sy4zhdgqc48xaqbx
...
bzr revid: dle@openerp.com-20131224112612-5gjit5uu1aaaqstx
bzr revid: dle@openerp.com-20140103094532-mbczi9ssr3gc90o1
bzr revid: dle@openerp.com-20140108105833-gblxqdw3if1gt35k
bzr revid: dle@openerp.com-20140115121441-bskbyxxbc09ubavh
bzr revid: dle@openerp.com-20140115165506-yuux9km39gbv7k4n
bzr revid: dle@openerp.com-20140116161415-0y9m0kgavcytzj9z
2014-01-16 17:14:15 +01:00
Christophe Simonis
70e201b07e
[FIX] decimal_precision: clearing the cache is suffcient when decimal precision change.
...
[IMP] decimal_precision: call digits_change() on any field that support it, not only on float and function fields
bzr revid: chs@openerp.com-20140116154645-sy4zhdgqc48xaqbx
2014-01-16 16:46:45 +01:00
Christophe Simonis
2f90f80ba0
[FIX] orm: As float fields are stateful (the .digit attribute depend of the database (decimal_precision)), registry model instances need their owm copy.
...
lp bug: https://launchpad.net/bugs/929483 fixed
bzr revid: chs@openerp.com-20140116153708-061aq2k0n1qsb2n3
2014-01-16 16:37:08 +01:00
Olivier Dony
212b6bc480
[FIX] modules: set initial values for multi-process signaling to None to avoid missing events
...
For fresh databases, the signaling sequences in the
database stays at 1 until the installation of the
first module. If several workers are hit for this
database before the first module is installed,
this database registry will be loaded with a signaling
sequence of 1. Since was the default value, any
signal received by workers in this state was ignored
because they thought the registry was previously
not loaded.
Using None to indicate an sequence value
is more accurate and avoids this error
bzr revid: dle@openerp.com-20140116151157-3zlyrg48xqn2lkd0
2014-01-16 16:11:57 +01:00
Martin Trigaux
c02f16e443
[FIX] base_calendar: when searching on events, avoid getting an error if virtual_id=False and count=True
...
bzr revid: mat@openerp.com-20140116094758-y32i7bw4zpakk92z
2014-01-16 10:47:58 +01:00
Launchpad Translations on behalf of openerp
f39b8bb436
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140116060347-s1e2v9o33n1cxk2y
bzr revid: launchpad_translations_on_behalf_of_openerp-20140116060418-cw791djr2ebt2wuy
bzr revid: launchpad_translations_on_behalf_of_openerp-20140116060651-x8r0l0m27wcx0yav
2014-01-16 06:06:51 +00:00
Denis Ledoux
3a6b6dd6df
[FIX] hr_timesheet_sheet: save correctly if focus is in a timesheet input
...
on_change_unit_amount was called manually in the timesheet widget. Normally, save waits for all on_change to be applied, but in this case, as the on_change its called manually in the js, it was not the case.
The fix is to put all deferreds for which we must wait for in an array, and to wait all deferreds to be done before saving.
bzr revid: dle@openerp.com-20140115165114-nqa2ynszgocrnt52
2014-01-15 17:51:14 +01:00
Martin Trigaux
1066a1ca2c
[MERGE] [FIX] css: Fix the missing border-bottom of the notebook in dialogs
...
bzr revid: mat@openerp.com-20140115145049-bj80tsytb8fcrsiw
2014-01-15 15:50:49 +01:00
Martin Trigaux
83babf4f21
[IMP] sale,purchase order: order the field based on date_order instead of name (opw 602879)
...
This avoids getting irrelevent order based on sequences without padding (eg: SO10 between SO1 and SO2)
bzr revid: mat@openerp.com-20140115144030-04xlhaf3b4sviq92
2014-01-15 15:40:30 +01:00
Cecile Tonglet
f00e6711f5
[FIX] Fix the missing border-bottom of the notebook in dialogs
...
bzr revid: cto@openerp.com-20140115142608-rjemiq5lq8ju8zc0
2014-01-15 15:26:08 +01:00
Martin Trigaux
2aa8a38447
[IMP] sale,purchase order: order the field based on date_order instead of name
...
This avoids getting irrelevent order based on sequences without padding (eg: SO10 between SO1 and SO2)
bzr revid: mat@openerp.com-20140115140527-pztwh3kl6y9y7jbe
2014-01-15 15:05:27 +01:00
Olivier Dony
1c129e4ca0
[FIX] ir.translation: search view should use the stored `src` colum, the `source` function is meant for edition only
...
bzr revid: odo@openerp.com-20140115121021-978u00gkshuabvtf
2014-01-15 13:10:21 +01:00
Denis Ledoux
6109102e91
[FIX] web: view_form.js, allow press enter to break line in fieldtextwidget
...
bzr revid: dle@openerp.com-20140115120844-1z0pbh9pc63tllce
2014-01-15 13:08:44 +01:00
Thibault Delavallée
4d73f955a9
[FIX] mail: mail_thread: fixed a bug in subscription, new followers
...
could overwrite the subscription of previous followers.
This has already been fixed in saas-2 branch at revision 9079 (revid
tde@openerp.com-20140109131748-hgtflp40pmjhlhu2 ). But the fix is also
valid for the 7.0 stable branch.
bzr revid: tde@openerp.com-20140115115825-fniobvz33sssvrwd
2014-01-15 12:58:25 +01:00
Denis Ledoux
7826e495a1
[FIX] crm_partner_assign: next.js, if active_view is form, go to next, else reload the view
...
bzr revid: dle@openerp.com-20140115114428-bboczdthq9wbvrn6
2014-01-15 12:44:28 +01:00
Denis Ledoux
39a54d1096
[FIX]crm_partner_assign: message_post only accept one thread id
...
bzr revid: dle@openerp.com-20140115113525-01dzfhjfawvxwopb
2014-01-15 12:35:25 +01:00
Martin Trigaux
2170efe270
[MERGE] [FIX] reference field: correct editable tree view for refrence field (opw 601553)
...
bzr revid: mat@openerp.com-20140115110038-30hgekee12evx5fm
2014-01-15 12:00:38 +01:00
Denis Ledoux
1cfd7ec102
[FIX] google_drive: anyone with the link can now write
...
We used to give write access to the email address of the current user, but if the email is not a google account, there is no way for the current user to write on the data (except if the current email address is also the email which has done the oauth activation in the settings).
bzr revid: dle@openerp.com-20140115093528-ir39ppqrinjqyeta
2014-01-15 10:35:28 +01:00
Olivier Dony
b7fe8e1f8a
[FIX] portal: use email_split method to avoid blocking valid emails, rather than obsolete email_re
...
lp bug: https://launchpad.net/bugs/1199386 fixed
bzr revid: odo@openerp.com-20140115093120-r2u2bmms9y847b93
2014-01-15 10:31:20 +01:00
Martin Trigaux
3a95bbaf63
[FIX] base_calendar: when sorting on a many2one field (format (id, name)), sort on the name value instead of full tuple
...
bzr revid: mat@openerp.com-20140115085748-029ntjqc71huep25
2014-01-15 09:57:48 +01:00
Launchpad Translations on behalf of openerp
5334330d9d
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140115062126-ypg4xp33rspusnts
bzr revid: launchpad_translations_on_behalf_of_openerp-20140115062205-ov2axame3z00jkii
2014-01-15 06:22:05 +00:00
Denis Ledoux
ede8d04028
[FIX] account_anglo_saxon: tests, accounts on which reconciliations are done must have reconcile field set to True
...
bzr revid: dle@openerp.com-20140114201834-2ul27pur66701un4
2014-01-14 21:18:34 +01:00
Denis Ledoux
7084d9259f
[FIX] email_template: fix test email_template, list of emails space-separated is not correct, should be comma-separated
...
bzr revid: dle@openerp.com-20140114180652-xeoil4jgjh7k5i2e
2014-01-14 19:06:52 +01:00
Denis Ledoux
899166ecac
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9761 revid:dle@openerp.com-20140114164804-zhfy9lb308554kp1
...
bzr revid: dle@openerp.com-20140114173653-xhh85ubx27uu1306
2014-01-14 18:36:53 +01:00
Denis Ledoux
3fdd1e649f
[FIX] base: print workflow now displays the transition where the workflow instance is stuck
...
bzr revid: dle@openerp.com-20140114170529-wg1c3q8492whr19d
2014-01-14 18:05:29 +01:00
Denis Ledoux
8a729c10fa
[FIX] purchase: fix workflow for orders based on incoming shipments
...
Purchase orders Based on incoming shipments never ended in done stage
bzr revid: dle@openerp.com-20140114164804-zhfy9lb308554kp1
2014-01-14 17:48:04 +01:00
Olivier Dony
7a819ca8d0
[FIX] tools.email_split: improve email extraction using stdlib + extra tests
...
The original code was having issues telling apart
names containing emails from the actual email.
This patch is inspired by Etienne Hirt's patch
on bug 1165531 for OpenERP 6.1.
This will also help solve bug 1199386, if we can
centralize all email parsing through this helper.
lp bug: https://launchpad.net/bugs/1199386 fixed
lp bug: https://launchpad.net/bugs/1165531 fixed
bzr revid: odo@openerp.com-20140114154426-usu6intv5139egd3
2014-01-14 16:44:26 +01:00
Martin Trigaux
3f4c637674
[IMP] view_form: do not display hugly error message when name_get returns no value but more helpful message (eg: bad default value returns wrong id)
...
bzr revid: mat@openerp.com-20140114145720-r3lg0qjezqj4p3i1
2014-01-14 15:57:20 +01:00
Olivier Dony
a7cb9b762d
[FIX] email_template: fix invalid uses of tools.email_split
...
This is necessary to have the tests pass after
the corresponding server patch in server 7.0
at revision 5198 revision-id: odo@openerp.com-20140114120344-r58wndgybqusnnq7
lp bug: https://launchpad.net/bugs/1199386 fixed
lp bug: https://launchpad.net/bugs/1165531 fixed
bzr revid: odo@openerp.com-20140114134627-6j83f4s6pvnj4uma
2014-01-14 14:46:27 +01:00
Xavier ALT
7960f9fc59
[FIX] web: list view: fix wrong css for fields.reference in editable tree view
...
bzr revid: xal@openerp.com-20140114115947-gkh09tb2vxsjyksk
2014-01-14 12:59:47 +01:00
Xavier ALT
9a84e25342
[FIX] web: list view: keep original fields.reference value instact, store it's display in fake field_name+'__display' column, so that editing value in editable tree mode works
...
bzr revid: xal@openerp.com-20140114100439-hvdu9cxwyb3vvsum
2014-01-14 11:04:39 +01:00
Denis Ledoux
1478317986
[FIX] mass_mailing, marketing: menus displayed to employees only (no portal/anonymous). ACL change too.
...
bzr revid: dle@openerp.com-20140113151018-5xksff08s0vrjh8d
2014-01-13 16:10:18 +01:00
Denis Ledoux
9a93675d2d
[FIX] project: projects_ids default value must be an array or none, not a lonely integer
...
bzr revid: dle@openerp.com-20140113113015-fobrv940bjhw1g7z
2014-01-13 12:30:15 +01:00
Denis Ledoux
74e0fbae83
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9752 revid:dle@openerp.com-20140110173823-lfekux2jxrj5v9gn
...
bzr revid: dle@openerp.com-20140110160158-ypr2pp63ld6j5g4l
bzr revid: dle@openerp.com-20140110174038-3yogwf6hwk7kpa8w
2014-01-10 18:40:38 +01:00
Denis Ledoux
fba491fb21
[FIX] decimal_precision: signal workers to restart their registry when decimal precision change.
...
bzr revid: dle@openerp.com-20140110173823-lfekux2jxrj5v9gn
2014-01-10 18:38:23 +01:00
Christophe Simonis
a6b947d84b
[FIX] migration: correct the verification of module version against running server
...
bzr revid: chs@openerp.com-20140110162705-6vy67xbdje507bla
2014-01-10 17:27:05 +01:00
Olivier Dony
cc5d5bb2bf
[FIX] account: restore cross-account reconciliation check, disabled by mistake in v6.1
...
Both the FY closing change and the removal of the
check occurred in v6.1 at revision 6529
revid:qdp-launchpad@openerp.com-20120209170333-8xu7r21hencjwu73.
Also removed code specific to fiscal year closing
in the regular reconciliation operation, as the
FY closing is now using a dedication reconciliation
algorithm.
This is a forward-port of the corresponding patch in v6.1,
at revno 7295 rev-id: odo@openerp.com-20140110154023-12rqfeuwx5fqpdau .
bzr revid: odo@openerp.com-20140110161519-qsocx6xgqsmbe6dt
2014-01-10 17:15:19 +01:00
Launchpad Translations on behalf of openerp
2a5a05f49d
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140114064936-uengc20ppbqnn5ut
2014-01-14 06:49:36 +00:00
Martin Trigaux
cc553cc507
[FIX] format: trying to format an undefined value as the same effect as a value to false or infinity: return value_if_empty parameter
...
bzr revid: mat@openerp.com-20140113172347-00anf6lh2jxin84w
2014-01-13 18:23:47 +01:00
Denis Ledoux
fb7aefa5c3
[FIX] hr_timesheet_invoice: on_change_partner_id, do nothing if partner_id is False
...
bzr revid: dle@openerp.com-20140113165647-152dy1wqgc7m8cc8
2014-01-13 17:56:47 +01:00
Martin Trigaux
892f1d5fe5
[MERGE] [FIX] account: fixed amount in foreign currency for opening entries
...
When generating fiscal year opening entries, if the account uses a different currency, the amount_currency should contains only the entries of the current year and not the previous one. Courtesy of Matthieu Dietrich (camptocamp)
bzr revid: mat@openerp.com-20140113132209-jpva50a714xfxx30
2014-01-13 14:22:09 +01:00
Launchpad Translations on behalf of openerp
c2794d0e85
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140111062610-ld24q55cbxo6di5q
bzr revid: launchpad_translations_on_behalf_of_openerp-20140112054746-j34qg10ipyb6kj8g
bzr revid: launchpad_translations_on_behalf_of_openerp-20140113055853-5oqpffj3szw1yrpl
bzr revid: launchpad_translations_on_behalf_of_openerp-20140111062637-m0t50cu2cr5d6yw7
bzr revid: launchpad_translations_on_behalf_of_openerp-20140112054824-hm7ylgrauivbj7h2
bzr revid: launchpad_translations_on_behalf_of_openerp-20140113055913-wo2i3sd1rnblragc
2014-01-13 05:59:13 +00:00
Martin Trigaux
fd9d8b9ff3
[FIX] mrp: move _prepare_order_line_procurement to module sale_mrp as mrp module does not depends from sale
...
bzr revid: mat@openerp.com-20140110153133-qozwrixyrwxjr44n
2014-01-10 16:31:33 +01:00
Martin Trigaux
08e0003177
[FIX] account_voucher: in fields_view_get overwrite, also add the 'default_supplier/customer' properity in context.
...
With this the 'create and edit' menu will initiate the partner as a supplier.
bzr revid: mat@openerp.com-20140110134845-hvbob1mii4ofqjay
2014-01-10 14:48:45 +01:00
Martin Trigaux
b65cbbb0e5
[FIX] stock: when receiving an incoming shipment, the default quantity should be prefilled.
...
This fixes the issue when the picking was first confirmed and received later, stock.move have the state as confirmed (Waiting Availibility)
bzr revid: mat@openerp.com-20140110130056-gjmssgxrqgr5y67y
2014-01-10 14:00:56 +01:00
Christophe Simonis
7dd16a558e
[FIX] decimal_precision: signal workers to restart their registry when decimal precision change.
...
bzr revid: chs@openerp.com-20140110125433-soimmrpz2icvob60
2014-01-10 13:54:33 +01:00
Martin Trigaux
b7f393da31
[FIX] mail: do not check access rights for autosubscription after create.
...
This is required for models using message_follower_ids in their record rules (eg: note.note)
bzr revid: mat@openerp.com-20140110100133-wemcu6ou8avk6rpi
2014-01-10 11:01:33 +01:00
Launchpad Translations on behalf of openerp
3ed5b49e7a
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140110053216-23qk0vpm4hr5g1ig
2014-01-10 05:32:16 +00:00
Martin Trigaux
3fb75a44c8
[FIX] orm: add missing context (without the lang attribute to avoid setting translated values) in write call.
...
bzr revid: mat@openerp.com-20140109153601-13wo9gj5cz6ho3nm
2014-01-09 16:36:01 +01:00
Thibault Delavallée
01e88881e1
[FIX] mass_mailing: do not create a new mailing wave when already specified on the compose wizard
...
bzr revid: tde@openerp.com-20140109141856-xrublf8oi5mkutgu
2014-01-09 15:18:56 +01:00