Commit Graph

80500 Commits

Author SHA1 Message Date
Martin Trigaux a5bca93a13 [FIX] also track modifications on fee_lines field
bzr revid: mat@openerp.com-20140307151426-x7b269mxjfmna1pb
2014-03-07 16:14:26 +01:00
Martin Trigaux 43217b22b3 [MERGE] [FIX] mrp_repair: add missing invalidation functions for stored field amount_total, courtesy of Alexandre Fayolle (camptocamp)
bzr revid: mat@openerp.com-20140307150939-yp54rpqw67hvdpe8
2014-03-07 16:09:39 +01:00
Juan Rial 3754eedf84 [MERGE] [FIX] Demo data had wrong end date for yearly membership (#602129)
bzr revid: jri@openerp.com-20140307145206-b20cq8fjatce418p
2014-03-07 15:52:06 +01:00
Juan Rial af6eba1414 [MERGE] [FIX] Skip Draft on Journals didn't take effect (#603952)
Fix: call the validate method to advance the entries to posted state

bzr revid: jri@openerp.com-20140307144529-vylypabs9io0rio0
2014-03-07 15:45:29 +01:00
Martin Trigaux 5884bbd88f [MERGE] [FIX] write a value to date_closed when mark an opportunity as won or lost.
This is required to compute correct value for the day_close function field

bzr revid: mat@openerp.com-20140307142736-ij9n8x5plgehm063
2014-03-07 15:27:36 +01:00
Martin Trigaux 618c8b9100 [FIX] quick create: do not add the id in the form if the form is readonly (eg: clicking on save button will make the form uneditable)
bzr revid: mat@openerp.com-20140307141257-rvusvzm6oq3tel51
2014-03-07 15:12:57 +01:00
Juan Rial cb3791d83d [MERGE] [FIX] division by zero in product margins with 0 sale price and 0 qty (#591893)
bzr revid: jri@openerp.com-20140307132929-jz4ebc37u1huj4nl
2014-03-07 14:29:29 +01:00
Juan Rial c8aaa070bb [MERGE] [FIX] errors on translations generated from localisation template in multilang (opw-589913)
Don't sort the tax template id's or the wrong translation gets loaded

bzr revid: jri@openerp.com-20140307124936-stott6yx0krtw5g6
2014-03-07 13:49:36 +01:00
Martin Trigaux 8db1b77757 [FIX] crm: write a value to date_closed when mark an opportunity as won or lost.
This value is required to compute 'Days to Close' field

bzr revid: mat@openerp.com-20140307111835-o7nd7dmkn5y8zg2a
2014-03-07 12:18:35 +01:00
Martin Trigaux c375851b46 [FIX] phonecall: in 'Logged Call' menu display (by default) only the one in done state (opw 601725)
bzr revid: mat@openerp.com-20140307095428-buwc6m008mowaoy3
2014-03-07 10:54:28 +01:00
Martin Trigaux 5d05ccc043 [MERGE] [IMP] account: don't display misleading percent symbol while expecting fraction (as suggest the tooltip) (opw #602613)
bzr revid: mat@openerp.com-20140307092748-qsnqo0y04bocw6om
2014-03-07 10:27:48 +01:00
Martin Trigaux 5fd51cd41b [MERGE] [FIX] mail: make subject of invitation wizard translatable
bzr revid: mat@openerp.com-20140307090923-28r81taey0sdtfy0
2014-03-07 10:09:23 +01:00
Launchpad Translations on behalf of openerp fd98bf36aa Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140307072427-zkvqj45icrzupx0m
bzr revid: launchpad_translations_on_behalf_of_openerp-20140307072433-0lqpjt07j1s8k8cs
2014-03-07 07:24:33 +00:00
Olivier Dony c43c308c33 [FIX] product: typo in previous commit
"The only man who makes no mistakes is the man who never does anything. ~T.R." ;-)

bzr revid: odo@openerp.com-20140306190906-k8wjr9urekpoy7ch
2014-03-06 20:09:06 +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
Martin Trigaux f7cd704746 [FIX] use float rounding for pricelist instead of ceiling
bzr revid: mat@openerp.com-20140306163041-amrrfmooxychr5ip
2014-03-06 17:30:41 +01:00
Martin Trigaux dc46ffd589 [FIX] use float rounding for pricelist instead of ceiling
bzr revid: mat@openerp.com-20140306162953-iu7k53i5zsllokdp
2014-03-06 17:29:53 +01:00
Martin Trigaux b7faad5966 [FIX] product: when converting unit of mesures, use ceiling instead of rounding method
This avoids flows to be stucked when a convertion would move/reserve/buy less pieces than the number required (eg: MTO product where supplier has a UoM bigger than the one on the sale order)

lp bug: https://launchpad.net/bugs/1280463 fixed

bzr revid: mat@openerp.com-20140306162033-yqoc22lo37x06cfh
2014-03-06 17:20:33 +01:00
Martin Trigaux 1e048736df [IMP] remove useless imports
bzr revid: mat@openerp.com-20140306153125-czwswqw1k3w5ungh
2014-03-06 16:31:25 +01:00
Martin Trigaux 005b593fef [FIX] base_import: update the select2 library up to version 3.4.5
This fixes rendering issue in firefox (mouseover bar chart in dashbord view)
Replace the new localisation of select2 by our translation system

lp bug: https://launchpad.net/bugs/1195904 fixed

bzr revid: mat@openerp.com-20140306151932-yq4ezxxmbsnxlpqn
2014-03-06 16:19:32 +01:00
Martin Trigaux ff33921b92 [IMP] will add bootstrap style once needed
bzr revid: mat@openerp.com-20140306134038-s70iyxdh4j5inh56
2014-03-06 14:40:38 +01:00
Martin Trigaux 378dbbfaae [IMP] product: add python tests
bzr revid: mat@openerp.com-20140306133456-cnqjcwmo73ioqxxf
2014-03-06 14:34:56 +01:00
Martin Trigaux 7ff08d5dac [MERGE] [FIX] test ir.sequence: when testing the lock mechanism, verify the error based on an error code instead of the error message which is sensible to the locale of the system
bzr revid: mat@openerp.com-20140306124442-pjfpx32rpwqlag80
2014-03-06 13:44:42 +01:00
Denis Ledoux cfe28b8b2f [FIX] account_followup: surround pre tags with para tags to avoid text being partially hidden in the followup report if the text is too long
bzr revid: dle@openerp.com-20140306123937-sn61atwvbcjwbyup
2014-03-06 13:39:37 +01:00
Martin Trigaux 21aca926bc [IMP] select2: allow translation of information messages, avoid the need of locale files from select2
bzr revid: mat@openerp.com-20140306122743-3ejmmnryx2sq8ud7
2014-03-06 13:27:43 +01:00
Martin Trigaux f80d242791 [IMP] base_import: update select2 lib to revision 3.4.5
bzr revid: mat@openerp.com-20140306122432-7x5kkwy36zo7f6fy
2014-03-06 13:24:32 +01:00
Richard Mathot (OpenERP) 6f99891b82 [REF] Use assertEqual method instead of assert instruction
bzr revid: rim@openerp.com-20140306112053-e0znv1g2378ghs46
2014-03-06 12:20:53 +01:00
Richard Mathot (OpenERP) 3c65ffc29f [FIX] Test for ir_sequence:
This test was depending on the error string returned by postgresql.
As these strings are localized, the test was failing on systems 
where posgresql locale was not set to 'en_US'.

In this new version, we now check the error code returned by postgresql 
(which is, obviously, platform independent)

bzr revid: rim@openerp.com-20140306110356-72mgz3korkq3rkde
2014-03-06 12:03:56 +01:00
Martin Trigaux 5db649549c [IMP] mrp: use also the ceiling method from product
bzr revid: mat@openerp.com-20140306094504-37r691hxcemp0ual
2014-03-06 10:45:04 +01:00
Launchpad Translations on behalf of openerp e231045095 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140306061409-nvr56r44q6smklxz
bzr revid: launchpad_translations_on_behalf_of_openerp-20140305055718-w3c9kzsncncpu12w
bzr revid: launchpad_translations_on_behalf_of_openerp-20140306061519-n2qbjt3fe7l104aw
2014-03-06 06:15:19 +00:00
Olivier Dony 07fbbe288c [MERGE] Forward-port of 7.0 bugfixes, up to rev. 5251 revision-id: odo@openerp.com-20140304152927-havybom9x1jgdzae
bzr revid: odo@openerp.com-20140305213115-w55dqs3xra6ejmni
2014-03-05 22:31:15 +01:00
Martin Trigaux 1967b6ce19 [FIX] product: when converting unit of mesures, round above instead of mathematical rounding
bzr revid: mat@openerp.com-20140305171456-goo7on3ncfihu0wu
2014-03-05 18:14:56 +01:00
Martin Trigaux 6f8825d67a [MERGE] [FIX] orm: create a foreign key for the function fields of type many2one and store value (opw #604792)
bzr revid: mat@openerp.com-20140305151815-ns7nhmejxqb5o4ut
2014-03-05 16:18:15 +01:00
Martin Trigaux 63763dcc55 [IMP] readability
bzr revid: mat@openerp.com-20140305143050-zddqtyh7qg6lcx3q
2014-03-05 15:30:50 +01:00
Martin Trigaux 016a1ed37b [FIX] orm: create a foreign key for the function fields of type many2one and store value
bzr revid: mat@openerp.com-20140305140514-2sksy3lwqm07wvjh
2014-03-05 15:05:14 +01:00
Martin Trigaux 22f86f097a [MERGE] [FIX] export wizard: better behaviour when saving new fields list
- Show the fields list once we save the first one
- When delete a list, remove the selected fields
- When add a list, do not remove the selected fields

bzr revid: mat@openerp.com-20140305100843-ircqtucf1pkn3wzd
2014-03-05 11:08:43 +01:00
Olivier Dony a6e9d3edcc [FIX] product: avoid reading image_small field which is bandwidth intensive and un-necessary
bzr revid: odo@openerp.com-20140304182724-kplzfik56ebp2boe
2014-03-04 19:27:24 +01:00
Martin Trigaux b5f33e7910 [FIX] hr_payroll_account: compare debit and credit values with float_compare, this avoids float rounding issues
bzr revid: mat@openerp.com-20140304161056-45z9uuod134qd09t
2014-03-04 17:10:56 +01:00
Olivier Dony b79a33aefc [FIX] orm.read_group: improve test coverage and corner case handling:
- allow leading spaces in orderby spec for m2o columns
- extra test for read_group on multiple columns
- proper handling of groupby on numeric column with default order

bzr revid: odo@openerp.com-20140304152927-havybom9x1jgdzae
2014-03-04 16:29:27 +01:00
Martin Trigaux 3ad670c91d [IMP] Upgrade underscore.js from version 1.3.1 to 1.6.0 and underscore.string.js from version 1.2.0 to 2.3.0
bzr revid: mat@openerp.com-20140304132825-lbzcwihkb1fkembz
2014-03-04 14:28:25 +01:00
Martin Trigaux 7bb95a4468 Update undescore.js to version 1.6 and underscore.string.js to version 2.3
bzr revid: mat@openerp.com-20140304125528-97w5kbv3ry028kn9
2014-03-04 13:55:28 +01:00
Denis Ledoux 179de3702c [REVERT] partial revert dle@openerp.com-20140304113407-b2kku1xolvkceqcg, distraction error, left pudb
bzr revid: dle@openerp.com-20140304115413-tjwpni7ssqpl7yis
2014-03-04 12:54:13 +01:00
Thibault Delavallée db93656f10 [FIX] res_users: change password wizard: fixed crash when submitting the form.
Indeed unlinking wizard content before actually closing it seems to
cause a crash. Instead of unlinking lines with user - password data
we now write a void value on the new password. The stored content
does not contain valuable data after submitting the form.

bzr revid: tde@openerp.com-20140304115017-posdyri9y1cra4jo
2014-03-04 12:50:17 +01:00
Denis Ledoux 5db57a21a2 [FIX]stock: in fill inventory wizard, set raise-exception to False in context to avoid having error saying that the product uom category is different: this button is just a tool to help filling the inventory. Anyway, If it should pop the error, it should be on the validation, not in the button to auto-fill the inventory.
bzr revid: dle@openerp.com-20140304113407-b2kku1xolvkceqcg
2014-03-04 12:34:07 +01:00
Rifakat 5d2e59e5e4 [FIX] hr_payroll_account: used float_compare() instead of direct comparing between two floats to avoid python rounding
bzr revid: rha@tinyerp.com-20140304113117-smy5gb9e92lcuji8
2014-03-04 17:01:17 +05:30
Thibault Delavallée d6aeff2989 [FIX] res_users: fixed on_change_login that crashed
when changing the login by a void value.

bzr revid: tde@openerp.com-20140304111452-np9537a3ja7vf1zi
2014-03-04 12:14:52 +01:00
Mohammed Shekha (OpenERP) f29f1e6f04 [FIX]Fixed the issue of o2m sorting by column, m2o field does not give proper result for sorting because whole value of m2o [id, value] going to compare for sorting.
bzr revid: msh@openerp.com-20140304110659-4uu38feetsjj0tt5
2014-03-04 16:36:59 +05:30
Denis Ledoux 257df67d32 [FIX]stock: in fill inventory wizard, set raise-exception to False in context to avoid having error saying that the product uom category is different: this button is just a tool to help filling the inventory. Anyway, If it should pop the error, it should be on the validation, not in the button to auto-fill the inventory.
bzr revid: dle@openerp.com-20140304104603-5y9rz8onsxdr43dp
2014-03-04 11:46:03 +01:00
Launchpad Translations on behalf of openerp b201dc79b7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140218054104-8egkh4jj7hiiwuih
bzr revid: launchpad_translations_on_behalf_of_openerp-20140219054048-688twg0fubtm2x2q
bzr revid: launchpad_translations_on_behalf_of_openerp-20140220054214-237ri67t9rw3l4fu
bzr revid: launchpad_translations_on_behalf_of_openerp-20140221063855-wniw42r27gyg3h6y
bzr revid: launchpad_translations_on_behalf_of_openerp-20140222073328-xpn7nwqz407yzumq
bzr revid: launchpad_translations_on_behalf_of_openerp-20140223074516-0r09cpmma58ylqji
bzr revid: launchpad_translations_on_behalf_of_openerp-20140224060319-535oheaq2w9u2ye3
bzr revid: launchpad_translations_on_behalf_of_openerp-20140225062420-zl7curej0e0warhz
bzr revid: launchpad_translations_on_behalf_of_openerp-20140226073146-3vzhw4hddr81olbs
bzr revid: launchpad_translations_on_behalf_of_openerp-20140227062959-24e2rn98rqb9afpr
bzr revid: launchpad_translations_on_behalf_of_openerp-20140228072152-f9gm4ud1wu19ge27
bzr revid: launchpad_translations_on_behalf_of_openerp-20140301055205-r0df0fqz9yf5z66i
bzr revid: launchpad_translations_on_behalf_of_openerp-20140302052638-bjf11oumy7w15oco
bzr revid: launchpad_translations_on_behalf_of_openerp-20140304082704-k1z2te1tfud43zy3
2014-03-04 08:27:04 +00:00
Martin Trigaux a1a5bc6c06 [MERGE] [FIX] view list: pagination problem when delete records in list view
When delete a record, correctly display the number of remaining items displayed (eg: 1-79 of 99)
When no more items in a page, force switch to previous page
When no more pager, reload the content to display potential items in next page

bzr revid: mat@openerp.com-20140303164114-pzeuu9hxvq17lx02
2014-03-03 17:41:14 +01:00