Skip to content
Snippets Groups Projects
  1. Sep 26, 2022
  2. Sep 25, 2022
  3. Sep 22, 2022
  4. Sep 21, 2022
  5. Sep 20, 2022
  6. Sep 19, 2022
    • MerlinGuillaume's avatar
      [FIX] mrp: keep end time and duration consistent when moving work order · 90f83914
      MerlinGuillaume authored
      
      When drag and dropping a work order in the Work Orders Planning, the
      end time wasn't recomputed. This can make the end time inconsistent with
      the duration when the work order spans across a non-working time.
      
      Steps to reproduce:
      1. Install Manufacturing
      2. Go to Settings > Manufacturing > Operations and enable Work Orders
      3. Go to Manufacturing > Master Data > Routings and edit routing
         'Primary Assembly' to last 120:00 minutes
      4. Go to Manufacturing > Operations > Manufacturing Orders and create
         one with values:
         - Product: Table Top
         - Plan From: today's date at 11:00:00
      5. Save, mark as todo and plan the manufacturing order
      6. Go to Manufacturing > Planning > Planning by Workcenter and trigger
         the day view
      7. Move the work order to 8 am
      8. The work order still lasts for 3 hours (according to its start and
         finish time) even though its expected duration is 2 hours
      
      Solution:
      Recompute `date_planned_finished` when we move a work order in the
      planning (`date_planned_start` and `date_planned_finished` are passed in
      values), and recompute `expected_duration` when we extend it (only one
      of them is passed depending on the way we extend the work order).
      (`duration_expected` is never passed in values when we manipulate a work
      order through the planning)
      
      Problem:
      `date_planned_finished` wasn't recomputed when moving the work order in
      the planning
      
      opw-2893622
      
      closes odoo/odoo#97805
      
      Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
      90f83914
    • Loan (lse)'s avatar
      [FIX] website_event: prevent send Register form as HTTP POST request · 34db5005
      Loan (lse) authored
      To reproduce:
      Video: https://drive.google.com/file/d/1bAh7KA_5UhhIrr-qF5A5gOVWhk3_9clj/view
      
      
       1. Have multi-language website
       2. Event with one ticket
       3. Reload page and click the "Register" button
       -> in some cases there is a traceback
       `/event/great-reno-ballon-race-2/registration/new: Function declared as capable of handling request of type 'json' but called with a request of type 'http'`
      
       Reason of the issue:
       As the button "Register" in the form is defined with `type="submit"` it will send the form as plain HTTP if clicked.
       This behavior is modified in the JavaScript to prevent this default behavior.
       However, if the button is clicked before the JS load, the HTTP behavior is used which does create the above traceback (as the `registration/new` route accept only `json` type).
      
       Solution proposed:
       Prevent the button default behavior and make it deactivated and let the JS activate it when it is ready
      
       Note on stability:
       As JS code and XML view is modified, this fix was thought so that the JS won't have an impact if the view isn't updated.
       There is theoretically no way that the XML view would be updated without the JS being updated (except manual modification in the view or rollback on the version revision after performing a module update on odoo.sh). If it was the case then the button will be deactivated until the user change the number of ticket.
      
       OPW-2946706
      
      closes odoo/odoo#98091
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      34db5005
  7. Sep 18, 2022
  8. Sep 16, 2022
  9. Sep 15, 2022
    • Demesmaeker's avatar
      [FIX] sale_product_matrix: error in matrix tour · e0461e1d
      Demesmaeker authored
      
      Following the steps that changed every quantity in a matrix, the next
      step was triggered after at least one sale order line's quantity was
      changed. Due to the number of lines created, one of the so lines was
      sometimes not updated before the next step, which produces an error in
      the final sale_count.
      
      In order to check the total and ensure every line was updated, we set
      the partner sooner in the tour, which in turn sets the pricelist used to
      get the price of each line. Thus allowing a check on the subtotal.
      
      Backport of commit-af1e67aa2c6c676479ee4ea73106bcabd20c621e
      
      closes odoo/odoo#100273
      
      Signed-off-by: default avatarMorgane Demesmaeker <edm@odoo.com>
      e0461e1d
    • nouraellm's avatar
      [FIX] stock: fix todo filter for product moves · 49c8351f
      nouraellm authored
      
      Steps to reproduce:
      - Create a transfer and choose whatever operation
      - Enable detailed operations option for the operation
      - Check availability and set quantities
      - Cancel the transfer then Go to Product Moves
      
      Current behavior:
      - todo filter is broken, it shows canceled moves
      
      Desired behavior:
      - Show only moves that are assigned or waiting
      
      - Task id: #2981249
      
      closes odoo/odoo#100265
      
      Signed-off-by: default avatarTiffany Chang <tic@odoo.com>
      49c8351f
  10. Sep 14, 2022
  11. Sep 11, 2022
  12. Sep 10, 2022
  13. Sep 09, 2022
    • Walid HANNICHE (waha)'s avatar
      [FIX] account: auto-complete apply the correct currency rate · fd4a8d98
      Walid HANNICHE (waha) authored
      
      Steps to reproduce:
      - enable multi currency in settings
      - set different rates for multiple days
      - create a vendor bill in a different currency
      - create a second vendor bill
      - fill the second bill using auto complete from the first one
      
      Bug:
      the correct currency rate isn't applied unless date is changed when
      the source is a vendor bill not a purchase order
      
      Fix:
      update currency rate after adding a line with a different currency
      
      opw-2890210
      
      closes odoo/odoo#99640
      
      Signed-off-by: default avatarGrazioso Andrea (agr) <agr@odoo.com>
      fd4a8d98
  14. Sep 08, 2022
  15. Sep 05, 2022
  16. Sep 04, 2022
  17. Sep 02, 2022
    • Nasreddin Boulif (bon)'s avatar
      [FIX] purchase: Update price unit on new line even if confirmed RFQ · 063f7af8
      Nasreddin Boulif (bon) authored
      
      Steps to reproduce:
      
        - Install purchase
        - Go to Settings and activate `Variant Grid Entry`
        - Create a new Requests for Quotation
        - Add a customer and add a product that has a variant min 2 variant
        - Wizard should ask for the variant
        - Select 1 variant by increasing quantity in the grid and confirm
        - Confirm order
        - Add again a product variant with the wizard
      
      Issue:
      
        Price unit is not set on the new line.
      
      Cause:
      
        In `_onchange_quantity` (triggered by the purchase_product_matrix
        module), we do not update price unit if order line
        is in state `purchase` or `done`.
      
      Solution:
      
        Replace condition to not perform `_onchange_quantity` if order line
        has an invoice line.
      
      opw-2956755
      
      closes odoo/odoo#98960
      
      Signed-off-by: default avatarAdrien Widart <awt@odoo.com>
      063f7af8
    • oco-odoo's avatar
      [FIX] account: don't use CABA transition account when using a tax in reconciliation widget · ff87397b
      oco-odoo authored
      
      Before, when using a cash basis tax in the bank reconciliation widget, the account chosen for the tax line corresponded to the tax transition account. This was wrong: since the entry is already reconciled, we want to use the actual repartition account, as nothing will move this amount from the transition account afterwards.
      
      Indirectly linked to OPW 2865789
      
      closes odoo/odoo#99427
      
      Signed-off-by: default avatarLaurent Smet <las@odoo.com>
      ff87397b
  18. Sep 01, 2022
  19. Aug 30, 2022
  20. Aug 29, 2022
  21. Aug 28, 2022
  22. Aug 26, 2022
  23. Aug 25, 2022
Loading