Commit Graph

81609 Commits

Author SHA1 Message Date
Denis Ledoux 1a5d2e77c4 [FIX] account: using float_round instead of native python round method, to apply half-up tie-breaking rule (1.655 with precision 2 is now 1.66 instead of 1.65).
bzr revid: dle@openerp.com-20140312120904-ucixsl1szfi1q0ea
2014-03-12 13:09:04 +01:00
Denis Ledoux e9228e2c5a [FIX] account_check_writing: set the amount_in_word even if the check is not created through the voucher form (for example, for checks created through pay wizard of invoices)
bzr revid: dle@openerp.com-20140312110303-x82juu3i2nox3u3j
2014-03-12 12:03:03 +01:00
Martin Trigaux 0be0cae297 [MERGE] [FIX] auditrail: when removing tracked object in a write call (eg: remove a line in o2m field) use the old name value, if present, as the name_get would fail for deleted value (opw 593569)
bzr revid: mat@openerp.com-20140312093010-k9djbp82hqpoj8j7
2014-03-12 10:30:10 +01:00
Somesh Khare (OpenERP) 6c96d110ab [FIX]audittrail:on deletion of record from one2many and saving the parent form error raised as list index out of range (Ref: Case 604750)
bzr revid: skh@openerp.com-20140312054535-kjlqltscnojb7lce
2014-03-12 11:15:35 +05:30
Launchpad Translations on behalf of openerp 160229d58e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140312052604-hgt48h8szpiw9szj
2014-03-12 05:26:04 +00:00
Denis Ledoux b756b693e2 [FIX] portal: expensive copy/paste typo
bzr revid: dle@openerp.com-20140311161421-6u54mzzj7pefypg8
2014-03-11 17:14:21 +01:00
Olivier Dony 65d0a0733d [FIX] portal: expensive copy/paste typo
bzr revid: odo@openerp.com-20140311160307-lth3kmu9z4h3l8c1
2014-03-11 17:03:07 +01:00
Martin Trigaux 5d19c0c1cb [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
2014-03-11 16:22:15 +01:00
Martin Trigaux 5041f63b35 [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
2014-03-11 16:04:46 +01:00
Martin Trigaux bdce838b7d [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
2014-03-11 13:24:24 +01:00
Martin Trigaux 8a3523cd97 [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
2014-03-11 12:23:41 +01:00
Denis Ledoux 6e9f3ad806 [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
2014-03-11 11:49:47 +01:00
Martin Trigaux 1f50cab142 [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
2014-03-11 10:43:20 +01:00
Xavier ALT c033e5a535 [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
2014-03-11 10:15:22 +01:00
Launchpad Translations on behalf of openerp a4c27d560d 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
2014-03-11 06:08:54 +00:00
Denis Ledoux 4235dc8e88 [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
2014-03-10 14:33:14 +01:00
Denis Ledoux c2ba11e72e [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
2014-03-10 13:21:01 +01:00
Denis Ledoux 42525b7805 [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
2014-03-10 12:40:26 +01:00
Denis Ledoux 4387a63c9b [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
2014-03-10 12:35:57 +01:00
Kersten Jeremy ac8048939d [IMP] Add condition in calendar_event to avoid to send email to oneself
bzr revid: jke@openerp.com-20140310112851-d59a9diz80dgb0ke
2014-03-10 12:28:51 +01:00
Denis Ledoux cd8b44a492 [MERGE] Forward-port of latest saas-2 bugfixes, up to rev. 9142 revid:dle@openerp.com-20140310101705-2g3e6gp5jd2g8fpc
bzr revid: dle@openerp.com-20140310110340-nueeuldz8w44os3u
2014-03-10 12:03:40 +01:00
Olivier Dony 9a3261da85 [IMP] email_template: allow extra builtins in rendering sandbox
bzr revid: odo@openerp.com-20140310102410-m66aa8164tekr51t
2014-03-10 11:24:10 +01:00
Denis Ledoux f54fc4f9dc [ADD] base_import: add the possibility to import one2many with database id, for users with technical features
bzr revid: dle@openerp.com-20140310101705-2g3e6gp5jd2g8fpc
2014-03-10 11:17:05 +01:00
Launchpad Translations on behalf of openerp f166daf065 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
2014-03-09 06:03:14 +00:00
chm@openerp.com e40d6d8e9e [FIX] website_sale: grid must display last empty cell and not chacked empty cell
bzr revid: chm@openerp.com-20140307174929-of9b8gjt3j7livls
2014-03-07 18:49:29 +01:00
Kersten Jeremy 47d7045f76 [FIX] Move bootstrap.css outside from the single css file generate.
Without that, OpenERP become unusable in IE due to the follows limitations:
   - All style tags after the first 31 style tags are not applied.
   - All style rules after the first 4,095 rules are not applied.
   - On pages that uses the @import rule to continously import external style sheets that import other style sheets, style sheets that are more than three levels deep are ignored.
  (http://support.microsoft.com/kb/262161/en)

bzr revid: jke@openerp.com-20140307174411-hejt3x324nlv6tjr
2014-03-07 18:44:11 +01:00
chm@openerp.com 2b7298fbf6 [FIX] website_sale: grid must display last empty cell and not chacked empty cell
bzr revid: chm@openerp.com-20140307165239-qzawwm7vrob9fnxd
2014-03-07 17:52:39 +01:00
chm@openerp.com d037df50e5 [FIX] website_sale: grid view don't display empty cells
bzr revid: chm@openerp.com-20140307161922-ph7vq7zfw5qvisi4
2014-03-07 17:19:22 +01:00
Juan Rial f631757f37 [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
2014-03-07 17:09:45 +01:00
Martin Trigaux 2b307cdeac [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
2014-03-07 17:05:45 +01:00
chm@openerp.com 3195913272 [FIX] website_sale: grid view don't display empty cells
bzr revid: chm@openerp.com-20140307153718-2nlw8mtntfkm7ehu
2014-03-07 16:37:18 +01:00
Martin Trigaux 7d100fd799 [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
2014-03-07 16:36:10 +01:00
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
chm@openerp.com 69237e1c8e [FIX] website_sale: test tour: button in checkout must contains 'Confirm' because for running with public user
bzr revid: chm@openerp.com-20140307142825-lrhnzl32u4ex7l0s
2014-03-07 15:28:25 +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
chm@openerp.com dfc428a6a1 [FIX] website_sale: Remove the oe_shadow from product Description; fix description editing; fix resize shopping cart.
bzr revid: chm@openerp.com-20140307134551-kxxp703sgep5eacv
2014-03-07 14:45:51 +01:00
chm@openerp.com 592890e24b [FIX] website_event_sale: tour button to .btn selector
bzr revid: chm@openerp.com-20140307133758-6g6cve5rkr09xsrm
2014-03-07 14:37:58 +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
chm@openerp.com 0560bd631a [TYPO] website: snippet Style Readability rename into Narrow
bzr revid: chm@openerp.com-20140307132247-k442d541jqti8yqv
2014-03-07 14:22:47 +01:00
chm@openerp.com e5f1cb5a4e [FIX] website: allow fixed size of a slider with 3 slides of distinct size => add resize option on slider
bzr revid: chm@openerp.com-20140307132213-tg3jl2mybbpd0kg3
2014-03-07 14:22:13 +01:00
Kersten Jeremy 9f23642476 [FIX] Change 'Administration' to 'My Account' to switch between website and portal - backend and frontend
bzr revid: jke@openerp.com-20140307131017-nhqlnhnsgeprtblc
2014-03-07 14:10:17 +01:00
chm@openerp.com c0d20af756 [FIX] Fix bug where button with contenteditable does not work in cross browser. Fix : replace tag 'button' by 'a' with class 'a-submit'; forgotten part
bzr revid: chm@openerp.com-20140307125141-gfvnwq0rnjyqbbvp
2014-03-07 13:51:41 +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
chm@openerp.com ce2b3215ab [FIX] website_event: tour does not run at installation
bzr revid: chm@openerp.com-20140307122951-al082ryupj64xk35
2014-03-07 13:29:51 +01:00
Kersten Jeremy 449dd4638d [FIX] Replace srcElement into target in JS from calendar, because Firefox does not support srcElement
bzr revid: jke@openerp.com-20140307122617-26756dgeeuqs168i
2014-03-07 13:26:17 +01:00
chm@openerp.com f3f170ec6d [FIX] Fix bug where button with contenteditable does not work in cross browser. Fix : replace tag 'button' by 'a' with class 'a-submit'
bzr revid: chm@openerp.com-20140307122223-5ka2xiiibqmzqshv
2014-03-07 13:22:23 +01:00