Skip to content
Snippets Groups Projects
  1. Nov 13, 2019
  2. Oct 30, 2019
  3. Nov 12, 2019
    • Goffin Simon's avatar
      [FIX] stock_dropshipping: Creating a quotation without purchase permission · de47582b
      Goffin Simon authored
      
      Fine tuning of this commit: f93fcaff
      
      Steps to reproduce the bug:
      
      - Open runbot v11
      - Restrict Demo's access to Sales Manager for sales and employee for Employee
      - Try to create a new quotation
      
      Bug:
      - You got Odoo server Error
      Sorry, you are not allowed to access this document. Only users with the following access level are currently allowed to do that:
      - Inventory/User
      - Accounting & Finance/Billing
      - Purchases/User
      - Purchases/Manager
      - Other Extra Rights/Portal
      (Document model: purchase.order.line) - (Operation: read, User: 5)
      
      opw:2120692
      
      closes odoo/odoo#40149
      
      X-original-commit: 1b14af28
      Signed-off-by: default avatarSimon Goffin (sig) <sig@openerp.com>
      de47582b
  4. Nov 13, 2019
    • fw-bot's avatar
      [FIX] base: call context_get with the right user · b39c8da2
      fw-bot authored
      
      self.env.user returns the current user but browsed with the superuser:
      - self.env.user == current user
      - self.env.user.env.user == administrator
      
      get_context uses self.env.user to retrieve the context of the user.
      Before this patch, the name of the filters was translated in the
      language of the administrator instead of the current user.
      
      Closes odoo/odoo#40086
      
      closes odoo/odoo#40142
      
      Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
      b39c8da2
  5. Nov 12, 2019
    • Gert Pellin's avatar
      [FIX] pos_restaurant: sync empty orders · 3add8dd2
      Gert Pellin authored
      
      * In a pos-session with table management create a new order with products
      and go back to the floor-plan.
      * The order is sinced to the back-end.
      * Open the table again, remove all products but keep the order.
      * Go back to floorplan to trigger syncing again.
      * Open the table again.
      
      behaviour before fix:
      * The empty order is not loaded in the frontend anymore.
      * To close the session the order has to be manually removed in the backend.
      
      After fix:
      * The order is still visible in the frontend and can be removed or finalysed as expected.
      
      closes odoo/odoo#40103
      
      Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
      3add8dd2
  6. Nov 08, 2019
  7. Nov 12, 2019
  8. Nov 08, 2019
  9. Nov 12, 2019
    • jvm-odoo's avatar
      [FIX] sale: fix sales team goal not updated in CRM pipelines · 578dacc3
      jvm-odoo authored
      
      Reproduce this issue
      
          - Install CRM & Sales
          - Create 2 sales team in CRM settings
          - Create some invoices and register payments for the 2 teams
          - Go in CRM > Sales > Team pipelines
      
          The invoicing amount is still 0 for both teams.
      
      Cause
      
          - The `_compute_invoiced` method in `CrmTeam` models use a SQL
          query to retrieve the invoices lines but it returns an empty
          recordset because the dates are not right ordered.
      
          - The line balance are negatives values, doing a SUM() will always
            returns 0
      
      This commit re-order the dates and invert the sign of line.balance.
      
      OPW-2119819
      
      closes odoo/odoo#40093
      
      Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
      578dacc3
  10. Oct 23, 2019
  11. Nov 08, 2019
    • Yannick Tivisse's avatar
      [IMP] sale_timesheet: Avoid generated tasks on Undefined stage · c946b8fe
      Yannick Tivisse authored
      
      Purpose
      =======
      
      Steps to reproduce:
      
      - Configure a product of type service to create a task on a
        sales order validation, without configuring a project template
      - On the SO confirmation, the project is generated without any stages
      
      Additional issue:
      - go to the Kanban view of the Project
      - filter on something that doesn't give any result
      - The kanban switches to edit mode, even if there is
        a task
      
      This commit solves both issues.
      
      closes odoo/odoo#40056
      
      X-original-commit: e2de6331f7f75c9c9b086e57b88f6d25a2cd303d
      Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
      c946b8fe
  12. Nov 10, 2019
  13. Nov 08, 2019
  14. Nov 12, 2019
    • Andrea Grazioso (agr-odoo)'s avatar
      [FIX] stock_move: show source document · baad02d0
      Andrea Grazioso (agr-odoo) authored
      
      Install stock and sale. Create a sale with 2+ products, save and
      confirm.
      Look for the created picking.
      
      There will be no source doument, because of
      cb618e9a
      the behavior has changed when there are multiple source
      document, possibly to avoid displaying the wrong source if they
      differ.
      
      Adding the possibility to display multiple source documents, eventually
      truncating the list
      
      opw-2117886
      
      closes odoo/odoo#39957
      
      Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
      baad02d0
  15. Nov 10, 2019
  16. Nov 08, 2019
  17. Oct 22, 2019
  18. Nov 08, 2019
  19. Nov 07, 2019
    • Arnold Moyaux's avatar
      [FIX] purchase_requistion: call for tender zero lines · 02ba6139
      Arnold Moyaux authored
      
      Usecase to reproduce:
      - Create a purchase requistion with type Call For Tender
      - Update a line and set the price to zero.
      
      UserError 'You cannot confirm the blanket order without price.' raised.
      It happens because the write don't process the same check than create
      and don't check if the purchase_requistion is a blanket order or a call
      for tender. It also doens't check the current state of the
      purchase_requisition.
      
      closes odoo/odoo#39973
      
      Task: 2120211
      X-original-commit: 7d69f014
      Signed-off-by: default avatarArnold Moyaux <amoyaux@users.noreply.github.com>
      02ba6139
    • qsm-odoo's avatar
      [FIX] website: restore parallax previews in edit mode · 3c5a2724
      qsm-odoo authored
      
      When the user changed the parallax option, it was only updated on save.
      So, the user was not able to have a preview of what he chose.
      
      Note: this commit is made in saas-12.3 but does not fully solve the
      problem there... and unfortunately I don't know why. It fully solves
      the problem in 13.0 though and this is more important.
      
      closes odoo/odoo#39991
      
      X-original-commit: 4b633949cd4fd1cae807b95d233879ac4adc01ce
      Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
      3c5a2724
Loading