Skip to content
Snippets Groups Projects
  1. Jul 26, 2018
    • Thibault Delavallée's avatar
      [MERGE][IMP] mail: improve propagation of model through activity type configuration · 71200fdc
      Thibault Delavallée authored
      Activity types can be either generic, either related to a given model.
      This task aims at improving the model propagation through several commits
      
       * prefill model when configuring application activity types;
       * limit previous / next activity types to generic or same model;
       * propagate model when creating new activity types through recommended
         activity m2m;
      
      See sub commits for more details.
      
      This merge is linked to task ID 1844644 and closes PR #25843.
      71200fdc
    • Thibault Delavallée's avatar
      [IMP] mail: propagate model when creating next activity types · ec16901c
      Thibault Delavallée authored
      If you create new activity types through the "create and edit" of the
      recommended activity type it is a good idea to propagate the model in order
      to avoid having inconsistent results.
      
      This commit is linked to task ID 1844644 and PR #25843.
      ec16901c
    • Thibault Delavallée's avatar
      [IMP] mail: limit next / previous activities to same kind · 17e0d523
      Thibault Delavallée authored
      When creating an activity type flow using recommended next activities we
      should limit the available activity types by model. They should be either
      generic either of the same kind. Otherwise you could have inconsistent
      results.
      
      This commit is linked to task ID 1844644 and PR #25843.
      17e0d523
    • Thibault Delavallée's avatar
      [IMP] crm, hr_recruitment: add default model when creating activity types · ec2b6d5b
      Thibault Delavallée authored
      Purpose is to help managers in their daily use of activities. When creating
      a new activity type through an app-dedicated menu we should pre-fill the
      model with the main app model. This is already done in several applications.
      This commit fixes some applications where it was not done.
      
      This commit is linked to task ID 1844644 and PR #25843.
      ec2b6d5b
    • Anshuman Sharma's avatar
      [FIX] hr_attendance: fix attendance check in/out layout issue when having no employee · 0bf4986c
      Anshuman Sharma authored
      When user is not linked to any employee and get try to check in/out then user
      gets white screen. Instead correctly displays a warning message telling
      the user should have an employee.
      
      Screeshot: https://drive.google.com/file/d/1cX1NtCcELeTYgr0kK5cW4i5etyHtezAV/view
      
      This commit is related to task ID 1841522. Closes PR #25230.
      0bf4986c
    • Xavier Morel's avatar
      [IMP] auth_ldap: make methods non-RPC-accessible · d5dc1536
      Xavier Morel authored
      There really is no reason for these methods to be called over RPC.
      d5dc1536
    • Xavier Morel's avatar
      [CHG] Change login/auth internal protocol · aac21e41
      Xavier Morel authored
      * Make Users._login and session.authenticate always raise AccessDenied
        on authentication failure instead of only sometimes (cf
        Session.authenticate calling security.check() which raises and not
        catching the exception)
      * Alter AccessDenied such that it's possible to add a custom access
        message, for use with login rate limiting instead of smuggling the
        information via the session
      * Alter the RPC endpoints to catch and convert AccessDenied back to
        a boolean sentinel
      aac21e41
    • Xavier Morel's avatar
      [ADD] Rate limiting to (failed) login attempts · a8d868e2
      Xavier Morel authored
      Task 31122 section 4.
      
      Implement per-IP rate limiting of login attempts after some number
      of failures.
      
      * check_credentials has no reason to be public, make it private
      * add hooks to check for login cooldown on a source IP (remote_addr:
        http://werkzeug.pocoo.org/docs/0.14/wrappers/#werkzeug.wrappers.BaseRequest.remote_addr)
        basis
      * add baseline/default configuration of 60s cooldown
      * add baseline threshold of 10 login failures, after checking odoo.com
        logs it looks like we have short runs of up to 7 failures (assumed
        to be legitimate) before the user either gets it right or goes and
        looks it up
      
      Depends on #24187
      a8d868e2
    • Shubham Johar's avatar
      [IMP] project: Improve the onboarding tour · 48c05811
      Shubham Johar authored
      - improve tips text
      - project task quicky create "Title" changed to "Task Title"
      - Add steps to open task to add more information on task(edit task and then save task)
      - Remove step on "Assigned to"
      - Finish tour on Invite users in Settings
      - Add rainbow man on tour finish
      
      Related to task: #1825214
      48c05811
    • Prakash Prajapati's avatar
      [IMP] mrp, mrp_byproduct: hide field for kit BoM · 045b4093
      Prakash Prajapati authored
      This commit hides the field 'Routing' and column "Consumed" in manufactoring
      order if the product to make is of type 'kit'. Those field are specific
      to manufacturing products
      
      PR:22085
      TASK:38933
      045b4093
    • Prakash Prajapati's avatar
      [IMP] mrp: wording improvement · 1c6aad27
      Prakash Prajapati authored
      This commit adds a tooltip on field 'manufacturing readiness'
      and improve the wording of the selectable values.
      
      PR:22085
      TASK:38933
      1c6aad27
    • William Henrotin's avatar
      [IMP] mrp: done unbuild order locked · 4a9e3923
      William Henrotin authored
      This commit doesn't allow to cancel an unbuild order if the state is
      'done'
      
      PR:22085
      TASK:38933
      4a9e3923
    • Prakash Prajapati's avatar
      [IMP] mrp: manufacturing order layout improvement · 996c881c
      Prakash Prajapati authored
      this commit hides the 'Miscellaneous' tab in MO form view if its content
      is empty in order to improve the user interface.
      
      PR:22085
      TASK:38933
      996c881c
    • Prakash Prajapati's avatar
      [IMP] mrp: filter and group by improvement · 57842711
      Prakash Prajapati authored
      This commit hide 'Planned' filter and 'Routing' group by if work order
      feature is not actived As they only make sense in that case.
      
      PR:22085
      TASK:38933
      57842711
    • Prakash Prajapati's avatar
      [ADD] stock_account: search view improvement · 6fd5c5a8
      Prakash Prajapati authored
      inventory valuation search view was the product's one. This commit add new filters
      to the inventory valuation search view and removes the ones specific to products.
      
      It also rename the search view title to the same label as the menu action
      
      PR:22085
      TASK:38933
      6fd5c5a8
    • Prakash Prajapati's avatar
      [IMP] stock: simplify warehouse resupply · 16e9f8d4
      Prakash Prajapati authored
      The default resupply feature can be configured by going on the route and activating
      it for the warehouse. This field is therefore useless and this commit remove it.
      
      The field 'resupply warehouses' is reworded an hidden when there is only one active warehouse
      
      PR:22085
      TASK:38933
      16e9f8d4
    • William Henrotin's avatar
      [IMP] stock: stockable term rename · c0794649
      William Henrotin authored
      "Stockable" term is not a proper english word. We change it
      to"Storable"This commit is related to task ID 38933
      
      PR:22085
      TASK:38933
      c0794649
    • Prakash Prajapati's avatar
      [IMP] stock: picking title renaming · 5c1f2126
      Prakash Prajapati authored
      Rename Stock Operarion title in picking list view to a clearer
      word for the final user.
      
      PR:22085
      TASK:38933
      5c1f2126
    • Hiral Bhavsar's avatar
      [FIX] web: Make progress bar work with selection fields · b7e2d475
      Hiral Bhavsar authored
      Purpose
      =======
      
      The progress bar on a kanban column doesn't work with selection fields
      
      Specification
      =============
      
      In kanban view, subgroupCounts of progressbar should work if columns are grouped with a selection field
      
      Currently, progressbar's subgroupCounts only worked if column is grouped by a 'Many2one' field. If column
      is grouped by a 'selection' field then its not working.
      
      For example,
      
      If column is grouped by a 'Many2one' field then we've tuple,
           {'state': (2, 'Signatures in Progress')}
      So, here for preparing progressBar values for subgroupCounts we'll get
           {Signatures in Progress: {overdue: 0, planned: 0, today: 1}}
      But for a selection field, we'll have a string 'sent' i.e a technical value,
           {'state': 'sent'}
      So here 'group_by_value' as a 'key' will never be matched as we have 'sent' instead
      of 'Signatures in Progress'. We've a technical value instead of its UI value and
      dict of subgroupCounts would be based on UI values that's why it'll never find values.
      
      To fix this issue we need to set proper 'group_by_value'.
      
      That's why added one condition for 'selection' field to gets its value of specific
      state inside 'read_progress_bar' method.
      
      Related to Task: 1862371
      b7e2d475
    • Hetashree Chauhan's avatar
      [IMP] sale, pos_sale: merge sale report · a4d6bff1
      Hetashree Chauhan authored
      In Sales, we want to merge the `All Channels Sale Orders` report with
      the `Sales` report in order to avoid having information scattered
      accross two different reports.
      
      Related to task #58961
      Closes #23324
      a4d6bff1
    • Kirti Choudhary's avatar
      [FIX] account: fix crash on post() action of journal entry · bbec66b6
      Kirti Choudhary authored
      This commits defines a new method 'action_post()' for 'account.move' object to call instead of 'post()' from the account.move form view.
      Indeed, additional parameter ‘invoice’ of post() is considered as ‘context’ by webclient when called from button action and it is crashing badly.
      
      TASK ID - 1860817
      bbec66b6
    • Quentin De Paoli's avatar
      [FIX] stock: fix module installation · d5190821
      Quentin De Paoli authored
      In case there are multiple companies that need to call create_transit_location() at the installation of module, orm was crashing because expecting a singleton when doing self.partner_id or self.id
      d5190821
    • Laurent Smet's avatar
      [REF] account,stock,account_intrastat: Intrastat report moved in interprise · c75f3a00
      Laurent Smet authored
      This will allow to use the same core for all intrastat reports and benefit from the dynamic financial reports engine.
      Incoterms have been move to account, as we want to provide a light intrastat report for people not having the stock app installed
      
      Was task: 35850
      Was PR #23805
      c75f3a00
  2. Jul 25, 2018
Loading