Skip to content
Snippets Groups Projects
  1. Sep 02, 2016
    • Denis Vermylen (dve)'s avatar
      [IMP] website,website_sale: improve settings view · 07a1ed40
      Denis Vermylen (dve) authored
      rename options, add radio widget
      07a1ed40
    • Martin Trigaux's avatar
      [FIX] all: remove external ids fakely from base · 11812b0b
      Martin Trigaux authored
      Several modules defines records with the external ID `base.foo_bar` while it is
      created inside this module (typically menus and groups).
      While there is no technical reasons to do so but this may introduce issues:
      
      - these records will not be deleted during uninstall
      - if a language is loaded before the installation of the module, it won't be
        translated
      
      The uninstallation will only remove the records with an external id linked to
      this module (these would only be removed when removing base).
      
      Installing a language before the module will drop the translations not linked
      to an existing external id (as it can not be resolved).
      
      This commit correct all the external ids tagged as from base or other incorrect
      modules.
      11812b0b
    • stefanorigano's avatar
      [FIX] website: remove bg image support for columns in s_cover snippet · d6ec094a
      stefanorigano authored
      The snippet section can have a color or a background. Previous commit
      added the functionnality for its innercolumn too... but having a bg
      image on top of another one does not make sense, so only keep the
      color option for columns.
      d6ec094a
    • stefanorigano's avatar
      [IMP] website: change layout of s_references and s_big_message snippets · 2f303acd
      stefanorigano authored
      - s_references
          * Replace demo images (lighter ones)
          * Move title to left
          * Review responsiveness
      - s_big_message
          * Add background
          * Use grid system
      2f303acd
    • qsm-odoo's avatar
      [IMP] web, website: adapt tour launching to new system · d41ed40c
      qsm-odoo authored
      * The debug manager contains a feature to launch tours, adapt it
      to new web_tour.tour system
      * The website help menu allowed to relaunch tutorial tour in debug
      mode. This feature is not adapted to new tour system and was useless
      in the first place (debug mode in frontend is barely used anyway).
      -> remove the website help menu and the feature
      d41ed40c
    • qsm-odoo's avatar
      [FIX] website: correct snippet structure of .s_title · 30117517
      qsm-odoo authored
      Commit 744cd64b re-added the removed
      col system in the title snippet but did not respect the odoo structure
      which is section > .container [> .row > .col-*] and put the container
      class directly on the section. With this method, when changing the
      background of the snippet, only the container part is filled
      with background.
      30117517
    • qsm-odoo's avatar
  2. Sep 01, 2016
  3. Aug 31, 2016
  4. Aug 30, 2016
    • qsm-odoo's avatar
      [IMP] web, website(_*): use web.layout for every web page · b4a159d2
      qsm-odoo authored
      The web modules defines a "layout" template which is only used by the
      login default page. Now the backend template "web.webclient_bootstrap"
      and the frontend template "website.layout" both use the "web.layout"
      template as base.
      
      Some parameters can be passed to customize the default "web.layout"
      template:
      - "head": content will be placed at the end of the <head> tag of the
      page
      - "title": to set the title of the page (the <title> tag should not be
      placed "by hand")
      - "x_icon": the url for the page icon
      - "html_data": dictionnary whose key-value pairs will be placed as
      attribute-value for the <html> tag
      - "body_classname": the classname to set on the <body> tag
      
      Note: xpath expression on the website.layout template can now only find
      the #wrapwrap element and its children. An expression "//body" will not
      have any result. If something has to be added in the body element but
      not in the #wrapwrap element, simply change the xpath
      <xpath expr="//body" position="inside"> with
      <xpath expr="//div[@​id='wrapwrap']" position="after">
      b4a159d2
    • Christophe Matthieu's avatar
  5. Aug 29, 2016
  6. Aug 28, 2016
  7. Aug 26, 2016
    • Martin Trigaux's avatar
      [FIX] update saas-11 translations by merging 9.0 and master · f0c82241
      Martin Trigaux authored
      using the --uses-first parameter on msgmerge this time
      f0c82241
    • qsm-odoo's avatar
      [IMP] web_tour, *: allow to properly extend tours · f9a84b5e
      qsm-odoo authored
      * crm, project, website, website_event, website_blog, website_forum,
      website_sale
      
      Eg: the tour 'shop_buy_product' is extended by the website_sale_options
      addons to add a step to close a modal.
      
      The current solution was requiring the module that defines the tour
      to extend, then add/remove steps in the "step" key of the tour
      definition.
      Some of the problems with this method were:
      * The "register" method calls the "update" method to immediately
      search for tip to place once registered (as register may be called
      after the DOM is ready). So extensions of tours were happening after
      the tours were started (and the tours were not restarted).
      * The addition/removal of steps was happening after they were filtered
      according to the "edition" key.
      
      To allow extension, the system is changed as follow:
      * The "register" method now only saves the steps and options without
      modifying them and does not call the "update" method.
      * Once the DOM was ready, the tour service started listening to DOM
      mutations and called the "update" tour method. Now, this "update" call
      is replaced by a "_register_all" call, on DOM ready and at the end of
      the current call stack (which makes sure all modules are loaded). This
      "_register_all" method marks the registered tours as ready after having
      filtered the steps according to the "edition" key and initialized the
      current step to trigger.
      * Also, tours can now define a "wait_for" option which allow them to
      be marked as ready for run and update after the given deferred. Those
      tours can now also be extended without having to wait for the deferred.
      PhamtomJS must wait for the "ready" key to be true to run the tour.
      f9a84b5e
    • Martin Trigaux's avatar
      [I18N] export master source terms · a1208038
      Martin Trigaux authored
      a1208038
  8. Aug 25, 2016
  9. Aug 24, 2016
  10. Aug 23, 2016
    • Christophe Matthieu's avatar
      [IMP] web: add ace editor for xml and python edition · 6d04c70a
      Christophe Matthieu authored
      * display all lines and don't display the scroll bar into ace editor
      * lazy read ace lib and add missing lib file
      * use not minified version of ace lib
      * Move ace lib from website to web
      * Added ace widget for webclient
      * XML mode for view text box
      * Python mode for server action text box
      * Removed web_ace_editor.xml, instead added template in base.xml itself
      * Added widget=ace_editor in compute field of ir.model.fields
      6d04c70a
  11. Aug 22, 2016
    • Simon Lejeune's avatar
      [FIX] various: slug of a non-existing record · f9d2f0b5
      Simon Lejeune authored
      better patch for rev e9b649b5
      
      * also fixes website_event which present the same issue (depends
        on a function that slugs)
      * raise an exception when slug is called with wrong arguments
        instead of returning None (which was unclear)
      * before calling slug in a function where we got a depends, check
        that the record is actually created
      f9d2f0b5
Loading