Skip to content
Snippets Groups Projects
  1. Oct 17, 2019
  2. Oct 16, 2019
    • Goffin Simon's avatar
      [FIX] account: Set default for invoices · 04deb959
      Goffin Simon authored
      
      In 12.0, the function onchange_default defined in odoo/models.py
      was triggered on model 'account.invoice' for the fields type, company_id,
      partner_id
      
      In 13.0, as the model 'account.invoice' has been removed by 'account.move',
      the same logic must be applied on this model.
      
      opw:2086812
      
      closes odoo/odoo#38849
      
      Signed-off-by: default avatarSimon Goffin (sig) <sig@openerp.com>
      04deb959
  3. Oct 15, 2019
  4. Sep 24, 2019
  5. Oct 10, 2019
    • Jitendra Prajapati's avatar
      [FIX] web_editor: fixed the traceback on close modal dialog · 93deb25f
      Jitendra Prajapati authored
      
      The issue here is, for modal dialogs (eg newsletter popup), when we close
      the dialog, the modal is destroyed and so after the delayed execution due to
      timeout, the dialog will not be available and it will generate the issue.
      
      removed delayed execution for the traceback, which is relevant to
      the modal dialogs.
      
      task-2075232
      
      closes odoo/odoo#38506
      
      Signed-off-by: default avatarDavid Monjoie (dmo) <dmo@odoo.com>
      93deb25f
    • Jitendra Prajapati's avatar
      [FIX] website_mass_mailing: fixed the traceback on close modal dialog · 110ea837
      Jitendra Prajapati authored
      The issue here is, the modal for the newsletter is part of the editable area,
      and when we click on the 'close' button of that modal, it is destroyed but the
      'summer note' tries to bind the events related to the button(because close is a button).
      
      fixed the traceback, to disable invoking 'summer note' events on click of
      the 'close' button on modal
      
      task-2075232
      110ea837
  6. Oct 16, 2019
  7. Oct 09, 2019
  8. Oct 16, 2019
    • Odoo's Mergebot's avatar
      [FIX] web: Correctly aggregate values in exported parent groups · dc03d506
      Odoo's Mergebot authored
      
      [FIX] web: Correctly aggregate values in exported parent groups
      --------------------
      When exporting a grouped list view with some nested groups, the aggregate value
      of parent groups are not correct. It always sums aggregated values of children
      whether the group operator is 'sum' or not (could be 'max', 'avg', ...).
      
      This behavior is wrong and can even lead to a crash if the aggregated field is a
      date field (e.g. with group_operator='max'). (Try two sum two dates...)
      
      To avoid the crash a quick fix was merged 85cf47fc just before OXP. This fix
      limited the support of aggregates to only int and float fields.
      This commit remove this limitation.
      
      This commit correctly implements the aggregation for parent group for all
      field types and all group_operator.
      
      This commit also improves the export feature tests.
      
      [FIX] base export: Manage False in groupby title
      --------------------
      Before this commit, when we export a list with a groupby on
      boolean, the groupby title 'False' is replaced by 'Undefined'
      in xls document.
      
      After this commit, with an export and groupby on a boolean, we
      will have correct title: True and False.
      
      --
      I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
      
      closes odoo/odoo#38373
      
      Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
      Unverified
      dc03d506
    • Lucas Lefèvre's avatar
      [FIX] web: Avoid variable name confusion · 6225ce60
      Lucas Lefèvre authored
      The attribute `self._fields` is not well named. This is not a list of instances
      of the Field class.
      It is a list of field names to export.
      e.g. 'journal_id', 'account_id/name'
      6225ce60
    • Lucas Lefèvre's avatar
      [FIX] web: Correctly aggregate values in exported parent groups · 5e7e4fa9
      Lucas Lefèvre authored
      When exporting a grouped list view with some nested groups, the aggregate value
      of parent groups are not correct. It always sums aggregated values of children
      whether the group operator is 'sum' or not (could be 'max', 'avg', ...).
      
      This behavior is wrong and can even lead to a crash if the aggregated field is a
      date field (e.g. with group_operator='max'). (Try two sum two dates...)
      
      The quick fix 85cf47fc was merged just before OXP to avoid any crash. This fix
      limited the support of aggregates to only int and float fields.
      This commit remove this limitation.
      
      This commit correclty implements the aggregation for parent group for all
      field types and all group_operator.
      
      This commit also improves the export feature tests.
      5e7e4fa9
    • jbm-odoo's avatar
      [FIX] web: Manage False in groupby title · 7e2c7bc3
      jbm-odoo authored
      Before this commit, when we export a list with a groupby on
      boolean, the groupby title 'False' is replaced by 'Undefined'
      in xls document.
      
      After this commit, with an export and groupby on a boolean, we
      will have correct title: True and False.
      7e2c7bc3
  9. Oct 15, 2019
  10. Oct 14, 2019
  11. Oct 16, 2019
  12. Oct 11, 2019
  13. Oct 16, 2019
    • fw-bot's avatar
      [FIX] base: Allow default email_from by database · c06b4f52
      fw-bot authored
      
      It is possible to get to a situation where Odoo would try to send an email without a `From:` header address.
      
      In such case, you're unlucky if you don't have access to the underlying deployment, or if you use multiple databases in a single Odoo instance and each of them uses a different mail configuration.
      
      To make this configuration easier to use and cover those use cases, here I add support for a new ICP: `mail.default.from`. It will be used when present, so it shouldn't affect existing deployments. When present, it will allow a admin to configure the default sending address just with Odoo itself.
      
      closes odoo/odoo#38865
      
      X-original-commit: 5010ce63
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      c06b4f52
  14. Oct 10, 2019
  15. Oct 16, 2019
  16. Oct 15, 2019
    • Arturo Flores's avatar
      [IMP] l10n_pe: improve how we display the address for Peru · 24a3571e
      Arturo Flores authored
      
      Once we add an address in Peru we need it to be displayed in the next
      way for the reports:
      
      Name of the partner
      Street name, number
      Apartment(optional)
      District
      City
      
      The level State and Country are added to complement the street address.
      
      closes odoo/odoo#38764
      
      Signed-off-by: default avatarJosse Colpaert <jco@openerp.com>
      24a3571e
    • Arturo Flores's avatar
      [FIX] l10n_pe, base_vat: Finish prepration for l10n_pe_edi · 88681f8f
      Arturo Flores authored
      - base_vat: Correct management of the check of peruvian VAT without prefix.
      - l10n_pe: Correct income account the last one is not correct.
      - l10n_pe: Forced Round globally for peruvian companies once l10n_pe is
      installed, and with the onchange.
      - l10n_pe: For peruvian companies it does not make sense a sequence per
      year and the year in the prefix is incorrect, we must force XXX- as
      a sequence prefix.
      88681f8f
  17. Oct 16, 2019
  18. Oct 15, 2019
  19. Oct 10, 2019
  20. Oct 15, 2019
    • Olivier Dony's avatar
      [FIX] bus,im_support: adapt im_support to bus changes · d886aff3
      Olivier Dony authored
      
      The im_support module was broken in 12.0 after bus refactorings between
      11.0 and 12.0.
      
      closes odoo/odoo#38831
      
      X-original-commit: db37e0ce
      Signed-off-by: default avatarOlivier Dony (odo) <odo@openerp.com>
      Co-authored-by: @alexkuhn
      d886aff3
    • Lucas Perais (lpe)'s avatar
      [FIX] account: reconciliation widget fetch correct reconciliation models · c285d578
      Lucas Perais (lpe) authored
      
      Have a reconciliation model that applies to some particular journals
      And that will match some of those journals' lines
      The field journal should be filled too
      (this field is only the default journal that a proposition will be filled with)
      
      Open the reconciliation widget on a given journal, within the list of
      possible journal (from the account dashboard)
      
      Before this commit there was a crashed. This was caused by the fact that
      one of the lines that should be displayed had a reconcile model that was not fetched beforehand
      
      After this commit, there is no crash as all relevant reconcile
      models are fetched
      
      Note that, on reconcile models, the field journal_id is just there to prefill
      the propositions it will create
      
      corrects commit e5c80714
      
      OPW 2084942
      
      closes odoo/odoo#38817
      
      X-original-commit: 2f4344cce6672e5dbe319047c5c7db293a05ba54
      Signed-off-by: default avatarLucas Perais (lpe) <lpe@odoo.com>
      c285d578
    • Martin Trigaux's avatar
      [FIX] event: print registrations without name · 4e341a2f
      Martin Trigaux authored
      
      Before this commit, trying to print a registration without a name
      specified (not required), was failing
      
      Fixes odoo/odoo#38564
      
      Replace and closes odoo/odoo#38582
      Courtesy of Swapnesh Shah
      
      closes odoo/odoo#38811
      
      X-original-commit: a21a81e9
      Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
      4e341a2f
  21. Oct 10, 2019
    • Katherine Zaoral's avatar
      [FIX] l10n_ar: Properly compute fiscal position for Argentinian · 74f17204
      Katherine Zaoral authored
      companies.
      
      We revert the change we apply in order to let the user to define their
      own fiscal positions, now the fiscal position will be set depending on
      the afip responsability.
      
      With this change we fix the error that the fiscal position is properly
      setted for the customers that are of type "Responsable Inscription" and
      "Consumidor Final".
      
      Before this change the "Compras / Ventas en el Exterior" fiscal position
      was wrongly seted, now the fiscal position is leave empty so the related
      invoice taxes are properly matched
      
      closes odoo/odoo#38431
      
      Signed-off-by: default avatarJosse Colpaert <jco@openerp.com>
      74f17204
  22. Oct 11, 2019
Loading