[IMP] auction: Undo the changes in field name. Title corrected.

bzr revid: uco@tinyerp.com-20100922071745-59hzyzfkprrq665w
This commit is contained in:
uco (Open ERP) 2010-09-22 12:47:45 +05:30
parent 7f49c1f103
commit c842650ff4
6 changed files with 8 additions and 15 deletions

View File

@ -37,8 +37,7 @@ class auction_artists(osv.osv):
_columns = {
'name': fields.char('Artist/Author Name', size=64, required=True),
'pseudo': fields.char('Pseudo', size=64),
'birth_date':fields.date('Birth date'),
'death_date':fields.date('Death date'),
'birth_death_dates':fields.char('Lifespan', size=64),
'biography': fields.text('Biography'),
}
auction_artists()

View File

@ -144,14 +144,12 @@
<record model="auction.artists" id="auction_art_1">
<field name="name">Philippe Lavilier</field>
<field name="birth_date">1345-08-10</field>
<field name="death_date">1450-10-21</field>
<field name="birth_death_dates">1345-1450</field>
</record>
<record model="auction.artists" id="auction_art_2">
<field name="name">POREAU OSWALD</field>
<field name="birth_date">1877-03-12</field>
<field name="death_date">1955-09-11</field>
<field name="birth_death_dates">1877-1955</field>
</record>
<!-- demo data for the account tax code-->

View File

@ -15,8 +15,7 @@
<field name="arch" type="xml">
<tree string="Artists">
<field name="name"/>
<field name="birth_date"/>
<field name="death_date"/>
<field name="birth_death_dates"/>
</tree>
</field>
</record>
@ -31,8 +30,7 @@
<field name="name" colspan="4" string="Name"/>
<newline/>
<field name="pseudo"/>
<field name="birth_date"/>
<field name="death_date"/>
<field name="birth_death_dates"/>
</group>
<separator string="Biography" colspan="4"/>
<field name="biography" nolabel="1" colspan="4"/>

View File

@ -111,7 +111,7 @@
sequence="1"
id="menu_board_auction_open" icon="terp-graph" parent="menu_board_auction"/>
<menuitem name="Auction Management" id="auction.auction_menu_root" icon="terp-purchase" sequence="26" groups="base.group_system" action="open_board_auction"/>
<menuitem name="Auction" id="auction.auction_menu_root" icon="terp-purchase" sequence="26" groups="base.group_system" action="open_board_auction"/>
</data>
</openerp>

View File

@ -3,8 +3,7 @@
<artists>
<artist type="fields" name="name,id">
<name type="field" name="name"></name>
<birth_date type="field" name="birth_date"></birth_date>
<death_date type="field" name="death_date"></death_date>
<birth_death_dates type="field" name="birth_death_dates"></birth_death_dates>
<biography type="field" name="biography"></biography>
</artist>
</artists>

View File

@ -21,8 +21,7 @@
I create a new artist for an object.
-
!record {model: auction.artists, id: auction_artists_vincentvangogh0}:
birth_date: "1853-03-30"
death_date: "1890-07-29"
birth_death_dates: 1853-1900
name: Vincent van Gogh
-