Skip to content
Snippets Groups Projects
  1. Sep 27, 2019
  2. Sep 26, 2019
  3. Sep 27, 2019
  4. Sep 24, 2019
  5. Sep 09, 2019
  6. Sep 27, 2019
    • svs-odoo's avatar
      [TEST] stock: product responsible company_id · 90873323
      svs-odoo authored
      
      Adds a test to be sure `product.template` can be create with a
      responsible when:
        - The product has no `company_id` (the responsible must belong to the
          user's company in this case).
        - The product `company_id` is one of the companies of its responsible.
      
      And to be sure that we can't create a `product.template` if its
      responsible doesn't belong the product's company.
      
      closes odoo/odoo#37362
      
      Signed-off-by: default avatarSimon Lejeune (sle) <sle@openerp.com>
      90873323
    • svs-odoo's avatar
      [FIX] models: check_company on res.users field · a3281058
      svs-odoo authored
      Before this commit, when a record of a model who has a `res.users` field
      it could fail the `check_company` because the check looks for
      `company_id` who is the default company of the user.
      In the case of `res.users`, `check_company` must look after the
      `company_ids` of the user.
      a3281058
  7. Sep 26, 2019
  8. Sep 27, 2019
    • David Beguin's avatar
      [FIX] website : fix visitor email and phone computing · 218f1c63
      David Beguin authored
      
      When a lead entered a wrong email address in the contact form,
      this crashes when loading visitor view.
      We were doing a email concatenation to have all the email address
      of the leads linked to the visitor.
      But as it is a cornet case that shouls not happens often
      (to have multiplus email address linked to the visitor)
      we will only keep the last email addresse entered by the visitor.
      
      Task ID: 2077182
      PR #37472
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      218f1c63
  9. Sep 25, 2019
  10. Sep 27, 2019
  11. Sep 25, 2019
    • William Henrotin's avatar
      [FIX] mrp: generate wo line according to move and not product · 237e0b42
      William Henrotin authored
      
      Planning workorder will generate workorder lines according to reservation
      If some lines are already created into the workorder for the current product,
      The line generation will increase the quantity of the existing one instead of creating
      a new one. The issue occurs when the production have some stock move with the same
      product.
      
      This commit change the condition to find workorder line candidate. Instead of searching
      line with same product, we now search line with same stock move.
      
      closes odoo/odoo#37419
      
      Signed-off-by: default avatarArnold Moyaux <amoyaux@users.noreply.github.com>
      237e0b42
    • Antoine Vandevenne (anv)'s avatar
      [FIX] sale: fix returning to sale from rental portal · f976a108
      Antoine Vandevenne (anv) authored
      
      This commit changes the behavior of the 'Back to edit mode' button in the customer portal preview of sales order.
      If the sales order is a rental order, the user is sent back to the Rental app. If not, the button makes him return to the Sale app.
      This doesn't take into account the app in which the order was opened: if a rental order was opened in the Sale app, the portal will send the user back to the Rental app.
      
      task-2071281
      
      closes odoo/odoo#37423
      
      Signed-off-by: default avatarDamien Bouvy (dbo) <dbo@odoo.com>
      f976a108
    • Aaron Bohy's avatar
      [FIX] web: display action title in breadcrumb · 48b76921
      Aaron Bohy authored
      
      Create a simple subclass of AbstractAction (a client action), with
      property hasControlPanel set to true. By default, the name of the
      action should be displayed in the breadcrumb. Before this rev.,
      it wasn't the case, as it displayed 'Unnamed' instead.
      
      Bug spotted when doing an exercice for the JS smartclass.
      
      closes odoo/odoo#37465
      
      Signed-off-by: default avatarGéry Debongnie (ged) <ged@openerp.com>
      48b76921
  12. Sep 26, 2019
  13. Sep 24, 2019
    • Pierre Paridans's avatar
      [FIX] web: crash when resizing on tablet · 6ff9bd50
      Pierre Paridans authored
      
      When having a long systray (icons from different apps, mode debug,
      multi-company...) the resize of the window can trigger a crash for apps
      that have not too much top-level menus (e.g. Contacts).
      
      This also happens when loading those apps.
      
      Steps to reproduce (on an iPad, portrait):
      
      * use a Runbot with all modules installed (12.0+)
      * activate "debug mode"
      * ensure that the menu/systray bar is quite full
      * open the "Contacts" app
      => traceback with a "cannot call getBoundingClientRect of undefined"
      error
      
      The reason is that the resize's callback iterate over the systray/menu
      items to find which one should be folded behind a "more" ("+") menu
      item.
      
      Sadly in some cases (combination of screen width, systray size, app's
      number of menus) it can lead to a traceback.
      
      This commit ensures that when looping for menu items, we don't try to
      reach an non-existing item.
      
      closes odoo/odoo#37327
      
      X-original-commit: odoo/odoo@d7bae0329990171710acf2d9c0d4d9579cba2c0e
      Signed-off-by: default avatarAdrien Dieudonné (adr) <adr@odoo.com>
      Co-authored-by: default avatarRomeo Fragomeli <rfr@odoo.com>
      6ff9bd50
Loading