Skip to content
Snippets Groups Projects
  1. Jul 31, 2019
  2. Jul 30, 2019
    • fja-odoo's avatar
      [IMP] web: revert warnings display in back-end · 5ac167a8
      fja-odoo authored
      Fix for: https://github.com/odoo/odoo/pull/32132
      
      We had changed the display of the warnings in the back-end to be like the
      front-end (notification toast). This change needs to be reverted. Now
      the warnings in the front-end are toast notifications and in the
      back-end they are Warning modals.
      
      Part of: https://github.com/odoo/odoo/pull/35209
      5ac167a8
    • fja-odoo's avatar
      [FIX] gamification, web: separate gamification/crash_manager · 09681e56
      fja-odoo authored
      Fix for: https://github.com/odoo/odoo/pull/32132
      
      A reference to gamification was still made in the crash_manager.
      
      Part of: https://github.com/odoo/odoo/pull/35209
      09681e56
    • fja-odoo's avatar
      [FIX] web, *: make crash_manager use services correctly · 2d6dc75a
      fja-odoo authored
      * = website_forum, stock
      
      Fix for: https://github.com/odoo/odoo/pull/32132
      
      crash_manager.js was using the services while bypassing
      ServiceProviderMixin That means all services are duplicated, each having
      their own state.
      To fix this issue, CrashManager now extends AbstractService. Also
      crash_manager is now registered in serviceRegistry instead of being
      instanciated on the fly.
      
      The crash_manager now being a Service raise one issue with the tests:
      The services are not run for the tests but some tests needs the
      crash_manager 'unhandledrejection' listener. For that matter the
      services are reenable in qunit. Also the crash_manager's
      'unhandledrejection' listener has to have precedence over the qunit
      listener as it will handle rejections wich have no reason or are not
      Errors.
      
      Part of: https://github.com/odoo/odoo/pull/35209
      2d6dc75a
    • Yenthe666's avatar
      [IMP] doc: remove calls to @api.multi and @api.one · ce00210b
      Yenthe666 authored
      Those two decorators are removed/deprecated since recent commits but some references remained in the documentation.
      
      api.multi is deprecated since https://github.com/odoo/odoo/commit/cc62447a44c2cf4e2edaf8a1f6d94520e799ddd9
      api.one was removed with https://github.com/odoo/odoo/commit/407f1f6cdb87a59bbad9f853078d7345cdf9f60c
      
      
      
      closes odoo/odoo#35261
      
      Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
      ce00210b
    • Naglis Jonaitis's avatar
      [FIX] sale: use proper aria attribute name · 7092d9d1
      Naglis Jonaitis authored
      
      There is no such aria property `aria-title`.
      
      closes odoo/odoo#35274
      
      Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
      7092d9d1
    • qsm-odoo's avatar
      [FIX] web: restore modal backdrops click behavior · afb3c28f
      qsm-odoo authored
      Since https://github.com/odoo/odoo/commit/2ad49ec93e39ae5d59ccc17884408870e1c86c5e
      
      ,
      all dialogs were able to be closed by clicking on the backdrop which was
      not a desired behavior.
      
      Indeed, the 'backdrop' option of the BS component was misused.
      
      closes odoo/odoo#35300
      
      Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
      afb3c28f
    • Vincent Schippefilt's avatar
      [REV] web: list: display help in header cell tooltip · a86795e6
      Vincent Schippefilt authored
      This reverts commit 3ea179e03c938222d88e32cbb5accacdfcef78c6.
      
      SBU requested to revert this task
      https://www.odoo.com/web#id=2036832&model=project.task&view_type=form&menu_id=4720
      
      
      
      closes odoo/odoo#35298
      
      Signed-off-by: default avatarVincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
      a86795e6
    • qmo-odoo's avatar
      [IMP] website_slides: Improve methods to get user certificates · 75153e72
      qmo-odoo authored
      
      This commit improves a few methods related to the user profiles:
      - Change _prepare_all_users_values so that it
      works with a batch of users
      - Change the _get_user_certificates and rename it to _get_users_certificates
      so that it works with a batch of users to avoid doing a search in a
      list comprehension.
      This method will also be used to get the number of certificates per users
      
      TaskID: 1952064
      PR: #32229
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      75153e72
    • qmo-odoo's avatar
      [IMP] website_slides: Fix slides displayed by category · 153de28c
      qmo-odoo authored
      This commit fixes an issue where only three slides would be
      displayed instead of four in a category of the course page.
      
      This was due to the promoted slide being ignored in its own
      category.
      
      After this commit, the promoted slide will appear in the promoted
      slot AND in its category
      
      TaskID: 1952064
      PR: #32229
      153de28c
    • Patrick Hoste's avatar
      [IMP] crm: remove duplicate leads menu · e99ca925
      Patrick Hoste authored
      
      By default the main Leads menu doesn't have a submenu anymore
      But when the website_crm_score module is installed, it appears
      as a submenu like before
      
      PR : #34595
      Task ID : 2031626
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      e99ca925
    • Yenthe666's avatar
      [IMP] project,_timesheet_holidays: improve source terms · faec2023
      Yenthe666 authored
      
      closes odoo/odoo#35227
      
      Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
      faec2023
    • Robot Odoo's avatar
      [MERGE] website, *: allow adding fonts from Google Fonts · f247475c
      Robot Odoo authored
      
      * theme_bootswatch, theme_default, website_theme_install
      
      It is now possible to add very easily a font from Google Fonts under
      Customize Theme > Fonts > Add Google Font.
      
      The merge also improves the customize dialog possibilities with a
      new 'auto' widget and a 'fontselection' tag.
      
      See sub-commits for details.
      
      task-1974659
      
      closes odoo/odoo#33442
      
      Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
      
      Co-authored-by: default avatarAndrea Ulliana <aul@odoo.com>
      Co-authored-by: default avatarqsm-odoo <qsm@odoo.com>
      f247475c
    • Andrea Ulliana's avatar
      [IMP] website: allow adding fonts from Google Fonts · 8e231c04
      Andrea Ulliana authored
      It is now possible to add very easily a font from Google Fonts under
      Customize Theme > Fonts > Add Google Font.
      
      Part of https://github.com/odoo/odoo/pull/33442
      
      
      task-1974659
      
      Co-authored-by: default avatarqsm-odoo <qsm@odoo.com>
      8e231c04
    • Andrea Ulliana's avatar
      [IMP] website: auto-discover all available fonts in the theme modal · a36e5afb
      Andrea Ulliana authored
      Before this commit, if a theme had more fonts that the default number
      (6), it had to override the customize dialog. Now, the number of fonts
      to add in the list is found automatically.
      
      To do so, instead of defining a <selection/> tag with 6+ <opt/> tag, we
      are now able to define an unique new tag: <fontselection/> which will do
      automatically the job.
      
      Part of https://github.com/odoo/odoo/pull/33442
      task-1974659
      a36e5afb
    • Andrea Ulliana's avatar
      [IMP] website, *: use "auto" widget for font customization · 7deceae1
      Andrea Ulliana authored
      * theme_bootswatch, theme_default, website_theme_install
      
      This commit makes use of the new 'auto' widget for font selection:
      instead of enabling a template which will enable a scss file which sets
      a font variable to a specific value... we directly allow to do a scss
      custo which sets that value.
      
      The code in charge of resetting font customizations on theme switching
      is also moved and refactored here in website (instead of being specific
      to each theme).
      
      Part of https://github.com/odoo/odoo/pull/33442
      
      
      task-1974659
      
      Co-authored-by: default avatarqsm-odoo <qsm@odoo.com>
      7deceae1
    • Andrea Ulliana's avatar
      [IMP] website: introduce "auto" widget for theme modal · 15bae292
      Andrea Ulliana authored
      The theme customize dialog implements its own system of widgets. For
      example: data-widget="color" and data-widget="input". Now, a new type of
      widget data-widget="auto" exists. The goal is the same as the
      data-widget="input" but with a predefined value that the user cannot
      choose.
      
      Also, as "data-value" was badly chosen during its implementation, it
      is now renamed to "data-variable" and "data-value" is now used with the
      new widget.
      
      Example of the new widget "auto":
      
      <opt data-widget="auto" data-variable="logo-height" data-value="3rem"
      	string="Logo Height"/>
      
      -> Allows to create a button forcing the logo height to 3rem.
      
      Part of https://github.com/odoo/odoo/pull/33442
      task-1974659
      15bae292
    • Xavier Morel's avatar
      [REM] doc: js apidoc · e4b75149
      Xavier Morel authored
      
      Breaks doc-building all the time, more advanced ES6 features are not
      supported by the JS parsing library.
      
      closes odoo/odoo#35288
      
      Signed-off-by: default avatarXavier Morel (xmo) <xmo@odoo.com>
      e4b75149
    • Xavier Morel's avatar
      [FIX] doc: rST warning · 2ad764b5
      Xavier Morel authored
      rST wants an empty line after a list.
      2ad764b5
    • Xavier Morel's avatar
      [REM] doc: autodoc of removed api.* decorators · 38b91925
      Xavier Morel authored
      * @one was removed in 407f1f6c
      * @v7 and @v8 were removed in c552fb7a
      * @multi was removed in a8767716
      38b91925
    • Robot Odoo's avatar
      [MERGE] generic: set some fields as optional to improve and ease tree views usage · 8e132f50
      Robot Odoo authored
      
      PURPOSE
      
      Purpose of this merge is to set the new attribute OPTIONAL = SHOW/Hide on
      tree views so the user can easily hide/show the optional fields on the tree view.
      
      SPECIFICATIONS
      
      contacts (not used as main view but generic to all modules):
      * phone: show
      * email: show
      * city: hide
      * state: hide
      * country: hide
      * next partner review: hide
      * level: hide
      * activation: hide
      * tags: hide
      * current membership status: hide
      
      leads
      * created on: show
      * company name: hide
      * contact name: show
      * email: show
      * phone: show
      * city: show
      * state: hide
      * country: show
      * score: hide
      * assigned partner: show
      * sales team: show
      * salesperson: show
      * company: show
      * tags: hide
      * priority: hide
      
      product template
      * internal reference: show
      * barcode: hide (to move after internal ref)
      * website: show
      * company: hide
      * sales price: show
      * cost: show:
      * product category: hide
      * product type: hide
      * quantity on hand: show
      * forecast quantity: show (rename to Forecasted Quantity)
      * unit of measure: show
      * ebay status: show
      
      product product
      * internal reference: show
      * barcode: hide (to move after internal ref)
      * website: show
      * company: hide
      * public price: show (to rename in Sales price, to be consistent with product template form)
      * cost: show:
      * product category: hide
      * product type: hide
      * quantity on hand: show
      * forecast quantity: show
      * unit of measure: show
      
      quotation
      * quotation date: show
      * website: show
      * sales team: hide (before sales person)
      * sales person: show
      * company: show
      * warehouse: hide
      * company: show
      * total: show
      * status: show
      * invoice status: hide
      * tags: hide
      
      sales order
      * confirmation date: show
      * website: show
      * sales team: hide
      * salesperson: show
      * company: show
      * warehouse: hide
      * total: show
      * invoice status: show
      * tags: hide
      
      helpdesk tickets
      * customer: show
      * assigned to: show
      * ticket type: hide
      * priority: hide
      * tags: hide
      * stage: show
      * company: show
      
      RQP/purchase orders
      * vendor reference: hide
      * order date: show
      * company: show
      * scheduled date: show
      * Purchase rep: show
      * source document: show
      * untaxed: hide
      * total: show
      * status: show
      
      Purchase agreement
      * purchase rep: show
      * company: show
      * ordering date: show
      * delivery date: hide
      * deadline: show
      * source document: show
      * status: show
      
      Incoming products
      * date: hide (to rename into Creation date)
      * source document: show
      * status: show
      
      Invoices & bills:
      * invoice date: show
      * origin: show
      * payment reference: hide
      * company: show
      * sales team: hide
      * salesperson: show
      * due date: show
      * tax excluded: show
      * tax: hide
      * total: show
      * amount due: show
      * payment status: hide
      
      Journal entries
      * partner: show
      * reference: show
      * company: show (after journal)
      
      Journal items
      * reference: show
      * partner: show
      * analytic account: show
      * matching number: show
      * due date: hide
      
      Analytic items
      * ref: hide
      * tags: hide (after analytic account)
      * financial account: hide
      * journal item: hide
      * partner: hide (before company)
      * company: show
      * product: hide
      * quantity: hide
      * unit of measure: hide
      * amount: show
      
      Transfers (stock.picking)
      * from: show
      * to: show
      * partner: show
      * responsible: hide
      * operation type: hide
      * company: show
      * scheduled date: show
      * effective date: hide
      * source document: show
      * back order of: hide
      * status: show
      * batch picking: show
      * carrier: hide
      * tracking ref: hide
      * weight: hide
      * weight for shipping: hide
      * priority: hide
      
      Inventory adjustment
      * location: hide (to add after inventory date)
      * company: show
      * accounting date: hide
      
      Inventory report (stock.quant)
      * reserved: hide
      * company: show
      
      Lot/serial
      * best before: hide (after creation date)
      * removal date: hide
      * end of life date: hide
      * alert date: hide
      * created on: show
      * internal ref: show
      
      MO
      * deadline start: show
      * planning start date: hide (rename to planned start date)
      * product: show
      * bill of material: hide
      * source: show
      * responsible: hide
      * company: show
      * quantity: show
      * uom: show
      * routing: show
      * state: show
      * material availability: show
      
      BoM
      * Reference: show
      * variant: show
      * version: show
      * quantity: show
      * unit of measure: show
      * bom type: hide
      * company: show
      * routing: show
      
      Repair order:
      * product to repair: show
      * product quantity: hide
      * uom: hide
      * customer: show
      * delivery address: show
      * warranty expiration: show
      * location: hide
      * company: show
      * status: show
      
      Quality alerts
      * product: show
      * product variant: hide
      * lot: hide
      * work center: show
      * team: show
      * responsible: show
      * check: show
      * tags: hide
      * root cause: hide
      * priority: hide
      * description: hide
      * date assigned: show
      * vendor: hide
      
      Quality control points (and reorder tree view according to the list)
      * reference
      * title: show
      * product: show
      * product variant: hide
      * operation type: show
      * operation: hide
      * work order operation: hide
      * control type: hide
      * device: hide
      * type: show
      * team: show
      * responsible: hide
      * company: show
      
      Quality checks (add the fields in the following order in the list view)
      * product: show
      * lot: show
      * picking: hide (rename to Transfer)
      * checked date: show
      * checked by: show
      * control point: hide
      * team: show
      * status: show
      
      Project tasks
      * project: show
      * assigned to: show
      * customer: hide
      * tags: hide
      * planned hour: show
      * remaining hour: show
      * deadline: hide
      * stage: show
      * progress: show
      * company: show
      
      LINKS
      
      See task 1997453
      
      closes odoo/odoo#33888
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      8e132f50
    • Prakash Prajapati's avatar
      [IMP] sale(_*): set optional field to simplify the tree view · f8814f2a
      Prakash Prajapati authored
      * = sale_crm, sale_stock, website_sale
      
      Purpose of the commit is to set the new attribute OPTIONAL = SHOW/Hide on tree
      view so the user can easily hide/show the optional fields on the tree view.
      
      task-1997453
      Closes: #33888
      f8814f2a
    • Prakash Prajapati's avatar
      [IMP] stock(_*): set optional field to simplify the tree view · 16db6d8f
      Prakash Prajapati authored
      * = stock_account, stock_picking_batch, stock_product_expiry, delivery
      
      Purpose of the commit is to set the new attribute OPTIONAL = SHOW/Hide on tree
      view so the user can easily hide/show the optional fields on the tree view.
      
      Update string date field from incoming products tree view.
      
      Update string virtual_available field from product tree view.
      
      task-1997453
      Closes #33888
      16db6d8f
    • Prakash Prajapati's avatar
      [IMP] analytic, account: set optional field to simplify the tree view · 317802d6
      Prakash Prajapati authored
      Purpose of the commit is to set the new attribute OPTIONAL = SHOW/Hide on tree
      view so the user can easily hide/show the optional fields on the tree view.
      
      task-1997453
      Closes: #33888
      317802d6
    • Prakash Prajapati's avatar
      [IMP] crm(_*): set optional field to simplify the tree view · cb9e69ce
      Prakash Prajapati authored
      * = website_crm_partner_assign
      
      Purpose of the commit is to set the new attribute OPTIONAL = SHOW/Hide on tree
      view so the user can easily hide/show the optional fields on the tree view.
      
      task-1997453
      Closes: #33888
      cb9e69ce
    • Prakash Prajapati's avatar
      [IMP] purchase(_requisition): set optional field to simplify the tree view · e0389c0f
      Prakash Prajapati authored
      Purpose of the commit is to set the new attribute OPTIONAL = SHOW/Hide on tree
      view so the user can easily hide/show the optional fields on the tree view.
      
      task-1997453
      Closes #33888
      e0389c0f
    • Prakash Prajapati's avatar
      [IMP] product: set optional field to simplify the tree view · fd5e2977
      Prakash Prajapati authored
      Purpose of the commit is to set the new attribute OPTIONAL = SHOW/Hide on tree
      view so the user can easily hide/show the optional fields on the tree view.
      
      task-1997453
      Closes: #33888
      fd5e2977
    • Prakash Prajapati's avatar
      [IMP] base: set optional field to simplify the tree view · 5f6c698a
      Prakash Prajapati authored
      Purpose of the commit is to set the new attribute OPTIONAL = SHOW/Hide on tree
      view so the user can easily hide/show the optional fields on the tree view.
      
      task-1997453
      Closes: #33888
      5f6c698a
    • Prakash Prajapati's avatar
      [IMP] repair: set optional field to simplify the tree view · d5ffe890
      Prakash Prajapati authored
      Purpose of the commit is to set the new attribute OPTIONAL = SHOW/Hide on tree
      view so the user can easily hide/show the optional fields on the tree view.
      
      task-1997453
      Closes: #33888
      d5ffe890
    • Prakash Prajapati's avatar
      [IMP] mrp: set optional field to simplify the tree view · 67ad4632
      Prakash Prajapati authored
      Purpose of the commit is to set the new attribute OPTIONAL = SHOW/Hide on tree
      view so the user can easily hide/show the optional fields on the tree view.
      
      Update string date_start_wo field from mrp.production model.
      
      task-1997453
      Closes: #33888
      67ad4632
    • Prakash Prajapati's avatar
      [IMP] project, hr_timesheet: set optional field to simplify the tree view · 668193fd
      Prakash Prajapati authored
      Purpose of the commit is to set the new attribute OPTIONAL = SHOW/Hide on tree
      view so the user can easily hide/show the optional fields on the tree view.
      
      task-1997453
      Closes: #33888
      668193fd
  3. Jul 22, 2019
  4. Jul 30, 2019
Loading