Skip to content
Snippets Groups Projects
  1. Jul 30, 2019
  2. Jul 29, 2019
  3. Jul 22, 2019
  4. Jul 26, 2019
  5. Jul 29, 2019
  6. Jul 25, 2019
  7. Jul 29, 2019
    • Julien Mougenot's avatar
      [IMP] base: Configure document layout · ed180951
      Julien Mougenot authored
      
      The onboarding modal for setting up the few base fields of a company
      has now been moved to a wizard
      It is accessible from the general settings, but also in the onboarding
      section of sale and account modules.
      
      The following company settings are editable with that wizard:
      
      - Set report **layout**:
      The user can chose the overall look of the report. The current choices
      are : *Standard* (default), *Background*, *Boxed* and *Clean*.
      
      - Set company **logo**:
      Changes the company logo.
      
      - Set report **colors**:
      The user can set the primary and secondary colors of the report through
      a newly added widget allowing to pick a custom color.
      When changing the **logo**, colors are automatically set to its most dominant
      colors.
      > A "Reset colors" button also triggers the color calculation.
      
      - Set report **font**:
      Changes the overall font of the report. Only Google Fonts are used
      for enhanced compatibility.
      
      - Company **tagline**, also called "header"
      - **Footer**
      - **Paper format**
      - Report **preview**:
      A mockup of a final report
      Automatically updates when changing **layout**, **logo**, **colors** or **font**
      
      Co-authored by: Julien Mougenot <jum@odoo.com>
      
      closes odoo/odoo#33863
      
      Signed-off-by: default avatarVincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
      
      
      Co-authored-by: default avatarLucas Perais <lpe@odoo.com>
      ed180951
    • Julien Mougenot's avatar
      [IMP] web: add noTransparency option for colorpicker dialog · a8c93df9
      Julien Mougenot authored
      Added a boolean option to toggle opacity settings on the colorpicker dialog widget.
      When set to true, both the opacity slider and the opacity input are hidden in the
      dialog. When not set or set to false, opacity settings remain unchanged.
      a8c93df9
    • Julien Mougenot's avatar
      [REF] web,web_editor: moved ColorpickerDialog to web · edc60f7f
      Julien Mougenot authored
      The reason this widget was moved is that the next improvement
      ([IMP] base: Configure document layout) defines a new field (FieldColor)
      which needs to call the colorpicker dialog inside of the base module.
      This couldn't be done while the dialog was located in the wysiwyg assets.
      edc60f7f
  8. Jul 26, 2019
    • RomainLibert's avatar
      [FIX] hr: Add the color field to public employee · db8d2262
      RomainLibert authored
      
      The color field is necessary to be able to display some fields
      (many2many_tags) and used in the kanban views
      
      closes odoo/odoo#35216
      
      Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
      db8d2262
    • svs-odoo's avatar
      [FIX] sale_timesheet_purchase: remove uninstall_hook · 5d5db35f
      svs-odoo authored
      
      The commit f3999314 introduces a
      declaration of non-existing `uninstall_hook` in the manifest, causing
      error when trying to uninstall the sale_timesheet_purchase module.
      This commit simply removes it.
      
      Task #2039731
      
      closes odoo/odoo#35106
      
      Signed-off-by: default avatarSimon Lejeune (sle) <sle@openerp.com>
      5d5db35f
    • svs-odoo's avatar
      [IMP] stock,*: hide Advanced Scheduling setting · f26a6306
      svs-odoo authored
      Before this commit, the stock's setting Advanced Scheduling was always
      visible, even when it's empty. Now, it is invisible until sale_stock or
      purchase_stock makes it visible (it's needed because they each add an
      option into it).
      
      Task #2039731
      f26a6306
    • svs-odoo's avatar
      [FIX] stock_account,mrp_account: align Update Cost button · 088a1709
      svs-odoo authored
      Task #2039731
      088a1709
    • svs-odoo's avatar
      [IMP] stock_account: inventory valuation groupby product · 13e30d58
      svs-odoo authored
      In the Inventory Valuation report, values must be grouped by product_id.
      
      Task #2039731
      13e30d58
    • svs-odoo's avatar
      [IMP] stock: change position of picking type field · b4a43560
      svs-odoo authored
      In the picking form view, places the picking type field before location
      fields, thus user is prompt to set it before locations because the
      onchange on the picking type erases the location fields.
      
      Task #2039731
      b4a43560
    • svs-odoo's avatar
      [FIX] stock_account: traceback when create quant · 0c26d659
      svs-odoo authored
      How to reproduce:
      - Active multilocation in inventory setting;
      - Go on product form view;
      - Click on Update Quantity / On Hand button;
      - Create a new quant.
      
      With stock_account, we encounter a traceback when creating a new quant
      in some case where the `location_id` isn't set by default, because it
      tries to compute the value and it checks location to know if the quant
      must be valueted or not.
      
      Task #2039731
      0c26d659
    • svs-odoo's avatar
      [FIX] stock: inventory at date for single product · 02101ace
      svs-odoo authored
      On stock list view of a single product, when user click on "Inventory at
      Date" button, the displayed report shows all products.
      This commit makes the report only shows the current product.
      
      Task #2039731
      02101ace
    • svs-odoo's avatar
      [FIX] stock: hide lot_id on quant list · 2edf100c
      svs-odoo authored
      
      Before this commit, the field `lot_id` was hidden when useless for the
      editable quant list, but was always present in the readonly quant list.
      Now, the `lot_id` is hidden when appropriate in the two lists.
      
      closes odoo/odoo#35008
      
      Signed-off-by: default avatarSimon Lejeune (sle) <sle@openerp.com>
      2edf100c
    • svs-odoo's avatar
      [FIX] stock: edit quant without company id · b39173a8
      svs-odoo authored
      Some quant can have no company_id (quant for partner locations).
      But when user edit a quant, the stock move `company_id` is based on the
      quant's one. As the `company_id` is required for a stock move, we force
      to take the `company_id` of the user in case the quant don't have one.
      
      Task #2035465
      b39173a8
    • svs-odoo's avatar
      [FIX] stock: forbid edition of inventory loss quant · 70f99448
      svs-odoo authored
      As quant from inventory loss location balances real quantity, it could
      be really hazardous to able user to modify it. That said, modify it now
      has no effect. So, with this commit, we exit the quant write method in
      case of user tries to modify it manually if the quant location is
      inventory loss, and we inform the user he can't modify it.
      
      We could set the field as readonly in this case, but it's clearer for
      user to inform him/her in case he/she tries to modify the quant than set
      the field as readonly and take the risk user don't understand why he/she
      can modify some quant and can't modify some other.
      
      It would be preferabler to raise an UserError in the write than do
      nothing in the write and return a warning in the onchange, but in case
      we raise an error in the write method, user side the field is still in
      edit mode and then, every time user clicks somewhere but on Discard, it
      will raise the error again and it's not convenient for the user.
      
      Task #2035465
      70f99448
    • Adrian Torres's avatar
      [MOV] core: put things where they belong · 2971bf61
      Adrian Torres authored
      
      This commit moves some ir_ui_view specific functions into ir_ui_view.py
      and removes some old-api <-> new-api compatibility shims as well as
      removes orm.py since it has 0 to do with the Odoo ORM.
      
      closes odoo/odoo#34826
      
      Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
      2971bf61
    • aca's avatar
      [REM] web_settings_dashboard: Merge module into base_setup · 78565b1d
      aca authored
      
      Purpose
      =======
      
      Currently, when we click on “Settings” on the Home Dashboard, we arrive
      on a new Dashboard with several pieces of information like Installed Apps,
      invite new users, or translations. Some informations are reachable in
      several ways, which is not necessary.
      
      We would like to remove this page and replace it with the General Settings
      page directly. That makes more sense to the user who click on “Settings”. The
      present informations will be dispatched in the menu or in the general settings
      for a better usability.
      
      Specification
      =============
      
      This commit move code from web_settings_dashboard in order to put the features
      in settings directly. To do so, we choose to move code to base_setup, and create
      widget on the settings form view to keep features. Concerned features are: invite
      users, dev tools, odoo edition number and IAP account link.
      
      TaskID: 2006910
      
      closes odoo/odoo#34290
      
      Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
      78565b1d
    • Yannick Tivisse's avatar
      [IMP] utm: Add linkedin medium in data · a8893ad2
      Yannick Tivisse authored
      
      closes odoo/odoo#35094
      
      Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
      a8893ad2
    • Yannick Tivisse's avatar
      [IMP] hr_recruitment: Remove informative field · 430a10c3
      Yannick Tivisse authored
      Not used anywhere, and will be correctly implemented with the
      referral application.
      430a10c3
    • Yannick Tivisse's avatar
      [IMP] web: Implement confirm attr on kanban views · 43c5a7d7
      Yannick Tivisse authored
      Purpose
      =======
      
      On a form view, it's possible to add a confirm attribute to open a
      popup when clicking on a button.
      
      This mechanism is not implemented on kanban views, and would imply to
      create a specific wizard just for that in the referral application.
      43c5a7d7
    • Yannick Tivisse's avatar
      [FIX] website_form: Allow to post a message with attachments · 0c074953
      Yannick Tivisse authored
      Coming from the sudo() modification. The mail.message is created in sudo,
      but the user is still the public user, who doesn't have a email address,
      leading to an raised error.
      0c074953
Loading