Files
odoo_source/doc
Jeremy Kersten 679f14dc59 [ADD] base: view inheritance with wrapping support
When using the inheritance spec `position="replace"`,
the framework will now support a text node exactly
equal to `$0` and will replace it with the node
that was matched by the inheritance locator.

Given an original view equal to this:
```
   <div class="foo">
     <p class="bar">the paragraph</p>
   </div>
```

And an inherited view with the following inheritance spec:
```
   <p class="bar" position="replace">
      <div class="panel">
        <div class="panel-header">The Title</div>
          <div class="panel-body">
            $0
          </div>
      </div>
   </p>
```

The finalt result after inheritance would become:
```
   <div class="foo">
      <div class="panel">
        <div class="panel-header">The Title</div>
        <div class="panel-body">
          <p class="bar">the paragraph</p>
        </div>
      </div>
   </div>
```

Also updated doc and tests accordingly.
2016-04-27 16:47:51 +02:00
..
2014-11-17 14:07:36 +01:00
2015-07-07 11:22:50 +02:00
2015-07-07 11:22:50 +02:00
2015-07-07 11:22:50 +02:00
2015-09-10 12:51:47 +02:00
2015-07-07 11:22:50 +02:00