Skip to content
Snippets Groups Projects
  1. Feb 25, 2021
    • Romeo Fragomeli's avatar
      [FIX] website: o_cp_top_left class doesn't exist on mobile · 3d401a30
      Romeo Fragomeli authored
      
      Before this commit, the selector 'o_cp_top_left' was used to target
      a descendent element. The 'o_cp_top_left' class was added in this commit
      odoo/odoo@533db5991a5bb871198485cd71a63f75a8c6becf
      But 'o_cp_top_left' class is only available on desktop.
      On mobile the layout of the control panel is different.
      This produce a bug on Mobile.
      
      After this commit, we use a less restrictive querySelector to match
      the element in mobile too.
      
      Note: we remove the 'div' for clarity/consistency
      
      Steps to reproduce:
      * Open Odoo in "Mobile mode" (small screen)
      * Go to Apps
      * Install a module that need website or website it self
      * You are redirect to the "chose theme" => Bug
      
      closes odoo/odoo#66613
      
      Signed-off-by: default avatarAdrien Dieudonné (adr) <adr@odoo.com>
      3d401a30
  2. Feb 22, 2021
  3. Feb 25, 2021
  4. Feb 24, 2021
  5. Feb 16, 2021
  6. Feb 25, 2021
  7. Feb 05, 2021
  8. Feb 25, 2021
  9. Feb 23, 2021
    • Laurent Smet's avatar
      [FIX] account: Fix reversal of exchange diff entry when unlinking the full reconcile · 07d5735d
      Laurent Smet authored
      
      Suppose an invoice of 1200USD = 3600EUR reconciled with a payment 1800USD = 3600EUR.
      
      The generated exchange difference journal entry is:
      600USD = 0EUR because 1800 - 1200 - 600 = 0 and 3600 - 3600 = 0
      => Everything is reconciled and all residual amounts are 0.
      
      Remove the reconciliation. The exchange difference entry is reversed in other to cancel it.
      Because the current exchange difference entry contains a line of 600USD, the reversal is creating a line of -600USD.
      
      Before this commit:
      
      Because both lines were sharing the same foreign currency (EUR) but have an amount_residual_currency of 0, no partial was created and then, a new exchange difference was generated in order to fix the amount_residual of 600 in USD.
      
      After this commit:
      
      A partial is created to handle the residual amount in USD even the residual amount in foreign currency is already zero.
      
      Note: this issue is also there when the reconciliation is made using the company's currency with different foreign currencies.
      In that case, amount_residual is zero but not amount_residual_currency.
      
      closes odoo/odoo#66653
      
      Opw: 2450699
      Signed-off-by: default avataroco-odoo <oco-odoo@users.noreply.github.com>
      07d5735d
  10. Feb 25, 2021
  11. Feb 17, 2021
  12. Feb 24, 2021
  13. Feb 23, 2021
    • Katherine Zaoral's avatar
      [ADD] l10n_ar: generic changes to use in QR code · e87e5a17
      Katherine Zaoral authored
      
      AFIP give us new resolution 4291 that request to print QR code in
      printed version of electronic invoices. For that we:
      
      1) update the xml report footer style
      2) add generic method to sanitze the identification number we are
      sending, the sanitize method is added here in order to be re used for
      other functionalities across electronic invoice and reports. If we are
      not able to sanitize the number then we show an error to the user
      3) update translations to add new raise message translated term
      
      closes odoo/odoo#65033
      
      Related: odoo/enterprise#15948
      Signed-off-by: default avatarJosse Colpaert <jco@openerp.com>
      e87e5a17
    • Goffin Simon's avatar
      [FIX] point_of_sale: Multicompany tax · bfc9153e
      Goffin Simon authored
      
      Steps to reproduce the bug:
      
      - Create a multi-company environment with two companies A & B
      - Create two sales taxes TA & TB, one for company A & one for company B
      - Created a shared product P and assign both TA & TB
      - Create a fiscal position FP that maps TA and TB to other taxes
      - Login with user having access of both companies
      - Enable a POS session S with fiscal position and select FP
      - Open S and select P as product
      
      Bug:
      
      A traceback was raised
      
      PS: Only the taxes of company's user are loaded in taxes_by_id
      So when trying to fetch taxes from a product with function get_taxes,
      the taxes from other companies than company's user must be ignored.
      
      opw:2448785
      
      closes odoo/odoo#66717
      
      X-original-commit: 5dcfdcb2
      Signed-off-by: default avatarSimon Goffin (sig) <sig@openerp.com>
      bfc9153e
  14. Feb 04, 2021
  15. Feb 23, 2021
  16. Feb 18, 2021
  17. Feb 23, 2021
Loading