forked from OCA/server-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
empty selection in m2m field template
[FIX] other licenses, return lines as well [FIX] license not shown in __oe__ [FIX] unprefix more names, try to get _name/_inherit right [IMP] group by module in zip [FIX] fix category and summary being on same line [FIX] fix export test [IMP] add tabs for reports/security/workflow/data + partial data/demo generation unprefix model names in __init__ [FIX] fix data file names in __openerp__.py [IMP] move Data&Demo after Interface in view [FIX] unprefix view file names [IMP] remove prefixes from field attrs in views [FIX] encode files in zip to utf-8, remove trailing comma in menu groups remove unused variable in tests remove AGPL3 or later from license choices: not in base module choices
- Loading branch information
Vincent Vinet
authored and
Maxime Chambreuil
committed
Oct 9, 2015
1 parent
6dfed35
commit 2eebf02
Showing
13 changed files
with
204 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,6 +65,7 @@ Contributors | |
* Maxime Chambreuil <[email protected]> | ||
* El hadji Dem <[email protected]> | ||
* Savoir-faire Linux <[email protected]> | ||
* Vincent Vinet <[email protected]> | ||
|
||
Maintainer | ||
---------- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 11 additions & 2 deletions
13
module_prototyper/templates/8.0/data/model_name.xml.template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,17 @@ | ||
<?xml version="1.0"?> | ||
<openerp> | ||
<data> | ||
{% for record in records %} | ||
<!-- | ||
<record id="{{ model }}_{{ loop.index }}" model="{{ model }}"> | ||
{% for key, val in record.read()[0].items() %} | ||
<field name="{{ key }}">{{ val }}</field> | ||
{% endfor %} | ||
</record> | ||
--> | ||
{% if not loop.last %} | ||
|
||
{{ data }} | ||
|
||
{% endif %} | ||
{% endfor %} | ||
</data> | ||
</openerp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.