Skip to content
Snippets Groups Projects
  1. Sep 06, 2016
    • dut-odoo's avatar
      [IMP] point_of_sale: Prevent backend sessions and orders creation · d272bde1
      dut-odoo authored
      If your create an order in backend and you make payements, they remain opened while the POS session isn't closed, which may seens counter-intuitive. The payment in taken into account afterward and the reconciliation is made with the invoice (if applicable)
      
      We shouldn't let people create POS orders from backend. And while we're at it, we should do the same with sessions. They're opened and closed from the dashboard.
      d272bde1
    • Damien Bouvy's avatar
      [FIX] mail: remove duplicate code · 29d8576b
      Damien Bouvy authored
      There already is a redirect implementation in the chat_manager
      which closely matches the on_redirect implementation in chatter.js,
      however the former has the advantage of calling get_formview_id
      to ensure that the view is correct.
      
      This fixes a faulty behaviour when some models are referenced from
      chatter message using data attribute data-oe-model and data-oe-id.
      For example, linking invoices in the chatter would always open them
      with the 'vendor invoice' view; from this revision on the correct
      view will be used (assuming get_formview_id is implemented on the
      model).
      
      The default behaviour of the chat_manager when a user clicks on a
      partner record is to open a channel if the partner has a user then
      return a callback passed as a parameter (usually to open the channel
      as a popup or in the discuss app). To keep the old behaviour
      of the chatter followers list widget (i.e. open the partner form
      when clicking on a follower), a small change has to be made on the
      redirect implementation: when no callback is provided, do not create
      the channel (instead a returning an empty callback).
      Unverified
      29d8576b
  2. Sep 05, 2016
  3. Sep 03, 2016
  4. Sep 02, 2016
Loading