Skip to content
Snippets Groups Projects
  1. Dec 28, 2018
  2. Dec 11, 2018
  3. Dec 07, 2018
    • Raphael Collet's avatar
      [FIX] mail: wrong many2many definition · 54238c88
      Raphael Collet authored
      The definition of `attachment_ids` on model `email_template.preview` is wrong,
      because its table/columns refer to the model `mail.template`.  As the field is
      only used to preview a result in a wizard form, it does not need to be stored.
      
      closes odoo/odoo#29349
      54238c88
  4. Dec 10, 2018
  5. Dec 05, 2018
  6. Dec 04, 2018
    • Christophe Simonis's avatar
      69d342f5
    • Jairo Llopis's avatar
      [FIX] auth_ldap: Avoid sending email for newly created user · 81c26383
      Jairo Llopis authored
      If installed along with `auth_signup`, it sends an email when creating a missing user authenticated through LDAP.
      
      It is a confusing message that makes no sense, because the user is, from his POV, not actually creating a new user, but just authenticating with a new app with his known company-wide credentials.
      
      Besides, that invitation leads the user to change his password in Odoo, although he probably doesn't want to do that and have a password for Odoo and another in the LDAP server.
      
      The best option is to disable that email completely, which is what this commit does.
      
      closes odoo/odoo#29243
      81c26383
  7. Dec 05, 2018
  8. Nov 30, 2018
  9. Nov 29, 2018
  10. Nov 28, 2018
  11. Nov 27, 2018
  12. Nov 26, 2018
  13. Nov 22, 2018
  14. Nov 21, 2018
    • Gert Pellin's avatar
      [FIX] point_of_sale: traceback on printing android · 4629a4fb
      Gert Pellin authored
      Firefox for android gives atraceback when clicking the print receipt
      button. This traceback is caused becaus Firefox for Android does not
      support printing.
      
      This fix replaces the traceback by an explanation why it is not possible
      to print.
      
      Also  backport for safari-fix
      
      closes odoo/odoo#28919
      4629a4fb
  15. Dec 04, 2018
  16. Nov 30, 2018
    • Nicolas Martinelli's avatar
      [FIX] website_sale: price difference · e9bc13fc
      Nicolas Martinelli authored
      - Create a product A with a sales price of 40
      - Create a pricelist where product A costs a fixed price of 100
      - Assign this pricelist to a customer
      - Connect as the customer on the eCommerce
      
      On the eCommerce, the price for A is displayed as: ~~40~~ 100.
      
      We only display a price difference if the pricelist price is smaller
      than the sales price.
      
      opw-1885443
      
      closes odoo/odoo#29141
      e9bc13fc
  17. Dec 01, 2018
  18. Nov 30, 2018
    • Nicolas Martinelli's avatar
      [FIX] report_intrastat: product weight · ae4a4cf0
      Nicolas Martinelli authored
      - Create a product with 2 variants A & B
      - Set a weight on the variants (btw, the weight field is not available
        on the template in this case)
      - Create an invoice for A, validate
      
      On the intrastat report, the weight remains 0.0.
      
      The report clearly takes into account the weight of the template, not of
      the variant. We use the product weight, and fall back on the template
      weight.
      
      opw-1913305
      
      closes odoo/odoo#29178
      ae4a4cf0
  19. Nov 21, 2018
    • Denis Ledoux's avatar
      [FIX] report: support for wkhtmltopdf 0.12.5 · af476c69
      Denis Ledoux authored
      This revision brings the compatibility for our reports
      using wkhtmltopdf 0.12.5.
      
      Up to now,
      the supported wkhtmltopdf version was 0.12.1.
      
      The goal of this revision is to add the compatibility
      to wkhtmltopdf 0.12.5,
      while keeping the same exact rendering than in 0.12.1.
      
      There is a behavior change with the `--dpi` parameter,
      which no longer has a "zoom" level effect as it did with 0.12.1.
      
      To deal with it, we pass the `--zoom` parameter when
      the detected version installed of wkhtmltopdf is after 0.12.2,
      with a ratio 96:dpi. 96 being the default dpi of wkhtmltopdf.
      
      This trick allows to render the reports with the exact same
      zoom level, whatever the dpi value configured in the reports paperformat.
      (at least with dpi values up to 149, after 150, included,
      the dpi parameter with wkhtmltopdf 0.12.1 as a weird behavior,
      it no longer zoom out)
      
      opw-1907346
      
      closes odoo/odoo#28864
      af476c69
    • Nicolas Lempereur's avatar
      [FIX] purchase: es_AR translation typo · 1f8788de
      Nicolas Lempereur authored
      Fixing it directly by commit since there is no es_AR on transifex.
      
      The issue of the ticket has been solved by transifex, this is for
      another similar issue that has been found.
      
      opw-1907924
      closes #28923
      1f8788de
    • Denis Roussel's avatar
      [FIX] mrp: Allow mrp user to delete stock_move_lot links · e81809b8
      Denis Roussel authored
      With an mrp user, add lots lines to mrp production order moves. Then,
      try to delete one line, the dustbin icon does not appear.
      
      opw-1908930
      e81809b8
    • Denis Roussel's avatar
      [FIX] mrp: User with no products write access cannot create production order · 8a6162d0
      Denis Roussel authored
      As the product_tmpl_id field is related one but not readonly, the creation
      of production order triggers a write on product.product model
      8a6162d0
  20. Nov 15, 2018
  21. Nov 14, 2018
  22. Nov 13, 2018
  23. Nov 08, 2018
    • Josse Colpaert's avatar
      [FIX] sale_margin: Error in Margin calculation · 0b586677
      Josse Colpaert authored
      If cost(purchase_price) was 0, margin calculation was incorrect.
      The function _product_margin didn't consider the use case
      where the cost of the product was set to 0 on the line.
      
      So before the fix it fallback on standard price instead of considering  a cost of 0.
      
      opw:1890452, 1885587
      0b586677
Loading