Skip to content
Snippets Groups Projects
  1. Nov 28, 2022
    • Tommy (tong)'s avatar
      [FIX] delivery: unit test · a1afad5a
      Tommy (tong) authored
      
      closes odoo/odoo#106161
      
      X-original-commit: 0ac1fd90
      Signed-off-by: default avatarArnold Moyaux (arm) <arm@odoo.com>
      a1afad5a
    • Romeo Fragomeli's avatar
      [FIX] web: kanban: quick create column text wrapped · 62b692b6
      Romeo Fragomeli authored
      
      In kanban view, the columns are in a flex container and as there is no
      specific flex rules on the quick create column and is shrink by
      default. So when the new column is above the edge of the viewport, it
      starts to shrink.
      
      To avoid this bug we have added the same flex rules has the kanban
      column.
      
      Steps to reproduce:
      * Open Note
      * Create many new column => BUG text wrapped when the new column reach
        the width of the viewport.
      
      closes odoo/odoo#106549
      
      Signed-off-by: default avatarPierre Paridans (app) <app@odoo.com>
      62b692b6
    • Patrick Hoste's avatar
      [FIX] mass_mailing: fix unsubscription_date when opt_out on create · e7c22094
      Patrick Hoste authored
      
      Before this commit when creating a mailing contact with a mailing
      list opt_out at creation the unsubscription_date wasn't set.
      Indeed, from the mailing contact view the mailing list uses an
      editable list that passes all the values at create even when not set
      contrary to when one update the contact only the changed values are
      passed. This commit fix this issue.
      
      Task-3070852
      
      closes odoo/odoo#106260
      
      X-original-commit: d6758919
      Signed-off-by: default avatarWarnon Aurélien (awa) <awa@odoo.com>
      Signed-off-by: default avatarHoste Patrick (pko) <pko@odoo.com>
      e7c22094
    • Nicolas Bayet's avatar
      [FIX] web_editor: check method addNeutralStyle · 065d3dc3
      Nicolas Bayet authored
      
      Because of css limitation, the child of a parent that define a
      text-decoration cannot "neutralize" that decoration defined by its
      parent with a css property (ie. the text-decoration cannot be
      overridden).
      
      When a block define an inline style or any tag that have a class, the
      method `formatSelection` tries to "neutralize" the style by calling
      `addNeutralStyle`. As it is impossible to "neutralize" the style for
      underline nor strikeThrough, there is no method `addNeutralStyle`
      defined for those properties.
      
      Before this commit the method `formatSelection` was crashing because
      `addNeutralStyle` was not defined.
      
      Task-3002123
      
      closes odoo/odoo#106632
      
      X-original-commit: ce068a31
      Signed-off-by: default avatarDavid Monjoie (dmo) <dmo@odoo.com>
      065d3dc3
    • Jérôme Hellinckx's avatar
      [FIX] purchase_stock: avoid PO exception propagation to DONE receipts on less received quants · 32e8fae2
      Jérôme Hellinckx authored
      
      Before this commit:
      1. Create PO with quantity 10, confirm (creates receipt-1)
      2. Receive 2 quantities on first receipt (receipt-1), backorder (receipt-1 is 'done', creates receipt-2)
      3. Receive 3 quantities on second receipt (receipt-2), backorder (receipt-2 is 'done', creates receipt-3)
      4. Change quantity to 5 in PO
      5. An exception is created on all receipts (1, 2 and 3)
      
      In the scenario above, receipt-1 and receipt-2 are partial receipts that are set to 'done'.
      It is not necessary to create an exception in these receipts when the quantity is changed to less than originally expected in the PO.
      Since the system checks that the new quantity has to be equal or greater than the received quantities, the already received quantities cannot be impacted.
      
      After this commit:
      The exception is only propagated to the receipts that are not done.
      e.g. in the example above, an exception appears only in receipt-3.
      
      task-2648209
      
      resolves #76297
      
      closes odoo/odoo#106627
      
      X-original-commit: d6fad232
      Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
      32e8fae2
    • Florent de Labarre's avatar
      [FIX] stock: impossible to search correctly location · 55729e2b
      Florent de Labarre authored
      
      Before this PR Odoo don't pre-search on location.
      
      closes odoo/odoo#106604
      
      X-original-commit: 71a3b5b2
      Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
      55729e2b
    • niyasraphy's avatar
      [FIX] lunch: timezone field alignment in alert form view · 4b0efa70
      niyasraphy authored
      
      closes odoo/odoo#104664
      
      Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
      4b0efa70
    • Jinane Maksoud's avatar
      [FIX] mrp: fix the filter order in _bom_find_domain · 2203f27a
      Jinane Maksoud authored
      
      Only active boms should be returned by the domain even if
      they match a product id.
      
      closes odoo/odoo#106608
      
      X-original-commit: 2a73890d
      Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
      2203f27a
    • Donatas's avatar
      [IMP] website_sale: adds search_product to shop values · 63a18275
      Donatas authored
      
      closes odoo/odoo#106606
      
      X-original-commit: 3772da47
      Signed-off-by: default avatarWilliam Braeckman (wbr) <wbr@odoo.com>
      63a18275
    • Lucas Lefèvre's avatar
      [FIX] spreadsheet: update o_spreadsheet to latest version · 5c566918
      Lucas Lefèvre authored
      ### Contains the following commits:
      
      https://github.com/odoo/o-spreadsheet/commit/f83585f2
      
       [FIX] InternalViewport: compute the actual visible rect of a zone
      
      closes odoo/odoo#106578
      
      Signed-off-by: default avatarPierre Rousseau (pro) <pro@odoo.com>
      5c566918
    • Lucas Lefèvre's avatar
      [FIX] spreadsheet_dashboard_hr_expense: remove wrong dependency · 46636f23
      Lucas Lefèvre authored
      
      Module `spreadsheet_dashboard_hr_expense` depends on `hr_expense`
      but uses the field `sale_order_id` which is only introduced with
      `sale_expense`.
      `spreadsheet_dashboard_hr_expense`'s dependencies are wrong.
      
      To fix the issue:
      
      1) we remove references to `sale_order_id` in `spreadsheet_dashboard_hr_expense`.
      Note that it won't be applied to existing databases. The spreadsheet would
      need to be updated "by hand" by deleting the cells, the filter and the pivot
      object.
      
      2) we introduce a new auto_install module with the correct dependencies to restore
      the current dashboard.
      
      On the master branch, `spreadsheet_dashboard_hr_expense`'s
      dependencies is correctly changed to `sale_expense` by odoo/odoo#105148
      
      closes #103899
      
      closes odoo/odoo#104125
      
      Signed-off-by: default avatarRémi Rahir (rar) <rar@odoo.com>
      46636f23
    • Valentin Vallaeys (vava)'s avatar
      [FIX] product,web: color_field fixes for product variant color · c67c32c2
      Valentin Vallaeys (vava) authored
      
      There was a typo in the color_field xml not allowing to disable the
      pop-up in case of readonly. A test validates the feature is active.
      
      The color_field now displays the transparent symbol (instead of black
      color) in case the color is undefined.
      
      The product configurator also displays the transparent symbol for
      undefined non-custom colors.
      
      task-3013110
      
      closes odoo/odoo#103478
      
      Signed-off-by: default avatarVictor Feyens (vfe) <vfe@odoo.com>
      c67c32c2
    • Kartik Chavda's avatar
      [FIX] hr_timesheet: fix searching on is_project_overtime field · cbd091cb
      Kartik Chavda authored
      
      Before this commit Projects in overtime filter does not return
      project as expected after project has allocated hours to set
      on then.
      
      This commit fixes by taking allocated hours into account to
      search for project that are in over time.
      
      task-3000817
      
      closes odoo/odoo#106428
      
      X-original-commit: a6d652a85a428a28d3d6eab25e591c08809c2a34
      Signed-off-by: default avatarLaurent Stukkens (ltu) <ltu@odoo.com>
      cbd091cb
    • dbkosky's avatar
      [ADD] l10n_ke_edi_tremol: KE fiscal device · b0be9e07
      dbkosky authored
      
      This module implements communication with the fiscal device for
      submitting invoices to the KRA (Kenya Revenue Authority). The device
      supported in this module is the Tremol G03.
      
      -- COMMUNICATION FLOW SUMMARY --
      1. "Send Invoice To Device" on account move is clicked
      2. l10n_ke_action_cu_post triggers a client action, with serialised
         invoice data. (more details below)
      3. The client action uses the 'post_send' function defined in javascript
         to forward the request to the /hw_proxy/l10n_ke_cu_send endpoint on
         the proxy server (more details below)
      4. The proxy server wraps the serialised data with the appropriate bytes
         (for instance, a couple of a checksum bytes), and sends them to the
         device through serial communication (more details below)
      5. The data returned from the fiscal device is communicated back in the
         request. The client action 'post_send' then triggers the
         'l10n_ke_cu_response' with an rpc call, with the aforementioned data
         from the fiscal device
      
      (more details)
      2. The module l10n_ke_edi_tremol inherits from the account_move model in
      order to provide methods for serialising the data of the account_move
      and sending it to the proxy server. Fields have been added to the
      product template to define the HS Code and HS Name (data which is
      required by the KRA in some circumstances). A field has also been added
      to the company defining the address of the proxy server. The fields
      added on the account move are populated by the data returned by the
      fiscal device, this includes the device serial number, the invoice
      number on the device, the URL of the invoice on the KRA web portal, and
      the date/time the invoice was signed.
      
      3. Communication between the client database and the proxy server is
      defined using a client action defined in
      l10n_ke_edi_tremol/static/src/js/send_invoice.js. This allows users who
      aren't on-premise to communicate with the device, provided the proxy is
      accessible on the network that the user is on.
      
      4. The proxy server is an intermediary server that should be connected
      to the tremol G03, and running the IOT drivers from hw_drivers. The
      driver that supports communication between the proxy server and the
      fiscal device has been defined in this commit inside of
      hw_drivers/iot_handlers/drivers//L10nKeEDISerialDriver.py.
      The proxy server can be run on the IOT box, or on odoo community by
      running:
      ./odoo-bin addons-path=.... -d dbname --load hw_drivers --proxy-mode
      
      ** all messages are encoded/decoded with cp1251, as defined in the
      protocol. The company vat code is sent along with the request to compare
      that sent with that of the device. The 'serial_number' of the device is
      always returned along with the request, since it is required for the
      invoice details, and it is retrieved as part of the query to find the
      registered VAT code on the device.
      
      --- DATA and VIEWS ---
      product_view:
      adds HS Name, and HS Code on the product product and product template
      form views.
      
      report_invoice:
      adds to the invoice qweb template such that a section including the
      fiscal device / KRA details is included at the bottom of the invoice
      when the invoice is rendered as a pdf.
      
      res_config_settings_view:
      adds makes the proxy address field editable from the config settings.
      
      account_move_view:
      add a tab for the tremol device details and the qr code on the account
      move form view. The KRA invoice number is also added as an optional
      field on the account move tree view, and the invoice search view is
      inherited to make this field searchable too.
      
      (l10n_ke) account_tax_report_data, account_tax_template_data:
      The tax report is defined for Kenya, and tax tags that link to the lines
      on this tax report are defined on the existing taxes. This allows the
      classification of the tax, between zero-rated and exempt, during the
      serialisation.
      
      closes odoo/odoo#106653
      
      Task-id: 2950308
      Signed-off-by: default avatarJosse Colpaert <jco@odoo.com>
      b0be9e07
  2. Nov 27, 2022
  3. Nov 25, 2022
    • Walid HANNICHE (waha)'s avatar
      [FIX] web: adding toggle to view with studio · b686c1d9
      Walid HANNICHE (waha) authored
      
      Steps to reproduce:
      - edit RFQ model with studio
      - add a toggle widget to the product list
      - activate/deactivate the toggle multiple times on different products
      
      Bug:
      sometimes the element on the widget is undefined when trying to rerender
      
      Fix:
      check the element is defined before trying to render it
      
      opw-3013024
      
      closes odoo/odoo#106607
      
      X-original-commit: 1b09a631
      Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
      Signed-off-by: default avatarWalid Hanniche (waha) <waha@odoo.com>
      b686c1d9
    • Antoine Dupuis (andu)'s avatar
      [FIX] account: Deferred income wiz - don't reconcile draft entries · 60ca63a0
      Antoine Dupuis (andu) authored
      
      When creating draft deferred entries in a reconcilable account,
      we should not attempt to reconcile them, because only posted entries
      can be reconciled.
      
      closes odoo/odoo#106592
      
      X-original-commit: edaf019e
      Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
      60ca63a0
    • Guillaume (gdi)'s avatar
      [FIX] website: prevent carousel indicators errors · 212e8ce6
      Guillaume (gdi) authored
      In this commit [1] (merged in 16.0) a bugfix has been made in the
      `removeSlide` function but this one should have been applied on all
      supported versions because the bug it fixes is present on all versions.
      The bug it fixes is the following:
      - Drop a carousel block on a page
      - Remove the *first* slide
      
      => There is no active indicator.
      
      Moreover, the bugfix made in 16.0 [1] introduces another error: when a
      slide is removed from the carousel the indicators are not in a correct
      state anymore.
      
      Following the same steps with the changes of [1]:
      - Drop a carousel block on a page
      - Remove a slide
      
      => Indicators are no longer consistent with the slides so tracebacks
      appear during the carousel slides. The list of indicators must have on
      each element a `data-slide-to` attribute which must reflect the
      position of the slide (starting with 0).
      
      So this commit is to backport the fix from 16.0 [1] to 14.0 and to fix
      the new bug that [1] introduces.
      
      [1]: https://github.com/odoo/odoo/commit/f7055d3dbabfbe471f490bd65c2032f5251f3f37
      
      
      
      task-3040931
      opw-3051615
      
      closes odoo/odoo#106634
      
      X-original-commit: 16405934
      Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
      212e8ce6
    • Guillaume (gdi)'s avatar
      [FIX] website: scroll to the next visible element · a6725bed
      Guillaume (gdi) authored
      
      Before this commit, the buttons to scroll to the next element might not
      work if the next element was invisible.
      Steps to reproduce the bug fixed by this commit:
      
      (Note that these steps are only reproducible from 15.0. We decided to
      merge this fix in 14.0 to be custo-friendly)
      
      - Install two languages on a website
      - Drop a cover block (1), with a height of 100% and a scroll down button
      - Drop a new block (2) only visible for language B below the block 1
      - Drop a new block (3) visible for everyone below the block 2
      - Save and go to the site in language A
      - Click on the scroll down button
      
      => No scroll at all while the user expects to scroll to the block
      visible to everyone (3). This commit fixes that by making the user
      scroll down to see the next visible element.
      
      opw-2967706
      
      closes odoo/odoo#106474
      
      X-original-commit: 076d7ac7
      Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
      a6725bed
    • Thibault Delavallée's avatar
      [FIX] mass_mailing: use frontend assets in subscription page · 5136ac7e
      Thibault Delavallée authored
      
      PURPOSE
      
      Overall cleaning of subscription and exclusion management code from portal.
      
      SPECIFICATIONS
      
      Unsubscribe page uses a custom layout allowing a portal-like behavior for
      mass mailing without any link to website or portal. However it currently
      uses the complete backend assets and crashes when trying to display the
      unsubscription page, due to missing assets, modules, ...
      
      When having frontend pages like the one used in mass mailing it should rely
      on frontend assets with some custom assets if necessary for the page to
      be correctly displayed.
      
      In this commit we choose to use frontend assets like other portal-like pages.
      Mailing layout now uses the frontend layout defined in web and adds its own
      subset of assets (mailing_assets). Some custom css is moved or added as well
      as few tweaks to ensure layouting is globally the same as before this commit.
      
      Task-3082546 (Mass Mailing: Fix assets and unsubscribe page)
      
      closes odoo/odoo#106595
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      5136ac7e
    • Mathieu Duckerts-Antoine's avatar
      [FIX] web: search model: one2many search default labels · 50f58212
      Mathieu Duckerts-Antoine authored
      
      When a one2many is used as a search default, its label has to be fetch
      via a name_get in order to get a correct display of the facet
      corresponding to that field in the search bar. It turns out that the
      search model did not wait properly the return of the name_gets before to
      start to compute the facets.
      
      closes odoo/odoo#106575
      
      X-original-commit: 95ef4253
      Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
      Signed-off-by: default avatarMathieu Duckerts-Antoine <dam@odoo.com>
      50f58212
    • Mathieu Duckerts-Antoine's avatar
      [FIX] web: fix the error that the name of the line is too long · 54657151
      Mathieu Duckerts-Antoine authored
      
      - Currently the label of the lines is not limited to the number of characters. When the user gives a name that is too long, the graph will not be displayed.
      - This commit limits the number of labels, if exceeded it will display as ...
      
      closes odoo/odoo#106564
      
      X-original-commit: d4b91b6c
      Signed-off-by: default avatarMathieu Duckerts-Antoine <dam@odoo.com>
      54657151
    • Antoine Guenet's avatar
      [IMP] web: extend form default autofocus to textarea and contenteditable · 82a98715
      Antoine Guenet authored
      
      When rendering, the form view looks for the element it should autofocus,
      and defaults to the first text input it finds. This extends that default
      behavior to the first textarea or contenteditable element.
      
      closes odoo/odoo#106537
      
      Signed-off-by: default avatarDavid Monjoie (dmo) <dmo@odoo.com>
      82a98715
    • Antoine Guenet's avatar
      [FIX] web_editor: handle `default_focus` form attribute for html_field · 7e14e2a9
      Antoine Guenet authored
      When rendering a form view that has a truthy `default_focus` attribute,
      the renderer looks for the element in its tree that has its `name` as
      `id`. However in the case of `html_field` it couldn't find it since
      `html_field` failed to apply that `id` to its focusable element (the
      editable root). This adds the `id` to the editable root when rendering
      the element in `wysiwyg`, and also directly applies `contenteditable` to
      it so the `focus` method actually does what we expect it to, even though
      we are waiting for `HtmlFieldWysiwygAdapterComponent` to be mounted
      before actually instantiating the editor itself.
      
      task-3073096
      
      Part-of: odoo/odoo#106537
      7e14e2a9
    • Romain Derie's avatar
      [FIX] website: prevent crash if unexpected cookies bar cookie value · 22392755
      Romain Derie authored
      With commit [1] we refactored the cookies bar to let the user decide if
      he wants to accept the cookies (and/or only part of it).
      Before that commit, the `website_cookies_bar` cookie could only hold
      `true` as value, which now is holding an object like
      `{"required": true, "optional": false}`.
      
      This creates an issue if a user is coming from a previous version with
      `true` as cookie value because since the refactoring it will crash both
      in JS and PY because `in` instruction with a boolean value will fail in
      both languages.
      
      The decision taken here is simply to remove the cookie if we face such a
      case so the user can decide again what he wants (since there is more
      choices now).
      It also means that we won't be holding an outdated value in the cookie
      any longer.
      
      [1]: https://github.com/odoo/odoo/commit/2cbda6c98ee947cea1d06c09880eee8c758304a8
      
      
      
      opw-3074303
      
      closes odoo/odoo#106476
      
      Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
      22392755
    • Arnold Moyaux's avatar
      [FIX] base, stock, delivery: replace support datamatrix barcode printing · 54ef19f4
      Arnold Moyaux authored
      
      This reverts commit 3ebe1185.
      
      The code ECC200DataMatrix already exist in reportlab (that is already a dependance).
      Some differences:
      - ECC200DataMatrix only supports a Type 12 (44x44) C40 encoded data matrix.
        (214 alphanumeric characters and 14 to 27% of error correcting rate)
      - pylibdmtx support more type and add a default to 24x24. So it means a
        (52 characters and 20 to 35% error correcting rate). It's also smaller
        to display.
      
      We consider the gain too small compare to maintain an extra lib.
      
      It also fix blured datamatrix in stock report if they contains too much
      data.
      
      *If you want to test 001234560000000018 is a valid sscc for package
      
      closes odoo/odoo#106457
      
      X-original-commit: 00a85de0d43a98a91f9199ccb388140fb79be647
      Related: odoo/enterprise#34354
      Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
      Signed-off-by: default avatarArnold Moyaux (arm) <arm@odoo.com>
      54ef19f4
    • amdi-odoo's avatar
      [FIX] web: prevents not dirty forms saving · 787ef58d
      amdi-odoo authored
      
      Purpose
      =======
      Prevents auto save of not dirty forms with
      text fields on page reload and tab/browser closing.
      
      Specifications
      ==============
      The text field default value is making Odoo consider
      the form as dirty even when it's not which triggers
      auto saving for not dirty forms.
      
      Change the text field widget setDirty condition to
      prevent considering empty textarea string dirty.
      Typically, if the previous value was false, false and
      empty string should be considered as the same value.
      
      Task-3031570
      
      closes odoo/odoo#106439
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      787ef58d
    • niyasraphy's avatar
      [FIX] hr: disable launch plan button on warning · 19cef782
      niyasraphy authored
      
      closes odoo/odoo#106385
      
      Signed-off-by: default avatarKevin Baptiste <kba@odoo.com>
      19cef782
    • Shawcker's avatar
      [FIX] account: qr_code_urls bug in report invoice template · a87460bd
      Shawcker authored
      
      To reproduce:
      
      1) activate qr code on invoices
      2) print an invoice with a qr code
      3) print a followup letter, and attach the printed invoice
      
      -> error due to missing 'qr_code_urls' variable in invoice template
      
      This can happen with any report calling this template, thus we decided to set the qr_code_urls
      inside the `report_invoice_document` template directly, so we never need to set it again in _get_report_values()
      This allows to remove the following report classes (done in master due to stable policy)
      - `ReportInvoiceWithoutPayment`
      - `ReportInvoiceWithPayment`
      - `PosInvoiceReport` (not even used anywhere)
      
      closes odoo/odoo#106448
      
      Signed-off-by: default avatarBrice Bartoletti (bib) <bib@odoo.com>
      a87460bd
    • Florent de Labarre's avatar
      [FIX] loyalty : don't raise if user have not access to all reward · 9481e58f
      Florent de Labarre authored
      
      Before this commit it is possible to archive a product if the current user have no access to all reward (multi company rules).
      
      closes odoo/odoo#106559
      
      X-original-commit: 5bafee8d0479367fd25b2fa2daefd4374ab38211
      Signed-off-by: default avatarWilliam Braeckman (wbr) <wbr@odoo.com>
      9481e58f
    • Valentin Vallaeys (vava)'s avatar
      [FIX] payment_sips: wrong numerical code for PLN currency · 48b6be9d
      Valentin Vallaeys (vava) authored
      
      closes odoo/odoo#106552
      
      X-original-commit: d9856868
      Signed-off-by: default avatarAntoine Vandevenne (anv) <anv@odoo.com>
      Signed-off-by: default avatarVallaeys Valentin (vava) <vava@odoo.com>
      48b6be9d
    • Walid HANNICHE (waha)'s avatar
      [FIX] stock_picking_batch: remove create button · f6e52a7a
      Walid HANNICHE (waha) authored
      
      Bug:
      - enable wave transfers
      - Kanban view should not have a create button
      
      Fix:
      removed the button
      
      opw-2978078
      
      closes odoo/odoo#106551
      
      X-original-commit: 3bc3631d
      Signed-off-by: default avatarAdrien Widart <awt@odoo.com>
      Signed-off-by: default avatarWalid Hanniche (waha) <waha@odoo.com>
      f6e52a7a
    • William Henrotin's avatar
      [PERF] mrp,stock,purchase: sql improvement · b5019eec
      William Henrotin authored
      
      First correction: replace call to `read_group` to `_read_group` in order
      to avoid useless joints on table product_template and ir_translation
      when the grouping key is a Many2One.
      
      Second correction: add an index on workorder's `state` field. The
      get_conflicted_workorder_ids() method search for ready workorders that
      are in conflict relate to their planning. The state value is searched to
      many times to not index it
      
      closes odoo/odoo#106536
      
      Task: 2852423
      X-original-commit: e94937b6
      Signed-off-by: default avatarArnold Moyaux (arm) <arm@odoo.com>
      Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
      b5019eec
    • Hubert Van de Walle (huvw)'s avatar
      [FIX] web: kanban: add a onPagerUpdate callback · 19523b51
      Hubert Van de Walle (huvw) authored
      Use case:
      in the reconciliation widget, we need to know when the pager
      is updated before the next render because we need to select the
      appropriate id to use.
      
      cf the following PR: https://github.com/odoo/enterprise/pull/33631
      
      
      
      opw-3031131
      
      closes odoo/odoo#105738
      
      Related: odoo/enterprise#33631
      Signed-off-by: default avatarGeoris François (fge) <fge@odoo.com>
      19523b51
    • niyasraphy's avatar
      [IMP] base: show knowledge and social module in community · 9ada5587
      niyasraphy authored
      
      Do like other enterprise modules in Odoo and display missing main applications
      from enterprise in community: social and knowledge.
      
      SPECIFICATIONS
      
      Create `ir.module.module` records for knowledge, social and appointment apps
      in Odoo Community, so that users searching for those apps can see them in the
      correct category with the correct icon. They can then be redirected to Odoo
      website for more information about the module or an upgrade plan to use the
      enterprise version.
      
      Knowledge
        * create the record
        * use the module_category_productivity category
      
      Appointment
        * update the record to use the new icon
        * use the module_category_marketing category (instead of sales)
      
      Social
        * create the record
        * use the module_category_marketing category
      
      Task-3054412
      
      closes odoo/odoo#103324
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      9ada5587
    • Alexandre Kühn's avatar
      [FIX] mail: open livechat session page in non-debug · 32213258
      Alexandre Kühn authored
      
      The session page could not be open in non-debug
      due to create_date being restricted to debug.
      This field is required for ordering of records.
      
      There was no reason to restrict to just have it
      only in debug, so we just make it available at
      any time.
      
      closes odoo/odoo#106535
      
      Signed-off-by: default avatarSébastien Theys (seb) <seb@odoo.com>
      32213258
    • niyasraphy's avatar
      [FIX] purchase_requisition: fix singleton error · ca94ace1
      niyasraphy authored
      
      Activate Product variants and create a new products with attributes Legs, Size and color.
      
      Now enable Variant Grid Entry and Purchase Agreements from purchase settings and now create a Blanket Order from Purchase -> Orders -> Blanket Orders with any products from above created variants.
      
      Confirm the created blanked order and click on New Quotation, now a new RFQ will be created, and click on add an item button and select the product we have created before, now Choose Product Variants matrix will be opened. Enter some random quantities in multiple lines and click on confirm button.
      
      Exception will be raised
      
      closes odoo/odoo#106507
      
      Signed-off-by: default avatarTiffany Chang <tic@odoo.com>
      ca94ace1
    • Jigar Vaghela's avatar
      [IMP] mrp,mrp_*,repair: MRP back to basics 6 · dd60647c
      Jigar Vaghela authored
      
      mrp
      ===
      - no time has been recorded on operations then give warning with apply button
      
      - do not allow to mass edit UOM in any manufacturing state
      
      - set value of lot/serial from MO and set read only on unbuild from MO
      
      - remove "archive operation" icon
      
      repair
      ======
      Currently it is not possible to select a return on a repair order unless save it first. so after this commit user can able to select it without save it.
      only show picking related to selected product
      
      closes odoo/odoo#102596
      
      Task: 2845380
      Related: odoo/enterprise#34381
      Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
      dd60647c
    • Odoo's Mergebot's avatar
      [FIX] web,event,mail,crm: fix form views · 07071e14
      Odoo's Mergebot authored
      
      Purpose
      =======
      Fix the inline input fields which width seems broken
      because of the new always edit mode.
      
      Specifications
      ===========
      Web :
      Introduce new css classes to be added to the
      input fields in order to constraint their width and avoid
      white gaps in forms.
      
      Event :
      Limit the size of the confirmed attendees input
      field in the event form and event type form to
      display the confirmed attendees message in one line.
      When using the debug mode, in the event templates,
      inline the Register Button with its checkbox to avoid
      line breaks.
      
      Mail :
      Limit the size of the delay count input
      field in the activity type form and restore the
      inline display of the schedule message to
      avoid unnecessary white gaps.
      
      CRM :
      Fix the leads generation form inlined inputs
      display by reducing the inputs width to match
      their content display.
      Fix the lead form view to align the expected
      revenue with the probability for better UI.
      Fix the geolocation field and send email button
      of the Assigned Partner form tab by restoring
      their inline property. Because of the form
      grid layout, nested groups had to be used to
      correctly restore the display. Alternative solutions
      modify the DOM too much, which could lead to more
      xpath and inheritance issues.
      
      Task-2996467
      
      closes odoo/odoo#102546
      
      See: odoo/enterprise#32460
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      07071e14
Loading