Skip to content
Snippets Groups Projects
  1. Jul 27, 2018
    • qsm-odoo's avatar
      [REF] *: get rid of vendor prefixes · 770aec39
      qsm-odoo authored
      BS4 do not provide vendor prefixes scss mixins anymore as it is meant
      to be used with the 'autoprefixer' library. As we only support the last
      version of every major browsers in Odoo, we took the decision to not
      use the library as it was also complex to integrate in Odoo. We decided
      to do the library's work by hand if it ever become necessary.
      770aec39
    • qsm-odoo's avatar
      [REF] web: add the 'popper' library · a991a579
      qsm-odoo authored
      Since bootstrap 4.0.0, the 'popper' library is a dependency.
      a991a579
    • qsm-odoo's avatar
      [IMP] base, web: update bootstrap 3.3.7 to 4.1.3 · 9d90c7ea
      qsm-odoo authored
      Simply updating the lib, the assets bundle content and the assets bundle
      compiler.
      9d90c7ea
    • Arnold Moyaux's avatar
      [FIX] stock: corssdock rules not update · 8ed8b46f
      Arnold Moyaux authored
      It happens when the route is already set on the warehouse.
      In this the system will only active the route however the rules
      inside this route still inactive.
      
      This commit set active the rules in both case when the route is created
      or set as active.
      8ed8b46f
    • Jaykishan Solanki's avatar
      [IMP] mrp: rename lalbel and hide variant columns · 10edfc75
      Jaykishan Solanki authored
      When a product variant is set on a BOM, the column 'Variant' of bom
      lines is hidden as all lines will be applied for the specific variant.
      
      If there was any variant were set in this column, they are removed as it
      doesn't mean anything because we are working to a specific one.
      
      TASK-36708
      10edfc75
    • Christophe Monniez's avatar
      [FIX] packaging: fix docker file for src tests · 4293a27b
      Christophe Monniez authored
      Since bf3193ac libsass is needed but is named libsass0 in Debian.
      With this commit, the docker source image used for tests will build again.
      4293a27b
  2. Jul 26, 2018
    • Laurent Smet's avatar
      [IMP] account: replace old manual reconciliation wizard · 3cee86e1
      Laurent Smet authored
      The old manual reconciliation wizard gets deprecated (soon to be removed) while we push forward the 'payment matching' widget. Better, faster, stronger.
      
      Was task: 1847703
      Was part of PR #25921
      3cee86e1
    • Laurent Smet's avatar
      [IMP] account: automatic communication management on out_invoices · b5bb5bd4
      Laurent Smet authored
      On the accounting config, you can select an automatic way to compute the
      reference on invoice and then, improve the reconciliation in a later task:
      - free communication: set what you want as reference (default)
      - based on partner: find the partner more easily
      - based on number: retrieve the invoice directly
      
      Was task: 1847703
      Was part of PR #25921
      b5bb5bd4
    • 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
  3. Jul 25, 2018
    • Jitendra Prajapati's avatar
      [IMP] mail: draft activity feedback popup from the Chatter · ad3e567d
      Jitendra Prajapati authored
      Before this commit, when we were writing a feedback on an activity marked as
      done, and then clicked somewhere else by mistake, the popup would disappear
      and the content was lost.
      
      With this commit, we do not lost what we have written in the feedback popover
      in the case above: a temporary draft is made, so that reopening the feedback
      popup restores its previous content.
      
      Note that the draft is kept in JS, so it will be lost on new page or page
      reload. Also, there is no test, because of `$.popover`. In particular,
      animations cannot be disabled with `$.support.transition=false`, and there
      is not way to detect when transitions end (delays in test is a very bad idea
      for obvious reasons).
      
      Task-ID 1832491
      ad3e567d
    • Yannick Tivisse's avatar
      [IMP] base: Improve partners/employees demo data · 58fc4e44
      Yannick Tivisse authored
      - Update all the pictures
      - Rename the partners with a name that is easy to say for an English speaker (No more 'Agwoleight')
      - Update all the addresses/phone numbers in the american format
      - Unify the demo data with the new theme (Wood shop/manufacture,...)
      58fc4e44
    • xmo-odoo's avatar
      [ADD] pagebreak to core qweb · abc1289a
      xmo-odoo authored
      abc1289a
    • Yannick Tivisse's avatar
      [IMP] sale,crm: Notify users on online orders/leads · 369286d3
      Yannick Tivisse authored
      Purpose
      =======
      
      The user is not notified when an online order is placed or when an opportunity is posted on the contact form.
      
      set admin as default follower of sales teams (or any team creator).
      
      The concept of sales channel is confusign to users. When you need to create a channel, it's to manage a team of people -> rename bac kto "Sales Team"
      
      Specification
      =============
      
      crm lead:
      ---------
      
      - notify admin user when a lead/opport is created by a website visitor or any other user or created from an email sent to the email alias
      - admin user should be follower of first sales team by default => Done
      - "Opportunity Created" subtype should be selected by default when a user becomes a follower of any salesteam
      - Show following fields in the notification:
          - Contact Name:
          - Customer Name:
          - Phone:
          - Email:
          - Message:
          - Sales Channel:
          - Stage: New
          + other current tracked fields in case of update ( expected revenue, score)
      - don't show company name, contact name, phone if not set (e.g. if created from email alias)
      
      ecommerce:
      ----------
      
      - notify admin when an order is placed on the website:
      - admin should be follower of website salesteam by default
      - order tracked fields in a logical order and add currency to amounts (nice to have but would be cleaner):
          - Customer:
          - Salesperson:
          - Status:
          - Delivery Amount:
          - Untaxed Amount:
          - Total:
      - edit notif preferences on the salesteam:
      - In notifications sent by email, add a link to edit notif preferences in the salesteam: "Edit your notification preferences"
      - redirect to notification preferences of the user in the salesteam
      
      - Other users must easily manage the way they want to be notified about salesteams activities:
      - move kanban view out of reporting (it's an operational view, not a reporting one and all the users need to see it)
      - CRM: https://drive.google.com/a/odoo.com/file/d/1ZWgU_2uozRvwhe8dtemvEFWP_Rsq-bdn/view?usp=drivesdk
      - Sales: https://drive.google.com/a/odoo.com/file/d/1AzmT2-shMXzl6olm2d_u0ZXY4Ov1m4q2/view?usp=drivesdk
      - show assignation section out of debug mode, to let users edit following preferences in the sales team
      - if no sales channel set for the website (https://drive.google.com/a/odoo.com/file/d/1TbB0FsdFxkTRLq-2Fa480AK9MPbCV9Q3/view?usp=drivesdk), show a specific message asking to set one: "Please set a sales team for the website. Otherwise you can't follow related events."
      
      Miscellaneous:
      --------------
      
      - rename Sales channels into the old term "Sales Teams", the concept of sales channel is not understood by most users
      369286d3
    • lejeune quentin's avatar
    • lejeune quentin's avatar
      [IMP] website_sale : Active "Sales Team" and "Salesperson" config in website... · f3f3af88
      lejeune quentin authored
      [IMP] website_sale : Active "Sales Team" and "Salesperson" config in website setting without debug mode
      f3f3af88
    • lejeune quentin's avatar
      5e577d20
    • lejeune quentin's avatar
      [IMP] website_crm : In setting add specific message to tell user to set a... · 06bbd88e
      lejeune quentin authored
      [IMP] website_crm : In setting add specific message to tell user to set a default sale channel for website
      06bbd88e
    • lejeune quentin's avatar
Loading