Denis Ledoux [Tue, 11 Mar 2014 16:14:21 +0000 (17:14 +0100)]
[FIX] portal: expensive copy/paste typo
bzr revid: dle@openerp.com-
20140311161421-6u54mzzj7pefypg8
Olivier Dony [Tue, 11 Mar 2014 16:03:07 +0000 (17:03 +0100)]
[FIX] portal: expensive copy/paste typo
bzr revid: odo@openerp.com-
20140311160307-lth3kmu9z4h3l8c1
Martin Trigaux [Tue, 11 Mar 2014 15:22:15 +0000 (16:22 +0100)]
[FIX] crm: write a value to date_closed field as well if change directly the stage instead of using buttons (opw 603537)
bzr revid: mat@openerp.com-
20140311152215-eve2ycdu869dgpgx
Martin Trigaux [Tue, 11 Mar 2014 15:04:46 +0000 (16:04 +0100)]
[FIX] crm: write a value to date_closed field as well if change directly the stage instead of using buttons (which will probably be removed later)
bzr revid: mat@openerp.com-
20140311150446-0atbc6esymjyv69e
Martin Trigaux [Tue, 11 Mar 2014 12:24:24 +0000 (13:24 +0100)]
[MERGE] [FIX] [FIX] When adding a new contact or a new company based from the partner form, use the customer value as default value (was doign it only for the supplier flag)
backport of trunk revision 4882 (opw 587764)
bzr revid: mat@openerp.com-
20140311122424-bvqt0tt7c4s9p1fd
Martin Trigaux [Tue, 11 Mar 2014 11:23:41 +0000 (12:23 +0100)]
[FIX] partner: backport of trunk revision 4882
When adding a new contact or a new company based from the partner form, use the customer value as default value (was doign it only for the supplier flag)
bzr revid: mat@openerp.com-
20140311112341-9yoi1hf0ks98ju3r
Denis Ledoux [Tue, 11 Mar 2014 10:49:47 +0000 (11:49 +0100)]
[FIX] web: set z-index of 9999 for autocompletion pane of search bar, to avoid being behind jquery ui dialogs. Besides, this pane should always be on top, therefore we can assume that setting 9999 will not have bad side effects
bzr revid: dle@openerp.com-
20140311104947-is5qpw71y1m2oakf
Martin Trigaux [Tue, 11 Mar 2014 09:43:20 +0000 (10:43 +0100)]
[FIX] web: on SearchPopup creation concat build context even if we have initial_ids
On SearchPopupCreation, if we have initial_ids - 1st search_read() will be
missing custom context defined on the field.
1. defined view like this: <field name='my_many2one_field_id' context="{'test': 1}"/>
2. in we expand the list of available item, name_search() has 'test' in context
3. in we click on 'Search More', search_read() is missing 'test' in context
4. if we change filter add/remove item, search_read() will have 'test' in context
Step 3. is wrong, should also have 'test' in context
bzr revid: mat@openerp.com-
20140311094320-qjc9alfm3icynghv
Xavier ALT [Tue, 11 Mar 2014 09:15:22 +0000 (10:15 +0100)]
[FIX] web: on SearchPopup creation concat build context even if we have initial_ids
On SearchPopupCreation, if we have initial_ids - 1st search_read() will be
missing custom context defined on the field.
1. defined view like this: <field name='my_many2one_field_id' context="{'test': 1}"/>
2. in we expand the list of available item, name_search() has 'test' in context
3. in we click on 'Search More', search_read() is missing 'test' in context
4. if we change filter add/remove item, search_read() will have 'test' in context
Step 3. is wrong, should also have 'test' in context
lp bug: https://launchpad.net/bugs/1209295 fixed
bzr revid: mat@openerp.com-
20140311091522-03imwd5rj3rmwapl
Launchpad Translations on behalf of openerp [Tue, 11 Mar 2014 06:08:54 +0000 (06:08 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140307072259-nwltzdp1dky79a3h
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140308065331-um114asu0v6l8y5e
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140311060830-c174n48jvgwwgvlo
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140311060854-j335qf61ll6hvrma
Denis Ledoux [Mon, 10 Mar 2014 13:33:14 +0000 (14:33 +0100)]
[REVERT]9882 revid:jri@openerp.com-
20140307160945-r2t5pbl2bb7yaw9n
While it seems right to only show the partner addresses in invoice and shipping addresses, this fix will prevent to use sibling addresses (the address of another contact in the same company), which is a requirement for several users. Therefore, this fix causes more problems than it resolves.
Moreover, these addresses are displayed on the invoice form as following: Company Name / Partner Name / Address Name. Therefore, if you want to change the address while seeing only the partner addresses, you just have to remove the "Address Name", leaving "Company Name / Partner Name".
bzr revid: dle@openerp.com-
20140310133314-5mv4h2h5zmqlw4d2
Denis Ledoux [Mon, 10 Mar 2014 12:21:01 +0000 (13:21 +0100)]
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9885 revid:dle@openerp.com-
20140310114026-r0ijm0m36su19wn7
bzr revid: dle@openerp.com-
20140310122101-gicombyc5ii0yz6a
Denis Ledoux [Mon, 10 Mar 2014 11:40:26 +0000 (12:40 +0100)]
[FIX] event: event report registration, replace char by varchar in the view, so it can handle more events (basically, it wasnt working when there was more than 10 events)
Courtesy of Muschang Anthony (Acsone)
bzr revid: dle@openerp.com-
20140310114026-r0ijm0m36su19wn7
Denis Ledoux [Mon, 10 Mar 2014 11:35:57 +0000 (12:35 +0100)]
[FIX] event: event report registration, replace char by varchar in the view, so it can handle more events (basically, it wasnt working when there was more than 10 events)
bzr revid: dle@openerp.com-
20140310113557-rbohomzy8xrvwk05
Denis Ledoux [Mon, 10 Mar 2014 10:17:05 +0000 (11:17 +0100)]
[ADD] base_import: add the possibility to import one2many with database id, for users with technical features
bzr revid: dle@openerp.com-
20140310101705-2g3e6gp5jd2g8fpc
Launchpad Translations on behalf of openerp [Sun, 9 Mar 2014 06:03:14 +0000 (06:03 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140308065427-0he29w0cqe07xmc8
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140308065421-4udfyb7xcfq5h1zy
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140309060314-64jktl10pkq3inv4
Juan Rial [Fri, 7 Mar 2014 16:09:45 +0000 (17:09 +0100)]
[FIX] [MERGE] [SALE] Filter invoice and ship address on sales order to contacts of the selected customer (#592166)
bzr revid: jri@openerp.com-
20140307160945-r2t5pbl2bb7yaw9n
Martin Trigaux [Fri, 7 Mar 2014 16:05:45 +0000 (17:05 +0100)]
[MERGE] [FIX] mrp_repair: add missing invalidation functions for stored field amount_total, courtesy of Alexandre Fayolle (camptocamp)
bzr revid: mat@openerp.com-
20140307160545-c3l3itbzg1cf00s1
Martin Trigaux [Fri, 7 Mar 2014 15:36:10 +0000 (16:36 +0100)]
[MERGE] [FIX] base_calendar: when computing the reccurency of an event, skip if no recurrency period is set (opw 598737)
Fix the calendar view so that the recurrency period is editable when checking the 'recurrency' checkbox
bzr revid: mat@openerp.com-
20140307153610-seud49l3oh1nq836
Martin Trigaux [Fri, 7 Mar 2014 15:14:26 +0000 (16:14 +0100)]
[FIX] also track modifications on fee_lines field
bzr revid: mat@openerp.com-
20140307151426-x7b269mxjfmna1pb
Martin Trigaux [Fri, 7 Mar 2014 15:09:39 +0000 (16:09 +0100)]
[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
Juan Rial [Fri, 7 Mar 2014 14:52:06 +0000 (15:52 +0100)]
[MERGE] [FIX] Demo data had wrong end date for yearly membership (#602129)
bzr revid: jri@openerp.com-
20140307145206-b20cq8fjatce418p
Juan Rial [Fri, 7 Mar 2014 14:45:29 +0000 (15:45 +0100)]
[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
Martin Trigaux [Fri, 7 Mar 2014 14:27:36 +0000 (15:27 +0100)]
[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
Martin Trigaux [Fri, 7 Mar 2014 14:12:57 +0000 (15:12 +0100)]
[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
Juan Rial [Fri, 7 Mar 2014 13:29:29 +0000 (14:29 +0100)]
[MERGE] [FIX] division by zero in product margins with 0 sale price and 0 qty (#591893)
bzr revid: jri@openerp.com-
20140307132929-jz4ebc37u1huj4nl
Juan Rial [Fri, 7 Mar 2014 12:49:36 +0000 (13:49 +0100)]
[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
Martin Trigaux [Fri, 7 Mar 2014 11:18:35 +0000 (12:18 +0100)]
[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
Martin Trigaux [Fri, 7 Mar 2014 09:54:28 +0000 (10:54 +0100)]
[FIX] phonecall: in 'Logged Call' menu display (by default) only the one in done state (opw 601725)
bzr revid: mat@openerp.com-
20140307095428-buwc6m008mowaoy3
Martin Trigaux [Fri, 7 Mar 2014 09:27:48 +0000 (10:27 +0100)]
[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
Martin Trigaux [Fri, 7 Mar 2014 09:09:23 +0000 (10:09 +0100)]
[MERGE] [FIX] mail: make subject of invitation wizard translatable
bzr revid: mat@openerp.com-
20140307090923-28r81taey0sdtfy0
Launchpad Translations on behalf of openerp [Fri, 7 Mar 2014 07:24:33 +0000 (07:24 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140307072427-zkvqj45icrzupx0m
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140307072433-0lqpjt07j1s8k8cs
Olivier Dony [Thu, 6 Mar 2014 19:09:06 +0000 (20:09 +0100)]
[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
Olivier Dony [Thu, 6 Mar 2014 16:58:49 +0000 (17:58 +0100)]
[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
Martin Trigaux [Thu, 6 Mar 2014 16:30:41 +0000 (17:30 +0100)]
[FIX] use float rounding for pricelist instead of ceiling
bzr revid: mat@openerp.com-
20140306163041-amrrfmooxychr5ip
Martin Trigaux [Thu, 6 Mar 2014 16:29:53 +0000 (17:29 +0100)]
[FIX] use float rounding for pricelist instead of ceiling
bzr revid: mat@openerp.com-
20140306162953-iu7k53i5zsllokdp
Martin Trigaux [Thu, 6 Mar 2014 16:20:33 +0000 (17:20 +0100)]
[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
Martin Trigaux [Thu, 6 Mar 2014 15:31:25 +0000 (16:31 +0100)]
[IMP] remove useless imports
bzr revid: mat@openerp.com-
20140306153125-czwswqw1k3w5ungh
Martin Trigaux [Thu, 6 Mar 2014 15:19:32 +0000 (16:19 +0100)]
[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
Martin Trigaux [Thu, 6 Mar 2014 13:40:38 +0000 (14:40 +0100)]
[IMP] will add bootstrap style once needed
bzr revid: mat@openerp.com-
20140306134038-s70iyxdh4j5inh56
Martin Trigaux [Thu, 6 Mar 2014 13:34:56 +0000 (14:34 +0100)]
[IMP] product: add python tests
bzr revid: mat@openerp.com-
20140306133456-cnqjcwmo73ioqxxf
Martin Trigaux [Thu, 6 Mar 2014 12:44:42 +0000 (13:44 +0100)]
[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
Denis Ledoux [Thu, 6 Mar 2014 12:39:37 +0000 (13:39 +0100)]
[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
Martin Trigaux [Thu, 6 Mar 2014 12:27:43 +0000 (13:27 +0100)]
[IMP] select2: allow translation of information messages, avoid the need of locale files from select2
bzr revid: mat@openerp.com-
20140306122743-3ejmmnryx2sq8ud7
Martin Trigaux [Thu, 6 Mar 2014 12:24:32 +0000 (13:24 +0100)]
[IMP] base_import: update select2 lib to revision 3.4.5
bzr revid: mat@openerp.com-
20140306122432-7x5kkwy36zo7f6fy
Richard Mathot (OpenERP) [Thu, 6 Mar 2014 11:20:53 +0000 (12:20 +0100)]
[REF] Use assertEqual method instead of assert instruction
bzr revid: rim@openerp.com-
20140306112053-e0znv1g2378ghs46
Richard Mathot (OpenERP) [Thu, 6 Mar 2014 11:03:56 +0000 (12:03 +0100)]
[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
Martin Trigaux [Thu, 6 Mar 2014 09:45:04 +0000 (10:45 +0100)]
[IMP] mrp: use also the ceiling method from product
bzr revid: mat@openerp.com-
20140306094504-37r691hxcemp0ual
Launchpad Translations on behalf of openerp [Thu, 6 Mar 2014 06:15:19 +0000 (06:15 +0000)]
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
Olivier Dony [Wed, 5 Mar 2014 21:31:15 +0000 (22:31 +0100)]
[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
Martin Trigaux [Wed, 5 Mar 2014 17:14:56 +0000 (18:14 +0100)]
[FIX] product: when converting unit of mesures, round above instead of mathematical rounding
bzr revid: mat@openerp.com-
20140305171456-goo7on3ncfihu0wu
Martin Trigaux [Wed, 5 Mar 2014 15:18:15 +0000 (16:18 +0100)]
[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
Martin Trigaux [Wed, 5 Mar 2014 14:30:50 +0000 (15:30 +0100)]
[IMP] readability
bzr revid: mat@openerp.com-
20140305143050-zddqtyh7qg6lcx3q
Martin Trigaux [Wed, 5 Mar 2014 14:05:14 +0000 (15:05 +0100)]
[FIX] orm: create a foreign key for the function fields of type many2one and store value
bzr revid: mat@openerp.com-
20140305140514-2sksy3lwqm07wvjh
Martin Trigaux [Wed, 5 Mar 2014 10:08:43 +0000 (11:08 +0100)]
[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
Olivier Dony [Tue, 4 Mar 2014 18:27:24 +0000 (19:27 +0100)]
[FIX] product: avoid reading image_small field which is bandwidth intensive and un-necessary
bzr revid: odo@openerp.com-
20140304182724-kplzfik56ebp2boe
Martin Trigaux [Tue, 4 Mar 2014 16:10:56 +0000 (17:10 +0100)]
[FIX] hr_payroll_account: compare debit and credit values with float_compare, this avoids float rounding issues
bzr revid: mat@openerp.com-
20140304161056-45z9uuod134qd09t
Olivier Dony [Tue, 4 Mar 2014 15:29:27 +0000 (16:29 +0100)]
[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
Martin Trigaux [Tue, 4 Mar 2014 13:28:25 +0000 (14:28 +0100)]
[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
Martin Trigaux [Tue, 4 Mar 2014 12:55:28 +0000 (13:55 +0100)]
Update undescore.js to version 1.6 and underscore.string.js to version 2.3
bzr revid: mat@openerp.com-
20140304125528-97w5kbv3ry028kn9
Denis Ledoux [Tue, 4 Mar 2014 11:54:13 +0000 (12:54 +0100)]
[REVERT] partial revert dle@openerp.com-
20140304113407-b2kku1xolvkceqcg, distraction error, left pudb
bzr revid: dle@openerp.com-
20140304115413-tjwpni7ssqpl7yis
Thibault Delavallée [Tue, 4 Mar 2014 11:50:17 +0000 (12:50 +0100)]
[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
Denis Ledoux [Tue, 4 Mar 2014 11:34:07 +0000 (12:34 +0100)]
[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
Rifakat [Tue, 4 Mar 2014 11:31:17 +0000 (17:01 +0530)]
[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
Thibault Delavallée [Tue, 4 Mar 2014 11:14:52 +0000 (12:14 +0100)]
[FIX] res_users: fixed on_change_login that crashed
when changing the login by a void value.
bzr revid: tde@openerp.com-
20140304111452-np9537a3ja7vf1zi
Mohammed Shekha (OpenERP) [Tue, 4 Mar 2014 11:06:59 +0000 (16:36 +0530)]
[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
Denis Ledoux [Tue, 4 Mar 2014 10:46:03 +0000 (11:46 +0100)]
[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
Launchpad Translations on behalf of openerp [Tue, 4 Mar 2014 08:27:04 +0000 (08:27 +0000)]
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
Martin Trigaux [Mon, 3 Mar 2014 16:41:14 +0000 (17:41 +0100)]
[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
Olivier Dony [Fri, 28 Feb 2014 17:33:20 +0000 (18:33 +0100)]
[FIX] orm.read_group: fix various issues introduced in recent commit, cleanup
Fixed the implementation of the sorting for inherited
columns, many2one columns, and aggregated columns.
Added corresponding tests with increased coverage of
the read_group() method.
bzr revid: odo@openerp.com-
20140228173320-p8l0jc8op7xsgn1x
Launchpad Translations on behalf of openerp [Sat, 1 Mar 2014 05:51:21 +0000 (05:51 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140222073700-ln192h40jpgmjkzn
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140225062424-uzng6wm762r9e5y1
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140227063007-7dey6pyrhev19em4
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140301055121-idw71yvmfonj1mmz
Martin Trigaux [Wed, 26 Feb 2014 13:37:16 +0000 (14:37 +0100)]
[MERGE] [FIX] orm: when generating xml ids for export, use the model of the exported field instead of the current model. Courtesy of Stefan Rijnhart (Therp).
bzr revid: mat@openerp.com-
20140226133716-vgdjjmqc2lou0n3u
Launchpad Translations on behalf of openerp [Wed, 26 Feb 2014 07:30:44 +0000 (07:30 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140225062406-g9e0edcgz29z4det
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140226073044-dmjdmn4cvpbgh806
Denis Ledoux [Tue, 25 Feb 2014 17:50:02 +0000 (18:50 +0100)]
[FIX] crm: missing argument in on_change of merge lead/opp wizard
bzr revid: dle@openerp.com-
20140225175002-lz0zdwp3th30955q
Martin Trigaux [Mon, 24 Feb 2014 16:25:12 +0000 (17:25 +0100)]
[MERGE] [FIX] models: do not drop low level columns (aka 'magic columns') when deleting ir.model.fields
Without this fix, uninstalling modules using id, create_date,... in their field declaration while inheriting from existing module would drop these columns
bzr revid: mat@openerp.com-
20140224162512-i5ay1jv7k8lan2rv
Martin Trigaux [Mon, 24 Feb 2014 16:19:18 +0000 (17:19 +0100)]
[FIX] orm: do not drop low level columns (aka 'magic columns') when deleting ir.model.fields
lp bug: https://launchpad.net/bugs/1262150 fixed
bzr revid: mat@openerp.com-
20140224161918-9pe1x3jeno8t82p1
Launchpad Translations on behalf of openerp [Mon, 24 Feb 2014 06:03:08 +0000 (06:03 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140221063809-721gx6izacr4uc07
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140222073238-b28iwuxw1cp32fas
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140223074450-qijz5rsfsjahcgq0
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140224060308-psqz6bx89jpqt428
Martin Trigaux [Fri, 21 Feb 2014 16:57:06 +0000 (03:57 +1100)]
[FIX] home action: open the linked menu in addition to execute the action. The menu tree is now correctly displayed instead of only messaging.
bzr revid: mat@openerp.com-
20140221165706-79uqffr5nk4zbj5e
Denis Ledoux [Fri, 21 Feb 2014 16:16:33 +0000 (17:16 +0100)]
[FIX] crm_partner_assign: reset next_or_list as returned action by interested wizard
bzr revid: dle@openerp.com-
20140221161633-634gj6mlyyahg867
Denis Ledoux [Fri, 21 Feb 2014 16:10:01 +0000 (17:10 +0100)]
[FIX]crm_partner_assign: next_or_list client action more generic
bzr revid: dle@openerp.com-
20140221161001-5tlisrmfcvjp93g5
Denis Ledoux [Fri, 21 Feb 2014 11:58:55 +0000 (12:58 +0100)]
[FIX] web: preserve order of saved export fields list
bzr revid: dle@openerp.com-
20140221115855-ycny8ai1vyb23cdd
Denis Ledoux [Fri, 21 Feb 2014 10:49:08 +0000 (11:49 +0100)]
[FIX] ir_model: Uninstall with orphan external ids of ir.model.fields
On uninstalling, if external ids are associated to an unexisting field, we do not try to delete the field (as it doesnt exist) and we remove the orphan external ids
bzr revid: dle@openerp.com-
20140221104908-7ytdg6xkxaza05o4
Martin Trigaux [Thu, 20 Feb 2014 14:57:01 +0000 (15:57 +0100)]
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev.5240 revid:mat@openerp.com-
20140220145445-0xt7alp3uj0os1fz
bzr revid: mat@openerp.com-
20140220145701-6y7s1roj88q7ys13
Martin Trigaux [Thu, 20 Feb 2014 14:54:45 +0000 (15:54 +0100)]
[MERGE] [FIX] read_group: skip date(time) fields when generating the sql query, the monthly grouping is done afterward
lp bug: https://launchpad.net/bugs/1282485 fixed
bzr revid: mat@openerp.com-
20140220103351-n3ohwombd1kk802f
bzr revid: mat@openerp.com-
20140220145445-0xt7alp3uj0os1fz
Anael Closson [Thu, 20 Feb 2014 13:51:27 +0000 (14:51 +0100)]
[FIX] orm: grouping of date and datetime conflicts ordering on dates with date and datetime - hotfix
bzr revid: acl@openerp.com-
20140220135127-1hh7s6dx6p2wuhz9
Denis Ledoux [Thu, 20 Feb 2014 13:25:48 +0000 (14:25 +0100)]
[FIX] service: wrong namespace for using tools
bzr revid: dle@openerp.com-
20140220132548-fkw19c45mbnejgld
Anael Closson [Thu, 20 Feb 2014 09:59:11 +0000 (10:59 +0100)]
[FIX] incorrect handling of orderbys when generator for the groupby field generates more than one orderby clause item
bzr revid: acl@openerp.com-
20140220095911-zd5j1ssjw0cwzzz2
Denis Ledoux [Wed, 19 Feb 2014 17:07:46 +0000 (18:07 +0100)]
[FIX]sale: post message of mail_thread only accept 0, False, an ID or a list with one ID
bzr revid: dle@openerp.com-
20140219170746-3yjvjyc2wwrb7rvd
Martin Trigaux [Wed, 19 Feb 2014 13:49:43 +0000 (14:49 +0100)]
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5238 revid:launchpad_translations_on_behalf_of_openerp-
20140219053940-dvi4g7ajttoj6h9k
bzr revid: mat@openerp.com-
20140219134943-60ssztc01cxdtk09
alexandre.fayolle@camptocamp.com [Wed, 19 Feb 2014 08:51:41 +0000 (09:51 +0100)]
added unit test for lp:1281687
bzr revid: alexandre.fayolle@camptocamp.com-
20140219085141-s5wu6wqhzhbb53tk
alexis.delattre@akretion.com [Wed, 19 Feb 2014 08:10:01 +0000 (09:10 +0100)]
mrp_repair: missing invalidation on fees
lp bug: https://launchpad.net/bugs/1281687 fixed
bzr revid: alexandre.fayolle@camptocamp.com-
20140219081001-scgz10wdr9qp0rwp
Launchpad Translations on behalf of openerp [Wed, 19 Feb 2014 05:39:40 +0000 (05:39 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140219053940-dvi4g7ajttoj6h9k
Martin Trigaux [Tue, 18 Feb 2014 14:31:11 +0000 (15:31 +0100)]
[MERGE] [FIX] view_list: avoids getParent() js error when clicking to fast on menu items that load a list view after loading a form view
bzr revid: mat@openerp.com-
20140218143111-yot645o83gxvkujb
Denis Ledoux [Tue, 18 Feb 2014 13:01:09 +0000 (14:01 +0100)]
[FIX] im: security rule preventing to write on sessions
bzr revid: dle@openerp.com-
20140218130109-j69jst2fz2kvni26
Martin Trigaux [Tue, 18 Feb 2014 10:14:38 +0000 (11:14 +0100)]
[IMP] data: skip read_ids call when got no id (opw 604099).
This avoids making useless calls to to read the values of o2m fields when the read on a record already told us there was no ids.
bzr revid: mat@openerp.com-
20140218101438-yqim33cvtg6wt4mw
Martin Trigaux [Tue, 18 Feb 2014 10:09:29 +0000 (11:09 +0100)]
[MERGE] [FIX] orm: read_group doesn't take referenced fields or aggregated fields in account when sorting (opw 598942)
Sorting was done using a search on ids that where found in a custom SQL field,
only 1 record among aggregated records with same groupby value was used
when using search for ordering, resulting data ordered on
max(aggregated_data).field_value instead of sum(aggregated_data.field_value).
bzr revid: mat@openerp.com-
20140218100929-qeg0rz1fmta2ni9y
Anael Closson [Tue, 18 Feb 2014 08:30:45 +0000 (09:30 +0100)]
[REF] removing useless comment
bzr revid: acl@openerp.com-
20140218083045-aimu376msu052k5d
Anael Closson [Mon, 17 Feb 2014 17:29:26 +0000 (18:29 +0100)]
[FIX] OPW 598942 : orm read_group doesn't take referenced fields or aggregated fields in account when sorting
Sorting was done using a search on ids that where found in a custom SQL field,
only 1 record among aggregated records with same groupby value was used
when using search for ordering, resulting data ordered on
max(aggregated_data).field_value instead of sum(aggregated_data.field_value).
lp bug: https://launchpad.net/bugs/1060086 fixed
bzr revid: acl@openerp.com-
20140217172926-ka2fw8t2l3cqi7h3
Anael Closson [Mon, 17 Feb 2014 14:07:05 +0000 (15:07 +0100)]
[REF] removing debug code
bzr revid: acl@openerp.com-
20140217140705-b2erer6w4mxba3l7
Anael Closson [Mon, 17 Feb 2014 14:01:44 +0000 (15:01 +0100)]
[IMP] Speed and quality improvement
- removing the need of the use of search when groupby is set on a relation
field.
- creation and use of dedicated helper method to compute the orderby clause
for easier reading
bzr revid: acl@openerp.com-
20140217140144-2rm3o00g76tyhqxn