Skip to content
Snippets Groups Projects
  1. Feb 16, 2016
    • Damien Bouvy's avatar
      [FIX] payment_ogone: s2s response should generate payment method · a5e8f227
      Damien Bouvy authored
      Ogone responses comes from direct s2s calls or form feedback;
      not necessarily in that order. The behaviour of the system should
      be the same in both cases. This commit add payment_methode creation
      when a s2s response contains the necessary information, juste like
      the form feedback methods.
      
      Ideally these methods should be merged to share the same code,
      this will be done in master (v10).
      a5e8f227
    • Damien Bouvy's avatar
      [FIX] website_quote: sales order do not use workflow any longer · 36e681cb
      Damien Bouvy authored
      + old message_post call with wrong kwargs.
      36e681cb
    • Aaron Bohy's avatar
      [FIX] mail: allow to extend make_message() and make_channel() · b87b6cc6
      Aaron Bohy authored
      to load and display more fields of the corresponding model.
      b87b6cc6
    • Goffin Simon's avatar
      [FIX] product_visible_discount: lst_price · 851992cd
      Goffin Simon authored
      In a SO line, the price unit is taken from function "_product_price"
      set on the product(model: "product.product"), this is why the variable
      new_list_price has to be taken on the product too. In this way, the right
      discount can be computed. Before the fix, new_list_price was equal to
      the price set on the product template(list_price) then if the product template had
      several variants with several sale price, the discount was wrongly computed.
      
      opw:668636
      851992cd
  2. Feb 15, 2016
  3. Feb 14, 2016
  4. Feb 12, 2016
    • Goffin Simon's avatar
      [FIX] sale: Ordered Qty=0 in a SO line · 1f081bed
      Goffin Simon authored
      A SO line with an ordered qty less or equal to the sum of all the quantity
      linked to its procurement must be ignored. In this way, when a SO line has
      an Ordered Qty equal to 0 in a SO, all the other lines can be processed like
      in 8.0
      
      opw:669200
      1f081bed
    • Denis Ledoux's avatar
      [FIX] event_sale: event tickets domain in sale order line · 4c7e33fd
      Denis Ledoux authored
      From saas-6, setting `0` as maximum available seats
      means there is an unlimited amount of tickts that
      can be sold, as stated in the help message of the field:
      ```
      Define the number of available tickets. If you have too much registrations you will
      not BE able to sell tickets anymore. Set 0 to ignore this rule set as unlimited.
      ```
      
      This domain is the same domain used than in
      the QWeb views of `website_event_sale`.
      
      opw-669355
      4c7e33fd
    • Denis Ledoux's avatar
      [FIX] mail: specific message subscribe · 26d6e838
      Denis Ledoux authored
      `write` expects a `dict` for the `values` argument,
      `part[record.id]` is a list of commands to add new
      followers.
      
      See the returned variable `specific` of the method
      `_add_follower_command` in `mail_followers.py`.
      
      Surrounding `part[record.id]` with a `dict` with
      `message_follower_ids` has probably been
      forgotten by oversight.
      
      `gen` and `part[record.id]` have actualy the same
      syntax, and the `write` done with these variables
      should therefore be called the same way.
      
      opw-669376
      26d6e838
    • Aaron Bohy's avatar
      [FIX] mail: followers: can't access res.partner case · 26f1d756
      Aaron Bohy authored
      When the user can't read the model res.partner, former code tried to determine
      whether or not the user was follower of the document. This was wrong for three
      reasons.
      
      First, it performed an RPC to get the partner_id of the current user, but this
      info is already stored in the session so the RPC was useless.
      Second, the partner_id isn't helpful to know if the user is a follower because
      everything we have is the follower_ids, which aren't ids of the res_partner
      model, but ids of the mail_follower model (compare apples and oranges...).
      Third, we anyway didn't use that information at all as the button indicating
      whether or not the user is a follower wasn't displayed.
      
      This rev. simply removes that useless RPC and only displays the count of
      followers as previously.
      26f1d756
    • Denis Ledoux's avatar
      [FIX] crm: email link in opportunities help message · 24315867
      Denis Ledoux authored
      The email link in the opportunities help message
      was built as:
      `<a href="mailto:info">odoo.com</a>`
      instead of:
      `<a href="mailto:info@odoo.com">info@odoo.com</a>`
      
      opw-669361
      24315867
  5. Feb 11, 2016
    • Nicolas Lempereur's avatar
      Revert "[IMP] calendar: enable change recurrence start/stop" · c1784a4d
      Nicolas Lempereur authored
      This reverts commit 33755f18.
      
      note: revert for now since some scenarios were not taken into account,
      detached event could have been moved to another day.
      c1784a4d
    • Nicolas Lempereur's avatar
      [FIX] {web_,}calendar: order contact sidebar · 924c2dee
      Nicolas Lempereur authored
      In 22051dcc, the sidebar contacts of the calendar were ordered, this does
      it in another way to solve several issues when selecting filters.
      924c2dee
    • Nicolas Lempereur's avatar
    • Nicolas Lempereur's avatar
      [IMP] calendar: enable change recurrence start/stop · 33755f18
      Nicolas Lempereur authored
      When editing a recurring event clicking `Update only this instance`
      allow us to detach this event from the recurring sequence, but without
      clicking it there are instances where the event will still be detached
      maybe unexpectedly.
      
      Clicking on it will create an event which shadow the recurring one that
      being done thanks to:
      
      - recurring_id: the id of the recurring event creating this event
      - recurring_id_date: start of the virtual event this new event shadows
      
      Before this commit: when the start or end date of an recurring event is
      changed, all modification are not applied on the recurring events but
      only the current virtual event occurrence is detached and modified.
      
      After this commit:
      
      - when the end date of a recurring event is modified, it is modified for
        all the instance (not detached) of the recurring event,
      
      - when the start date of a recurring event is modified, it is modified
        all the instance (not detached) of the reccuring event and if:
      
        * one occurrence of the recurring event is still on a (not-moved)
          detached event of this recurrence, this virtual event will be
          shadowed.
      
        * a detached event has now no occurrence of the recurring event on its
          day, it will still be left untouched but will now not shadow an
          event anymore.
      
      eg.
      
      we start with recurring event A on 4, 5, 6 => we see [4: A, 5: A, 6: A]
      
      -> detach event on 5 calling it B => we see [4: A, 5: B, 6: C]
      -> change start of recurrence to 5 => we see [5:B, 6:A, 7: A]
      -> change start of recurrence to 7 => we see [5:B, 7:A, 8: A, 9:A]
      -> delete detached event B on 5 => we see [7:A, 8: A, 9:A]
      -> change start of recurrence to 3 => we see [3:A, 4: A]
      
      closes #10873
      fixes #10278
      opw-665700
      33755f18
    • Géry Debongnie's avatar
      [FIX] mail: various ui improvements · f201cb5b
      Géry Debongnie authored
      - swap reply-to and mark-as-unread buttons in threads
      - remove blockquote from stripped html in channel previews
      - readd padding to no-content message in threads, also to no match found
        message
      - add 1 to chat window z-index to prevent control panel buttons to show
        through it
      f201cb5b
    • Christophe Simonis's avatar
      [FIX] base: ir.qweb: save assets attchment with correct references · f89eda9e
      Christophe Simonis authored
      Force the values of `res_id` and `res_model` when creating assets
      attachments. This avoid getting wrong default values from the context.
      
      When using the mail composer with a automatically created report (like
      when sending a quotation by email), if the report asset must be saved,
      the context used is the one from the mail composer, which contains a
      `default_res_id` entry.
      f89eda9e
    • Raphael Collet's avatar
Loading