Skip to content
Snippets Groups Projects
  1. Oct 02, 2019
    • mreficent's avatar
      [FIX] pos_mercury: revert of 48b3893b · c67f6d87
      mreficent authored
      
      The previous change was done to solve a case of duplicated xmlids in
      v12. By some confusion, both xmlids were changed in separated
      commits. This new commit returns the original xmlid of one and assures
      to avoid more confusions by adding 'settings' to the other.
      
      Closes odoo/odoo#36885
      
      closes odoo/odoo#37755
      
      Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
      c67f6d87
  2. Aug 07, 2019
  3. Jul 04, 2018
    • kujiu's avatar
      [FIX] Syntax of icons (#25577) · f90cf060
      kujiu authored
      Description of the issue/feature this PR addresses:
      
      Accessibility improvements forbids the use of the syntax
      `<i class="fa fa-check"/> Some text`
      to create a labelled icon. But, by this, some fonts are changed.
      
      Desired behavior after PR is merged:
      The old syntax can be used.
      f90cf060
  4. Jun 22, 2018
    • kujiu's avatar
      [IMP] Improve compatibility with screen readers (accessibility) (#24574) · 9de1bc0e
      kujiu authored
      Today, Odoo is really tricky to use without seeing the screen, it must be improved to be usable.
      
      This PR forbid to use labels without a "for" attribute, add some title, rule and aria attributes in HTML. With that, Odoo will be fully usable with a screen reader.
      
      
      * [IMP] Labels must have a for attribute. Improve accessibility.
      * [IMP] Better error message when trying to read a missing cached value
      * [FIX] Add some aria-label and title attributes for screen readers.
      * [FIX] Template name is not included in the error message in case of SyntaxError in QWeb
      * [FIX] Improve the Tour failed at step error message to be more explicit.
      * [IMP] Add aria-labels
      * [FIX] Add missing aria-label on failing test
      * [IMP] aria-hidden means hidden. Fix all bad aria-hidden and hide aria-hidden for all.
      * [IMP] Color names on kanban views and many2many tags
      * [IMP] Add some checks on views for accessibility.
      * [IMP] Add `alt` attribute on `img` tags.
      * [IMP] Add aria-label and title on non-described icons
      * [IMP] Add button role to widgets with btn class
      * [IMP] Translate aria and formatted attributes.
      * [IMP] Remove wrong aria-labelledby
      * [IMP] Add menu role on dropdowns
      * [IMP] Buttons must be focusable
      * [IMP] Add aria attributes on progress bars
      * [IMP] Improve accessibility of basic widgets
      * [IMP] Change main layout to more semantic tags
      * [IMP] Add menuitem role when missing
      * [IMP] Remove wrong role='presentation'
      * [IMP] Improve accessibility of tab panels
      * [IMP] Add aria-invalid on invalid fields
      * [IMP] Add aria-sort on ordered columns
      * [IMP] Add role on alerts
      * [IMP] Use dialog role, header, main and footer tags for modals
      * [IMP] Add labels on o_status
      * [IMP] Improve accessibility of kanban view with feeds and articles
      * [IMP] Add alerts in case of new messages
      * [IMP] Add widget, navigation or img role to aria-labelled items
      9de1bc0e
  5. May 22, 2018
  6. Apr 18, 2018
    • qsm-odoo's avatar
      [REF] *: <a/> elements do not need the oe_link class · 549f60b3
      qsm-odoo authored
      The 'oe_link' class is not linked to any style. The class is
      automatically converted to 'btn-link' for <button/> elements but this
      will not be done on <a/> elements as they are (nearly) unprocessed
      node during views rendering.
      
      Also there is minor difference between a '.btn-link' element and a
      <a/> element anyway (and maybe there should not be at all).
      549f60b3
  7. Aug 07, 2017
    • Mansi Gandhi's avatar
      [IMP] point_of_sale: Add new settings form per POS · 80e89c7a
      Mansi Gandhi authored
      Purpose: Replace POS APP settings with a clean POS Form settings,
               one per POS
      
          - add state button for (active/inactive) archive/unarchive and remove boolean field.
          - remove 'Reprint Receipt' field from pos_reprint module and related code.
          - remove 'Multi-currencies' field and related code.
          - put 'Company' field under the 'Taxes' block and 'Sales Channel' under the 'Pricing' block.
          - add 'save' buttons to install needed modules manually.
          - removed constrains and set default fiscal value on fiscal position ids even if that not selected.
          - change the skip Receipt Screen label to a more appropriate one.
          - Tax help only appears when Tax-included is selected.
      
          * [IMP] point_of_sale: Removing multiple prices prod
      
          Purpose: The choice of the method for "Multiple price per product" was
          not appropriate for the Point Of Sale. Only the choice of the Pricelist
          make sense. So, only the Pricelist can be choosen in the POS config.
      
          * [IMP] point_of_sale, pos_discount, pos_restaurant:
                  Generic module install
      
          Purpose: Before this improvement, some fields were used in pos.config to
                   automatically install some modules.
                   This fix tries to mimic the ResConfigSettings transient so that
                   when a field starts with 'module_', it's automaticaly
                   installed.
      80e89c7a
  8. Jan 05, 2017
Loading