Skip to content
Snippets Groups Projects
  1. Jan 30, 2020
  2. Jan 31, 2020
  3. Jan 30, 2020
  4. Feb 03, 2020
  5. Jan 31, 2020
  6. Feb 03, 2020
  7. Jan 31, 2020
  8. Feb 02, 2020
  9. Jan 24, 2020
    • Katherine Zaoral's avatar
      [IMP] l10n_ar: extend constraint on pos number to ensure max 5 digits · 3e991fb4
      Katherine Zaoral authored
      
      Before this change we were letting the user to create a journal with a
      AFIP POS Number they like, and where they try to post an invoice in that
      jounrals they receive an error message telling that the document has not
      valid POS Number.
      
      In order to avoid this we add as part of the constraint where we check
      the validity of the AFIP POS Number which is: should be greater that 0,
      and should be 5 digits max.
      
      closes odoo/odoo#43879
      
      Signed-off-by: default avatarJosse Colpaert <jco@openerp.com>
      3e991fb4
    • Katherine Zaoral's avatar
      [ADD] l10n_ar: use 5 digits pos number instead of 4 · a475de89
      Katherine Zaoral authored
      The law itself said that you can use 4 or 5 digits, but some customers
      complains that they want 5 (for eg. 00001) because some suppliers reject
      the invoice if only 4 digits (that is wrong, but suppliers do anything
      to avoid paying).
      
      We've check and AFIP online invoices use 5 digits always. So, to satisfy
      customers/suppliers and make code simpler, we think using 5 digits is a
      better option.
      a475de89
  10. Jan 30, 2020
    • lejeune quentin's avatar
      [IMP] point_of_sale: Add the possibility to the IoT Box to perform a self-flashing · 407d9a88
      lejeune quentin authored
      
      To be able to flash the partition on which the IoT Box is executed,
      we must create a third partition and install an OS there to be able
      to boot on it and flash the partition of the IoT Box
      
      - Creation of the third partition
      - Raspbian download and checksum verification
      - Installation of Raspbian on the third partition
      - Download the IoT image on the Raspbian partition and check the checksum
      - Reboot on the Raspbian partition
      - Installation of the IoT image on the second partition
      - Reboot on the IoT partition
      - Cleaning and deleting the third partition
      
      closes odoo/odoo#43591
      
      Task: 2161955
      Signed-off-by: default avatarQuentin Lejeune (qle) <qle@odoo.com>
      407d9a88
  11. Jan 28, 2020
  12. Jan 31, 2020
    • Simon Lejeune's avatar
      [REF] stock, stock_account: indices for fast move unlink · e34a176d
      Simon Lejeune authored
      
      Stock moves records can be unlinked in some cases, for example when
      confirming a move containing a kit, the original move is unlinked and
      replaced by the moves of the components of the kit.
      
      This commit adds two indices to accelerate the unlink of stock move
      records. The fields were the indices are added are foreign key on stock
      move, and postgres checks the foreign keys of the rows before deleting
      them.
      
      closes odoo/odoo#44337
      
      Signed-off-by: default avatarSimon Lejeune (sle) <sle@openerp.com>
      e34a176d
    • Rémy Voet (ryv)'s avatar
      [FIX] stock: fix move line without state · 8f28b302
      Rémy Voet (ryv) authored
      
      When the "Show Detailed Operations" is enabled on a picking type,
      create a immediate transfers with it, validate, unlock and readd
      a new detailed operation, save and it will create a move line without
      any state. Due this lack of state, the quant won't be updated.
      
      Fix by remove the readonly=False in the state fields
      (3f4f77fd), to avoid sending
      state:False by the web client.
      
      closes odoo/odoo#44273
      
      Signed-off-by: default avatarSimon Lejeune (sle) <sle@openerp.com>
      8f28b302
    • Jason Van Malder's avatar
      [FIX] web_editor: fix required html fields · c984b1b1
      Jason Van Malder authored
      
      Issue
      
          - Studio
          - Add an required html field
          - Create new record
          - Leave it empty
      
          It is saved
      
      Cause
      
          The isSet function of FieldHtml widget, have a "/" in the <br> tag
          and summernote empty = <p><br></p>. If you add a space, the value
          becomes <p>&nbsp;&nbsp;   <p>.
      
      Solution
      
          Remove the "/" and the spaces, check if value != <p></p> &&
          <p><br></p>
      
      OPW-2183687
      
      closes odoo/odoo#44250
      
      Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
      c984b1b1
  13. Jan 30, 2020
    • Paul Morelle's avatar
      [FIX] website_blog: fix sidebar overflow · a5ff42ce
      Paul Morelle authored
      
      When a tag has a very long name, on a screen too narrow, the sidebar
      overflows outside of the screen and a horizontal scrollbar appears.
      
      By allowing the tags to wrap, the overflow does not occur any more,
      excepted if there is a very long word. In that case, we truncate it.
      
      Same goes in the short blog post template, excepted that the parent's
      width is already specified.
      
      closes odoo/odoo#44206
      
      Signed-off-by: default avatarToufik Benjaa (tbe) <tbe@odoo.com>
      a5ff42ce
  14. Jan 31, 2020
  15. Jan 14, 2020
  16. Jan 31, 2020
  17. Jan 27, 2020
  18. Jan 07, 2020
  19. Jan 06, 2020
  20. Jan 30, 2020
    • Thibault Francois's avatar
      [FIX] payment: don't show unwanted payment token · 9edad5d9
      Thibault Francois authored
      
      The access right on payment_token is based on the partner_id
      linked with the user
      
      If there is token link with the public user,
      they are shown for every request were the partner_id is not defined
      If you are logged with an internal user with sales access right,
      you'll see all the payment_token linked with the acquirer
      
      We should avoid both situation and show only the payment_token
      from the legit partner_id
      the one of the current user or the one given as parameter
      
      closes odoo/odoo#44319
      
      Signed-off-by: default avatarDamien Bouvy (dbo) <dbo@odoo.com>
      Co-authored-by: default avatarDamien Bouvy <dbo@odoo.com>
      9edad5d9
    • Andrea Grazioso (agr-odoo)'s avatar
      [FIX] point_of_sale: send receipt ticket as attachment · 443b81b2
      Andrea Grazioso (agr-odoo) authored
      
      Open POS, make an order, on the payment screen select email, select a
      customer, pay and validate.
      
      The receipt will be not an attachment, but a code image. The side effect
      is the visualization dependant on the viewer (email client, webmail,
      etc.)
      
      opw-2179303
      
      closes odoo/odoo#44316
      
      Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
      443b81b2
    • Xavier Morel's avatar
      [IMP] core: only show JS stacktrace for exceptions & console.trace · 34500853
      Xavier Morel authored
      
      When revamping the message fetching from the headless browser, since
      stacktraces are available (by default) on console.error and
      console.warning events I assumed it could / would be useful to show
      them in the Python-level log. And they *were* quite useful during the
      original fixing stage.
      
      However they turn out not to be very useful day-to-day:
      
      * they add a lot of noise and lead to the error message itself being
        lost in a big block of red / logging.error
      * when a tour fails (which is the vast majority of the failures) the
        JS stacktrace always points to the same location in the tour
        manager (the one which goes "this step never succeeded") which is
        completely useless
      * aside from being bundled, normal JS code (where the stacktrace could
        be useful) doesn't generally use console.warn or console.error, it's
        going to straight blow up with an exception in which case we always
        get a stacktrace
      
      Leave the stacktrace formatting for console.trace as that's pretty
      much the only point of using this instead of console.log.
      
      closes odoo/odoo#44311
      
      Signed-off-by: default avatarXavier Morel (xmo) <xmo@odoo.com>
      34500853
    • Alexandre Kühn's avatar
      [FIX] web: update search view menu on click IME suggestion menu · 4dffbbbc
      Alexandre Kühn authored
      
      Before this commit, when typing something in the search view in
      Japanese, and then clicking on a suggestion from the IME dropdown
      menu, the search view menu did not update with selection.
      
      Steps to reproduce:
      
      - Enable Japanese IME in hiragana mode;
      - Type "test" in search view;
      - Soft-select another suggestion item, e.g. "テスト";
      - Double-click on suggestion item "test";
      
      => The search view menu still detects "テスト".
      
      As a result, clicking on any of these search view suggested filters
      picks "テスト" instead of "test".
      
      This commit fixes the issue by updating search menu when clicking
      in a suggestion in the IME menu.
      
      opw-2061590
      
      closes odoo/odoo#44304
      
      X-original-commit: 0bca4c0883f2b58842da6a8c1a4e26bf2444d5f3
      Signed-off-by: default avatarAlexandre Kühn (aku) <aku@odoo.com>
      4dffbbbc
  21. Jan 29, 2020
  22. Jan 30, 2020
Loading