driou
d63bfa8699
Update README.md
2014-05-19 15:39:02 +02:00
xmo-odoo
be77d7a128
Merge pull request #51 from katyukha/oe-fix-1
...
Fixed bug in 'oe' script when passing no arguments
2014-05-19 14:12:57 +02:00
Дмитро Катюха
7d12d4aaa1
Fixed bug in 'oe' script when passing no arguments
...
When no arguments passed to 'oe' script next exception was thrown:
```
Traceback (most recent call last):
File "./oe", line 5, in <module>
if sys.argv[1] == 'run-tests':
IndexError: list index out of range
```
2014-05-19 15:06:59 +03:00
xmo-odoo
7d00167dbb
Merge pull request #48 from xmo-odoo/doc-fixes
...
[FIX] indentation and formatting of various rst snippets
2014-05-19 14:00:58 +02:00
Xavier Morel
8c86be0c60
[FIX] indentation and formatting of various rst snippets
2014-05-19 13:59:17 +02:00
xmo-odoo
f1a1c6e988
Merge pull request #46 from katyukha/setup-py-scripts-fix
...
Added openerp-gevent and oe to 'scripts' section in setup.py
2014-05-19 12:30:31 +02:00
Дмитро Катюха
9f13722f78
Added openerp-gevent and oe to 'scripts' section in setup.py
2014-05-19 12:45:47 +03:00
xmo-odoo
201701f38c
Merge pull request #38 from cysnake4713/master
...
[FIX] report set_html_image error
2014-05-19 11:40:53 +02:00
xmo-odoo
072485799c
Merge pull request #27 from lyinfo/master-ck-match
...
Dereferencing of nones could lose error messages during import
2014-05-19 10:18:27 +02:00
xmo-odoo
59101be73b
Merge pull request #44 from xmo-odoo/master-gitignore
...
[FIX] missing gitignore server rules
2014-05-19 10:16:44 +02:00
Xavier Morel
f1416728e7
[FIX] port trunk bzrignore to gitignore
...
previous port only had the web client's rules
2014-05-19 10:14:41 +02:00
xmo-odoo
3571a3dcc3
Merge pull request #43 from xmo-odoo/website-tutorial
...
First howto: tutorial to basic website features (dev-wise)
2014-05-19 09:55:22 +02:00
xmo-odoo
5313714530
[FIX] replace a few more references to trunk with master
2014-05-19 09:48:28 +02:00
xmo-odoo
24d594ab94
[FIX] mainline branch is called master in git
2014-05-19 09:32:53 +02:00
Xavier Morel
cab23933e3
[IMP] wording/section conclusion
2014-05-19 08:44:48 +02:00
Xavier Morel
b6f6e9d3a3
[ADD] move data from custom objects to standard
2014-05-19 08:44:29 +02:00
Xavier Morel
ddf24b3ab6
[ADD] reuse of existing openerp stuff
2014-05-19 08:32:23 +02:00
Xavier Morel
9cefa76988
[ADD] hasclass() xpath function
...
Server-side, view extension is done via xpath. This includes "template" views
full of HTML.
HTML elements often have a bunch of classes, sometimes even semantic
(!). XPath is generally great, but specifically lousy at dealing with
space-separated values: in standard XPath 1.0 to know if an element has a
class 'foo' the predicate is:
contains(concat(' ', normalize-space(@class), ' '), ' foo ')
and this has to be fully duplicated if there's a second class involved.
Things are slightly better with EXSLT/XPath 2.0 and tokenize, but still not
great:
tokenize(@class, '\s+') = 'foo'
and the equality check is very weird when unaware of XPath's evaluation rules.
``hasclass`` makes this much simpler to deal with: to get any ``foo`` node
with the class ``bar`` is as simple as:
//foo[hasclass('bar')
and it can take multiple class, as with e.g. jquery it will return elements
with all specified classes.
Beware though, the predicate function will be called once for each element to
check, since it's implemented in pure python and not profiled elements should
be filtered as much as possible before this point.
2014-05-19 08:32:23 +02:00
Xavier Morel
9a1413576a
[ADD] forgotten images, new patches/howto sections
2014-05-19 08:32:22 +02:00
Xavier Morel
43523d4e35
[FIX] add xmlid to lectures so they don't get duplicated on -i updates
2014-05-19 08:32:22 +02:00
Xavier Morel
2f260932f3
[REM] more todos: fixed by using -i to update the module
2014-05-19 08:32:21 +02:00
Xavier Morel
44a1ed5a1f
[FIX] remove fixed todos, fix incorrect t-field use
2014-05-19 08:32:21 +02:00
Xavier Morel
fdb6218f44
[FIX] website features integration section
2014-05-19 08:32:20 +02:00
Xavier Morel
85a3fcf510
[REM] run-through of advanced editor thing features, should be in a different document
2014-05-19 08:32:20 +02:00
Xavier Morel
108afd98de
[FIX] reload instruction
2014-05-19 08:32:19 +02:00
Xavier Morel
c5ba0a5818
[FIX] incorrect offsets in patchfile
2014-05-19 08:32:19 +02:00
Xavier Morel
b9a1879a74
[IMP] step through *working* instructions in the first section
2014-05-19 08:32:18 +02:00
Xavier Morel
5f7be30a2f
[IMP] clarify initial instructions, autogen directory if does not exist
2014-05-19 08:32:17 +02:00
Xavier Morel
d3268420ae
[IMP] slightly simplify first code snippet
2014-05-19 08:32:17 +02:00
Xavier Morel
8bcc42d4d0
[FIX] effect name change for generated controller and model onto doc
2014-05-19 08:32:16 +02:00
Xavier Morel
729258ed9d
[IMP] scaffold: use the module name for the first controller and model
2014-05-19 08:32:16 +02:00
Xavier Morel
6dcf6bb6bc
[CHG] remove flask theme, add sphinx-bootstrap 0.3.8
2014-05-19 08:32:15 +02:00
Xavier Morel
cf833a2f53
[FIX] don't blockquote a list of stuff for no reason
2014-05-19 08:32:14 +02:00
Xavier Morel
290883ab2f
[FIX] fixed ta controller parameter in wrong patch
2014-05-19 08:32:14 +02:00
Xavier Morel
be1fe080c9
[FIX] ta controller parameter
2014-05-19 08:32:13 +02:00
Xavier Morel
a416ca66d0
[REM] remove fixed/updated todos
2014-05-19 08:32:13 +02:00
Xavier Morel
fdc63e3a67
[IMP] some titles, move auth=public from website-dependency to website-layoutify
...
auth=public is not necessary to depending on website, however rendering within website/website's layout blows up if there is no current user
2014-05-19 08:32:12 +02:00
Xavier Morel
c9d4371119
[FIX] howto code samples
2014-05-19 08:32:12 +02:00
Xavier Morel
cfc7015355
[FIX] templating section, some wording
2014-05-19 08:32:11 +02:00
Xavier Morel
66d8934802
[FIX] correctly handle get_inheriting_views_arch when uid=None
2014-05-19 08:32:10 +02:00
Xavier Morel
0ea465e8a3
[IMP] simplify howto wording, add modules directory (output) to scaffold
2014-05-19 08:32:10 +02:00
Xavier Morel
68eb0983f6
[ADD] improved scaffolding, controllers scaffolding
...
alter tutorial module to use scaffolded structure
2014-05-19 08:32:09 +02:00
Xavier Morel
f41fde480d
[FIX] rST warnings & errors
2014-05-19 08:31:09 +02:00
Xavier Morel
275c612dbb
[IMP] move data to demo, action and menus
2014-05-19 08:23:16 +02:00
Xavier Morel
6d25d63981
[ADD] lectures model, demonstrate date fields & options
2014-05-19 08:23:15 +02:00
Xavier Morel
8a73978063
[FIX] use format_date for date fields
2014-05-19 08:23:15 +02:00
Xavier Morel
80f03b2604
[IMP] source formatting: fill-paragraph to 78
...
leaves a bit of room for diff mark & a small gutter in a 80c system
2014-05-19 08:23:15 +02:00
Xavier Morel
b2a7516522
[ADD] explain reason for new working model
2014-05-19 08:23:14 +02:00
Xavier Morel
125d1586b0
[ADD] models intro
2014-05-19 08:23:14 +02:00
Xavier Morel
10fd3d201f
[IMP] some doc wording, remove profane comment
2014-05-19 08:23:14 +02:00