Skip to content
Snippets Groups Projects
  1. Oct 02, 2019
  2. Oct 01, 2019
  3. Sep 30, 2019
  4. Sep 20, 2019
    • Antoine Vandevenne (anv)'s avatar
      [IMP] doc: rewrite of the source install page · 06915120
      Antoine Vandevenne (anv) authored
      
      Prior to this commit, the documentation page for the installation of Odoo had lots of inconsistencies, errouneous information and a bad structure.
      
      This commit restructures the page to split the Source Install chapter into three sections for Windows, Linux and Mac OS.
      Each section is entirely rewritten to be accurate, logical, clean, easy to understand and focused on its purpose (removed tutorials of non-Odoo softwares).
      
      task-2072822
      
      closes odoo/odoo#37001
      
      Signed-off-by: default avatarVictor Feyens (vfe) <vfe@odoo.com>
      06915120
  5. Sep 18, 2019
  6. Sep 12, 2019
    • Jairo Llopis's avatar
      [FIX] *: remove buggy calls to with_context · 5dad5704
      Jairo Llopis authored
      
      When .with_context() is called with a dictionary as 1st positional
      argument, it will replace context (and not modify the referenced keys)
      It may create bugs when losing the content of the context (e.g. remove
      partner's language)
      
      This is a partial merge of #36164 without the inventory part as
      discussed.
      
      closes odoo/odoo#36729
      
      X-forward: 4717ccfa
      Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
      5dad5704
  7. Sep 10, 2019
  8. Sep 20, 2019
    • Aurélien Warnon's avatar
      [IMP] web: add capability to disable records drag/drop on kanban views · 869a5b83
      Aurélien Warnon authored
      This commit adds a recordsDraggable option on the kanban view that allows to completly disable
      the drag and drop feature.
      
      This is a preliminary work for the social 'Feeds' kanban where the user should not be able to drag and drop posts.
      869a5b83
    • Lucas Lefèvre's avatar
      [IMP] web: Export grouped list view in xls file · 5c4544fb
      Lucas Lefèvre authored
      PURPOSE
      =======
      
      Add the support of grouped exports.
      Allow the user to export all records in one click from
      the listview, without having to go through the export modal,
      taking into account the domain, groupbys, and visible fields.
      
      SPECIFICATION
      =============
      
      When exporting (whether it is from the modal or from the shortcut),
      any groupby(s) set on the listview should be taken into account (all unfolded)
      - UNLESS the export is import-compatible
      - each subgroup header has an indentation compared to its parent
      - the 'group headers' in the exported file should contain the
        same info (label, field aggregates) as it has in the listview.
      
      New secondary button on the tree view with label 'EXPORT' (to be confirmed...)
      - the export shortcut disregard the selected records, it exports all records
        according to the domain.
      - the button is visible even if there is no selected records.
      - essentially the export shortcut does the same thing as the following:
          - select all records
          - hit 'action' then 'export'
          - hit 'export'
      
      Define a boolean attribute on <tree> to specify whether or not the export shortcut should be displayed
      
      Task 2072910
      5c4544fb
  9. Sep 19, 2019
    • Sébastien Theys's avatar
      [IMP] *: remove image_64 and clean views · b6288e54
      Sébastien Theys authored
      
      There are too many image sizes. Since they are stored resized this takes time to
      generate when saving a new image, it's more rows on the attachment table, more
      files on the disk, ...
      
      64px is close enough to 128px that it can be removed without a big impact on
      download size.
      
      It will even reduce download and number of requests when both images are
      displayed because now only one has to be downloaded and then benefit from cache.
      
      The difference between the two is typically around 1.5kB which is negligible
      these days, especially when the request overhead is around 0.5kB already, not
      even taking into account other factors such as latency.
      
      If a 64px image must absolutely be returned, it is still possible to pass the
      size parameters to the image route. But the current guideline is to handle
      resizing in the views when necessary.
      
      Views
      =====
      
      - remove width and height attributes when existing CSS rules are overriding them
        (eg. `.oe_kanban_avatar` in the right context)
      - add CSS rules instead of width and height attributes when possible
      - use `object-fit: cover;` where width and height are forced to avoid distortion
        of non-square images
      - for products, use `object-fit: contain;` instead, keep ratio but without crop
      - add new CSS rules where the expected size was max 64px*64px before due to the
        image size itself
      - remove `img-fluid` where using size classes to avoid conflicting rules
      
      task-2060865
      
      closes odoo/odoo#36147
      
      Signed-off-by: default avatarSébastien Theys (seb) <seb@odoo.com>
      b6288e54
  10. Aug 29, 2019
  11. Aug 28, 2019
  12. Aug 22, 2019
  13. Aug 14, 2019
  14. Aug 12, 2019
  15. Sep 03, 2019
    • Simon Lejeune's avatar
      [ADD] fields, models: company consistency check · 504b5fe5
      Simon Lejeune authored
      Assigning `check_company=True` to a field will
      - set a default domain filtering the companies
      - allow to call `_check_company` on the records to ensure the domain is
        respected
      
      Setting `_check_company_auto = True` on a model will ensure
      `_check_company` is called at create and write, enforcing the multi
      company domain.
      
      Joint work with Raphael Collet <rco@odoo.com>
      
      task-1985992
      504b5fe5
  16. Sep 02, 2019
  17. Aug 23, 2019
  18. Jul 30, 2019
Loading