Skip to content
Snippets Groups Projects
  1. Feb 06, 2019
  2. Feb 05, 2019
  3. Feb 06, 2019
    • Nikunj Ladava's avatar
      [IMP] purchase: Set supplier currency on product supplier info · 6f602437
      Nikunj Ladava authored
      - if currency is set on vendor, and set that particular vendor to product, the currency will not being changed by vendor's currency.
      -  after this commit currency in pricelist will be changed by the currency of the vendor
      
      This commit is related to Task ID 1826166
      
      closes odoo/odoo#24468
      6f602437
  4. Feb 05, 2019
  5. Feb 06, 2019
    • Robot Odoo's avatar
      [MERGE] website, *: improve CSS edition usability + add JS edition · 88e76a7f
      Robot Odoo authored
      * web, web_editor
      
      See sub-commits for details.
      
      Currently, when an user wants to edit the css of its website, he has
      access to lots of files and, in debug mode, to even more files. While
      the feature is nice for people who know what they are doing, a lambda
      person can easily break its website by changing the wrong files. Also,
      nothing warns the user that the files that are edited will never receive
      updates anymore (unless if they are reset). The goal is to prevent
      those behavior while still allowing the add custom css. Another goal
      is to be able to *add* custom javascript.
      
      Custom files created for the user:
      SCSS: user_custom_rules.scss, user_custom_bootstrap_overridden.scss
      JS: user_custom_javascript.js
      
      task-1919350
      
      closes odoo/odoo#29999
      Unverified
      88e76a7f
  6. Feb 05, 2019
  7. Feb 04, 2019
  8. Feb 05, 2019
    • RomainLibert's avatar
      [IMP] various: optimize _name_search · 6dbdfb9b
      RomainLibert authored
      In the overrides of _name_search we should avoid creating domains with
      huge lists of ids as it is inefficient.
      We can also make sure that we optimize the empty search as in this case
      the custom domain doesn't make sense, we can simply search on an empty
      domain and, thanks to the limit argument, still keep a fast query.
      
      Linked to task 1918906
      
      Thanks to @odony and @nseinlet
      
      closes odoo/odoo#30155
      6dbdfb9b
    • Robot Odoo's avatar
      [IMP] board,web: cleaner layout and kanban/pivot integration on mobile · 0b796871
      Robot Odoo authored
      This merge improves the Dashboard app and make it more usable on mobile:
      - The layout is fixed to 1 column.
      - Embedded Kanban view is fitted to its content and handle correctly empty columns.
      - Embedded Pivot view has smaller left indentation for readability purpose.
      
      Task ID: 1904747
      
      closes odoo/odoo#30467
      Unverified
      0b796871
    • Hetal Dhanak's avatar
      [IMP] project: Clean timesheet related fields on task form · b8f7df1a
      Hetal Dhanak authored
       -Moved the share Button to the dropdown Action menu as it was better suitable there.
       -moved sale order item field to extra info as it was better suitable there.
       -changed display of settings for project to give it organized look.
      
      Related Task ID: 1928422
      
      closes odoo/odoo#30310
      b8f7df1a
  9. Feb 04, 2019
    • Parth Choksi's avatar
      [IMP] base: Hide Save/Discard on Settings until there are modifications · 514d6fb9
      Parth Choksi authored
      
      Purpose
      =======
      
      It only makes sense to display 'Save' and 'Discard' if the user actually
      changed something in the settings.
      
      So after this commit, the 'Save' and 'Discard' buttons of statusbar in
      general settings will only appear when you make any changes.
      
      Also when there are changes, there will be a message shown that will tell
      the user that he/she has unsaved changes.
      
      The commit is related to Task ID: 1917637
      
      Co-authored-by: default avatarMohammed Shekha <msh@openerp.com>
      
      closes odoo/odoo#29726
      514d6fb9
  10. Feb 05, 2019
    • Mohit Ghodasara's avatar
      [IMP] various: prevent unlink of automated activity types · bbd64c22
      Mohit Ghodasara authored
      Purpose of this merge is to update main addons and set activity types used
      for automated activities as master data. This means they cannot be removed.
      Indeed those activity types are used in business flow to generate activities
      and removing them may break some flows.
      
      This commit is linked to task ID 1907970 and PR #29257.
      bbd64c22
    • Mohit Ghodasara's avatar
      [IMP] mail: improve usability of activities · 0db0e66e
      Mohit Ghodasara authored
      Purpose of the task is to improve the usability of activity types and
      activity scheduling.
      
      Another purpose is alto to protect some master data activity types by flagging
      them and preventing their deletion.
      
      Containing
       * make the activity type as master data so deletion will be prevented;
       * improve the usability of the activity type;
       * prevent the deletion of activity type which are used for automated activity;
       * change the usability of activity scheduling modal;
      
      This commit is linked to task ID 1907970 and PR #29257.
      0db0e66e
    • Darshil Trivedi's avatar
      [ADD] l10n_ie: Introduce localization for Ireland · 7214173f
      Darshil Trivedi authored
      closes odoo/odoo#23031
      7214173f
    • Vandan Shah's avatar
      [IMP] web: Improve calendar display when no partner is set on event · f757b5ec
      Vandan Shah authored
      Task:- 1906798
      PR:- #28669
      Co-authored By:-  Mohammed Shekha <msh@odoo.com>
      f757b5ec
  11. Feb 04, 2019
  12. Feb 05, 2019
  13. Feb 04, 2019
  14. Feb 01, 2019
  15. Feb 03, 2019
  16. Feb 01, 2019
    • wan's avatar
      [IMP] account: add chatter in account.journal and account.move · ceb05489
      wan authored
      Task 1915154
      The chatter will mainly be used for communication / messages
      Add the chatter to account.move
      
          Do not generate message at the record creation
          Do not track any field
      
      closes odoo/odoo#29274
      ceb05489
    • Prakash Prajapati's avatar
      [FIX] purchase_requisition_stock: onchange and picking type · 8a25e58e
      Prakash Prajapati authored
      Issue:
      - Create a RFQ for a stockable product
      - Try to validate
      - A required field "deliver to" (picking_type_id) is not set
      
      Rev [1] moved the stock related part of purchase_requisition to
      purchase_requisition_stock.
      It implements an onchange on the purchase order setting the
      picking_type_id of the one of the requisition. When no requisition is
      set, it wiped the default one.
      
      We fix the issue by only using the picking type of the requisition if a
      requisition is actually set.
      
      [1] 826f927a
      Task: 1935077
      
      closes odoo/odoo#30685
      8a25e58e
    • Sébastien Theys's avatar
      [IMP] portal,sale: toggle sign button depending on signature state · ff368fdb
      Sébastien Theys authored
      Before this commit, it was possible for the user to click on the Sign button
      even when the signature area was empty, which would lead to an error message.
      Now we disable the button when the area is empty.
      
      Related to enterprise PR: https://github.com/odoo/enterprise/pull/3535
      
      PR: #30653
      ff368fdb
    • Lucas Lefèvre's avatar
      [IMP] hr_payroll: add multi contract support · 20bc2bba
      Lucas Lefèvre authored
      Purpose
      =======
      
      We would like to be able to manage multi contracts payslips and contract transitions.
      
      Specification
      =============
      
      General flow:
      1/ Benefits are generated based on contracts's calendar.
      2/ When validating additionnal benefits, calendar.attendances are created in the contract's calendar
      3/ Create one payslip per contract in state [open|pending|close]
      4/ For each payslip, generate worked day lines based on the contract's calendar
      
      New Constraints:
      1/ An employee cannot have more than one contract at the same time (excluding draft, closed and cancelled contracts).
      2/ A leave cannot overlap multiple contracts.
      3/ A contract cannot have starting and ending dates such that a leave become in the middle of
         two contacts.
      
      New state for a contract: Incoming. It means it's ready and will be running soon.
      An incoming contract automatically becomes 'Running' if the start date is passed (cron)
      
      Number of hours and days are always correct (according to the contract's calendar) on payslips as the
      flow starts from the contract's calendar.
      However, it is not correct in the Time Off app because it's counted based on the employee's calendar.
      The number of days/hours for hr.leaves should be computed according to
      the contract at the time of the leave.
      e.g. If I currently work full time and I request 2 weeks off next month where I'll be working only
      3 days/week and 5hours/day (other contract), It should count 6 days and 30 hours.
      
      - in hr.benefits form view show the contract (below employee field)
      
      TaskID: 1903483
      
      closes odoo/odoo#30181
      20bc2bba
    • William Henrotin's avatar
      [IMP] mrp: lot restriction from the second WO · f5bca867
      William Henrotin authored
      The user have to enter the final lot number on workorder when he process
      a component. The purpose is to register the use of components for
      tracability report. However currently the user could create different
      final lot during the process. It would result in inconsistencies since
      components could be used for lot/SN not produced and a wrong
      tracability.
      
      This commit ensure that once a lot/sn is created during a WO, it has to
      be used in the following workorders.
      
      closes odoo/odoo#27984
      f5bca867
    • Arnold Moyaux's avatar
      [IMP] stock, mrp: hook on ml to reservate · 35617523
      Arnold Moyaux authored
      Currently _action_assign will try to add new reservation to existing
      move lines. With mrp it could be problematic with the following usecase:
      - 2 product A in stock
      - Create a MO for 2 final product tracked and consuming 4 products A
      - Reserve -> It will create a ml with 2 product A.
      - Product -> It will fill the ml with 2 quantity done for first lot
      - Add 2 product A in stock (4 in total)
      - Reserve -> It will increase the reservation on the existing move line.
      
      It's a problem since the new produce (wizard or wo) will create a new
      move line because the existing move line have a lot_produce_id and can't
      be used for a different lot/SN anymore.
      
      This commit only increase reservation if the move line has not been used in
      order to create a lot.
      35617523
    • William Henrotin's avatar
      [FIX] mrp: uom management in workorder · 24f05151
      William Henrotin authored
      Usecase : create a bom in unit with a component tracked by serial and
      quantity to produce = 1 unit
      
      Create a manufacturing order with a UoM different that the bom one
      (e.g. Production request = 1 dozen)
      
      Launching the produce wizard or a workorder will show to the user
      a workorder line with 12 component units to consume. But as the
      component is tracked by serial. We would like to get 12 differents
      lines of 1 unit. This commit take care of this specific case.
      24f05151
    • William Henrotin's avatar
      [IMP] mrp: add production lines · 5ef46664
      William Henrotin authored
      To record a production via a manufacturing order, the user can either
      use the produce wizard or the workorders views. Those two objects was
      technically different but act more or less the same. This commit aims to
      merge the similar behaviors in common code
      
      We introduce two new abstract models :
       1. Abstract workorder to share workorders and the produce wizard
       2. Abstract workorder lines to share active_move_line on workorder and
          product_produce_line on the wizard. Those abstract line keep the information
          about the quantities and lot number to put on component move lines and
          finished product move lines
      
      Task : 1891864
      5ef46664
  17. Jan 31, 2019
Loading