Skip to content
Snippets Groups Projects
  1. Oct 22, 2020
  2. Oct 13, 2020
  3. Oct 22, 2020
  4. Oct 21, 2020
  5. Oct 20, 2020
  6. Oct 21, 2020
  7. Oct 20, 2020
  8. Oct 16, 2020
  9. Oct 21, 2020
  10. Oct 20, 2020
  11. Oct 21, 2020
    • Olivier Dony's avatar
      [REV] *: revert fb7407cb for spanish translations · 99702e10
      Olivier Dony authored
      There was a problem in the Transifex translations for Spanish and all
      translations were overwritten by mistake with english defaults.
      
      This commit reverts all modified es.po files to their previous version
      while we work to restore the translations on Transifex.
      Unverified
      99702e10
  12. Oct 20, 2020
    • Goffin Simon's avatar
      [FIX] stock: Cancelled DO changed to Ready · 6910438f
      Goffin Simon authored
      
      State to reproduce the bug:
      
      - Let's consider a 2 steps delivery setting
      - Create a SO with a product P and a quantity Q and confirm it
      - Pick: Deliver a smaller quantity than Q, don't create a backorder
        but duplicate the Pick and validate it with the remaining quantity.
      - Out: the initial delivery order OUT P1  does not allow the reservation, so cancel it and duplicate it (let's call it P2).
      - Click on Mark to do on P2
      
      Bug:
      
      The initial picking OUT P1 was changed in state Ready instead of keeping in state Cancelled
      
      opw:2339217
      
      closes odoo/odoo#60390
      
      X-original-commit: 61734cda
      Signed-off-by: default avatarSimon Goffin (sig) <sig@openerp.com>
      Co-authored-by: default avatarWhenrow <whe@odoo.com>
      6910438f
    • Benjamin Vray's avatar
      [FIX] website: fix add slide carousel snippet · 79787886
      Benjamin Vray authored
      
      Before this commit, when adding a new slide, the data-target of the new
      indicator was wrong because we were using the slide ID instead of the
      carousel ID.
      
      task-2318526
      
      closes odoo/odoo#60381
      
      X-original-commit: ac7a117ccc64df54cfd271ee4c4b62ef49dd71ff
      Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
      79787886
    • Luis González's avatar
      [IMP] sale_management: Non-deterministic elements in views · 746bacf6
      Luis González authored
      There are currently some elements in views that are not reachable on a
      deterministic way when those views are inherited. That means, to reach
      them, positional selectors need to be used (e.g. `last()`). That causes
      inherited views to get broken when there are small changes in element
      position.
      
      A good example of this is [1]:
      
          <th class="text-right">Unit Price</th>
      
      Which can't be filtered by:
      - Class, because there are several `<th>` elements with the same class
      - Text content, because when content is translated, selector will fail
      
      To solve the above, this change provides IDs for several elements, to make
      possible/easier to reach them on a safely manner.
      
      [1] https://github.com/odoo/odoo/blob/54b40f1eb096/addons/sale_management/report/sale_report_templates.xml#L15
      
      
      
      closes odoo/odoo#60378
      
      X-original-commit: c4c45ff1
      Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
      746bacf6
  13. Oct 22, 2020
  14. Oct 20, 2020
    • nie's avatar
      [FIX] sale_margin: confusing margin percentage in pivot · e7186966
      nie authored
      
      Steps to reproduce the bug:
      - Activate Margins in Sales > Settings
      - Go to the pivot view of quotations
      - In Measures, click Margin (%)
      
      Bug:
      Margin percentages are aggregated by computing the sum of the margin sub-percentages instead of using the data of the aggregated row (i.e. agg. margin / agg. total).
      
      Explanation:
      This is one of the flaws of the pivot view. The best way to solve this would be to create a custom aggregation in PostgreSQL.
      This commit is just hiding the measure for now.
      
      opw:2349896
      
      closes odoo/odoo#60297
      
      X-original-commit: 1e3fc6894b13d51a3f6327653afbf8d5a316a21d
      Signed-off-by: default avatarbackspac <backspac@users.noreply.github.com>
      e7186966
    • Benjamin Vray's avatar
      [FIX] web_editor: fix mouse up event on active handles · 2766eee1
      Benjamin Vray authored
      
      Before this commit, the mouseup event was not detected outside the
      body element when resizing paddings.
      
      task-2312878
      
      closes odoo/odoo#60356
      
      X-original-commit: 127410f9
      Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
      2766eee1
    • Antoine Prieels's avatar
      [IMP] hw_drivers: Support for Star receipt printers · cd0545b9
      Antoine Prieels authored
      
      Add support for Star Line Mode protocol, used by most Star receipt
      printers.
      
      closes odoo/odoo#60365
      
      Taskid: 2365648
      X-original-commit: 2cf0df13
      Signed-off-by: default avatarQuentin Lejeune (qle) <qle@odoo.com>
      cd0545b9
    • Odoo's Mergebot's avatar
      [FIX] mass_mailing_sms: try to render jinja content when using test wizards · f997e673
      Odoo's Mergebot authored
      
      # Purpose
      
      The wizard to test a mailing does not compute the jinja part. It does
      not detect syntax errors that would make cron crash
      
      # Specifications
      
      If there is at least one record in the mailing model then render template
      completely. Thow an error if rendering cannot be done.
      
      The downside is that we cannot test the jinja part if there is not yet any
      record in the mailing's model.
      
      Do it for mass_mailing and mass_mailing_sms.
      
      Add tests to ensure error detection in test wizard effectively works.
      
      Task ID-2312442
      PR #55696
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      Unverified
      f997e673
    • Jérémy Hennecart's avatar
      [FIX] mass_mailing_sms: try to render jinja content when using test wizards · 7370d573
      Jérémy Hennecart authored
      Like the mass_mailing app we want to raise an error in case there is a syntax
      error with jinja when we test the mailing and if there is at least one record
      in the mailing model.
      
      PR odoo/odoo#55696
      Task ID-2312442
      7370d573
    • Jérémy Hennecart's avatar
      [FIX] mass_mailing: try to render jinja content when using test wizards · 92aef67c
      Jérémy Hennecart authored
      Before when a user clicked on the button "Test", jinja syntax was not taken
      into account for the test mail sent. If an error was present clicking on the
      button did not raise an error before the cron was executed.
      
      Now, if there is at least one record in the mailing model, the template is
      correctly rendered and throws an error if there is a syntax error.
      
      If we don't have any record to render the template, we fallback on the raw
      content like before.
      
      PR odoo/odoo#55696
      Task ID-2312442
      92aef67c
    • Jérémy Hennecart's avatar
      [FIX] test_mass_mailing: add test for the send_mail_test action · 183a7677
      Jérémy Hennecart authored
      This test ensures that when using the test sending tool of mass mailing (sms)
      a wrong jinja content is detected if we have any record available to evaluate
      it.
      
      PR odoo/odoo#55696
      Task ID-2312442
      183a7677
    • Nasreddin (bon)'s avatar
      [FIX] payment: User can pay without selecting a delivery method · 7e54d9aa
      Nasreddin (bon) authored
      
      Issue
      
      	- Install "eCommerce" and "Inventoy"
      	- Activate "Fedex" delivery connector in settings
      	- Publish "Free Delivery" and "Fedex US" delivery method
      	- Put the "FedEx" one above the "Free Delivery"
      	- Go to shop and add an item to cart
      	- Set an adress with no ZIP code and checkout
      	- Select a payment methode and pay
      
      	Order is generated without selecting a delivery method
      	Same behavior happend when using only "Fedex" as delivery
      	method.
      
      Cause
      
      	The flow make the `payment.payment_form` trigger start after
      	`website_sale_delivery.checkout` JS module.
      	In 'start' function of `payment.payment_form`, the `disabled`
      	attribut is removed from button if no checkbox_cgv is present
      	and therefore break the `disabling` managemet since
      	`disabledReasons` payButton data are not sync anymore.
      
      Solution
      
      	Remove 'disabled' attribut only if has `disabledReasons` data on
      	payButton (checkbox_cgv feature alter `disabledReasons`).
      
      opw-2355407
      opw-2357605
      
      closes odoo/odoo#60355
      
      X-original-commit: 04e589e8
      Signed-off-by: default avatarbon-odoo <nboulif@users.noreply.github.com>
      7e54d9aa
    • Benjamin Vray's avatar
      [FIX] web_editor: disable overlay pointer events on wheel event · 978cd024
      Benjamin Vray authored
      
      This commit disable the pointer events on the overlay during the mouse
      wheel event. To prevent page scrolling from stopping when hovering
      over the overlay.
      
      task-2312878
      
      closes odoo/odoo#60160
      
      Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
      978cd024
Loading