Skip to content
Snippets Groups Projects
  1. Sep 15, 2022
    • 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
  2. Sep 14, 2022
  3. Sep 11, 2022
  4. Sep 10, 2022
  5. 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
  6. Sep 08, 2022
  7. Sep 05, 2022
  8. Sep 04, 2022
  9. 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
  10. Sep 01, 2022
  11. Aug 30, 2022
  12. Aug 29, 2022
  13. Aug 28, 2022
  14. Aug 26, 2022
  15. Aug 25, 2022
  16. Aug 24, 2022
  17. 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
  18. Aug 22, 2022
  19. Aug 21, 2022
  20. Aug 18, 2022
  21. 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
    • Florian Charlier's avatar
      [FIX] mass_mailing_crm: fix link in demo data · bee1d655
      Florian Charlier authored
      
      So that the link works...
      
      Task-2954531
      
      closes odoo/odoo#98155
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      bee1d655
    • William Braeckman's avatar
      [FIX] website_sale_wishlist: fix undeterministic error in tour · e10f50e6
      William Braeckman authored
      
      This commit attempts to fix an undeterministic error during one of
      `website_sale_wishlist` tests.
      Due to a race condition it may happen that the button to add to the
      wishlist would be re enabled while it should be disabled (if the product
      is already in the wishlist) causing the tour to fail.
      
      closes odoo/odoo#98143
      
      Signed-off-by: default avatarWilliam Braeckman (wbr) <wbr@odoo.com>
      e10f50e6
    • Renaud Thiry's avatar
      [FIX] mail: Give reply-to non-template value · 002650a2
      Renaud Thiry authored
      
      When sending a mass mail through the composer, if the field ``reply_to`` had to
      fall back to being ``email_from``, reply_to would take the value of the template
      syntax instead of the rendered value.
      
      This is notably the case when mass-mailing invoices through the accounting app.
      Resulting in reply_to fields such as: '{{user.email}}'
      
      On some mail clients (including mailhog), this could also result in template
      syntax being shown as part of the subject or sender field.
      
      This commit fixes that by correctly taking the rendered value of 'email_from'
      
      Task-2816845
      
      closes odoo/odoo#95227
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      002650a2
Loading