Skip to content
Snippets Groups Projects
  1. Oct 12, 2017
    • rde's avatar
      [FIX] website_sale_options: public user can't add item to cart · cd6c8986
      rde authored
      Before this commit, clicking on add to cart as a public user* would throw an
      error because it would access uom.name on which public user has no right.
      *From the product page (/shop/product/xxx) having an optional product, the
      access error is really on the optional product.
      
      Now, we allow user to read name with sudo().
      cd6c8986
    • rde's avatar
      [FIX] website_sale_stock(_option): prevent negative stock & traceback · c400789d
      rde authored
      Before this commit, multiple tabs/session adding items to cart  could lead to
      negative stock displayed in the quantity field.
      In some case, it could throw a traceback because the wanted product had
      became unavailable in the meantime, causing the cart to be updated and the
      line to be deleted from the cart. But then, this line was being accessed again.
      
      Now, negative values are prevented at the screen. And there is a check on the
      line record to be sure it exists before accessing it.
      c400789d
    • Quentin De Paoli's avatar
    • Josse Colpaert's avatar
      [IMP] stock: no danger decorator for receipt · 055c03e8
      Josse Colpaert authored
      When a stock move is in reception, we don't want to color in red the
      move in the picking as the reservation will always succeed.
      055c03e8
    • Xavier Morel's avatar
      [FIX] doc: various · db0cb1b0
      Xavier Morel authored
      * fix Sphinx 1.6 compatibility leading to the "tiles" on the home page
        not working anymore: 1.6 replaces BuildEnvironment.reolve_toctree by
        TocTree().resolve(), while the method still exists it's not actually
        called anymore
      * rejigger some CSS as the second section went from one big tile to 3
        smaller tiles, and got laid out as a row rather than a second 2x2
        block. Recode the entire mess with flexbox, remove some stuff which
        conflicted with boostrap (this screen should probably be
        de-boostrapped and completely converted to flexbox or grid)
      * add building CSS from LESS to the makefile, all Odoo devs should
        have less installed locally (for assets)
      db0cb1b0
    • qsm-odoo's avatar
    • qsm-odoo's avatar
      [FIX] website: load xml dependencies of website.prompt · c1156915
      qsm-odoo authored
      The deprecated-but-still-used website.prompt requires some static XML
      to be loaded to work. In the case of creating a new website page, this
      XML was implicitely loaded by the "Content" menu... but when the user
      is on a translated page, this menu is not there. Anyway, this static
      XML loading should be done by the website.prompt function itself if
      necessary.
      c1156915
    • Martin Trigaux's avatar
      [IMP] doc: clarify RPC section name · 5823eb87
      Martin Trigaux authored
      Very often, people ask "Is there an API to Odoo?"
      Having a doc section explicitely called API will answer that
      Unverified
      5823eb87
    • Christophe Monniez's avatar
      [IMP] packaging: remove some packages dependencies · 347acbb4
      Christophe Monniez authored
      On Ubuntu Xenian, the Odoo package was difficult to install because
      three Debian packages were required but could not be found in Ubuntu
      repositories. As those packages are not really crucial, they are
      now only suggegsted by the Debian package which is therefore
      installable on Ubuntu Xenial. One can manually install them as
      explained in the documentation.
      
      Closes #20000
      Unverified
      347acbb4
    • Christophe Monniez's avatar
      [REM] remove any openid reference · fc76b1d5
      Christophe Monniez authored
      Purpose: openid is not used anymore in Odoo, therefore it can be
      safely removed.
      Unverified
      fc76b1d5
  2. Oct 11, 2017
  3. Oct 10, 2017
Loading