Skip to content
Snippets Groups Projects
  1. Sep 16, 2022
    • Walid HANNICHE (waha)'s avatar
      [FIX] payment: fix payment processing payment_redirect · 0420a0b6
      Walid HANNICHE (waha) authored
      Steps to reproduce:
      - create and send a quotation
      - make a failed payment (through cutomer preview)
      - create and send a second quotation to the same customer
      - make a succesful payment this time
      - redirect takes to the wrong quotation (failed one)
      
      Bug:
      polling the processed payments initially returns both transaction
      but the following polls only returns the rejected payment
      (introduced in [1] processed transactions are filtered out)
      since there's only a single transaction, redirect takes to it
      
      Fix:
      if there's only a single succesful transaction (regardless of the rest)
      it means the current payment was successfull so we redirect to it
      
      opw-2954162
      
      [1]:https://github.com/odoo/odoo/pull/31741/commits/7612659565ee24f1c878b81e6c86b5780fbd5a3d
      
      
      
      closes odoo/odoo#99969
      
      Signed-off-by: default avatarAntoine Vandevenne (anv) <anv@odoo.com>
      0420a0b6
    • Ignacio Cainelli's avatar
      [IMP] l10n_ar: data of amortizations · daec19f7
      Ignacio Cainelli authored
      
      In this commit, we add data of amortizations accounts and correct the
      accumulated amortization accounts (now they are of the fixed asset
      type) to be consistent with the Argentine chart of accounts.
      
      For each accumulated amortization account we have an expense type
      amortization account.
      
      closes odoo/odoo#97534
      
      Signed-off-by: default avatarJosse Colpaert <jco@odoo.com>
      daec19f7
  2. 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
  3. Sep 14, 2022
  4. Sep 11, 2022
  5. Sep 10, 2022
  6. 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
  7. Sep 08, 2022
  8. Sep 05, 2022
  9. Sep 04, 2022
  10. 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
  11. Sep 01, 2022
  12. Aug 30, 2022
  13. Aug 29, 2022
  14. Aug 28, 2022
  15. Aug 26, 2022
  16. Aug 25, 2022
  17. Aug 24, 2022
  18. Aug 23, 2022
    • Jinjiu Liu's avatar
      [FIX] product: a temporal variant copy for future convenience · a72bb463
      Jinjiu Liu authored
      Reproduction:
      1. Create a dynamic attribute "dyn_att" with a couple of values
      2. Create a product template "dyn_prod" with those attribute values
      3. Create an order for "dyn_prod", this will trigger creating a variant
      4. Make sure to check Variant Grid Entry in Sales Settings
      5. Open variant form view of dyn_prod and edit it to allow duplication
      6. Duplicating it leads to an error
      
      Reason: copying the variant is not possible and disabled here:
      https://github.com/odoo/odoo/pull/38303
      
       For future convenience, maybe
      it’s better to give a temporal working solution. The function
      _create_first_product_variant is used in the product module but only
      defined in its child module website_sale
      
      Fix: copy the product template, create and return its first possible
      variant. Added test for dynamic variant copy. change the definition
      place of _create_first_product_variant to module product
      
      opw-2790543
      
      closes odoo/odoo#88075
      
      Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
      a72bb463
  19. Aug 22, 2022
  20. Aug 21, 2022
  21. Aug 18, 2022
  22. Aug 16, 2022
    • Ivan Yelizariev's avatar
      [FIX] account: add missing _name_search for account.move.line · d1baf02b
      Ivan Yelizariev authored
      
      The model had name_get, but not _name_search, which leads to difference between
      what user sees and what he get as search results.
      
      This patch doesn't fix the issue completly, but adds more search results on
      searching just by account move (e.g. invoice) name.
      
      STEPS:
      
      * open menu Analytic Items (account.analytic.line)
      * make custom filter *Journal items contains "INV/"* (
      `[["move_id","ilike","INV"]]` )
      
      BEFORE: no items found even if you see such analytic items
      
      ---
      
      opw-2691495
      
      closes odoo/odoo#87156
      
      Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
      d1baf02b
    • Ivan Yelizariev's avatar
      [FIX] website_sale: prevent changing name when invoiced are issued · 7314d3b8
      Ivan Yelizariev authored
      /my/account controller blocks name/vat/company_name updating if there are issued invoices.
      
      However Before this commit, user can change name via /shop/address page
      
      STEPS
      
      1/ install sales, eCommerce,inventory,Accounting
      2/ create a sales order from the portal page, validate and create an invoice from SO and post it
      3/ Try to change the name from the Portal > Account
      Result - not possible = correct
      4/ Place a new SO by the same portal user and edit the name on the address before proceeding to checkout
      
      [1]: https://github.com/odoo/odoo/blob/1f49528a4b198e8912beb33be921d2855c694e2e/addons/account/controllers/portal.py#L111-L113
      
      
      
      opw-2848251
      
      closes odoo/odoo#97686
      
      Signed-off-by: default avatarWilliam Braeckman (wbr) <wbr@odoo.com>
      7314d3b8
    • snd's avatar
      [FIX] sale_mrp: do not use template bom · 98f6c247
      snd authored
      
      Consider this case:
      Template A has 2 variants: KIT and NOKIT
      KIT has a total cost of 100, NOKIT costs 50
      When selling NOKIT, the current code will select the bom of KIT
      to calculate the price_unit of NOKIT, which means that when
      reconciling the aml of the invoice (amount = 100) with the aml of
      the cogs move (amount = 50), it will be partial due to the difference
      in amount. This alse messes with the balance sheet report.
      
      This fix ensures that only boms directly related to the product
      or for the generic template are selected.
      
      opw-2918080
      
      closes odoo/odoo#97453
      
      Signed-off-by: default avatarSteve Van Essche <svs@odoo.com>
      98f6c247
Loading