improved_view

bzr revid: fp@tinyerp.com-20081119145516-bxzo5ot4x6ylnort
This commit is contained in:
Fabien Pinckaers 2008-11-19 15:55:16 +01:00
parent a9ee76ae48
commit 9d9e0dda86
4 changed files with 19 additions and 4 deletions

View File

@ -662,7 +662,10 @@ class document_configuration_wizard(osv.osv_memory):
_rec_name = 'Auto Directory configuration'
_columns = {
'host': fields.char('Server Address', size=64, help="Put here the server address or IP. " \
"Keep localhost if you don't know what to write.")
"Keep localhost if you don't know what to write.", required=True)
}
_defaults = {
'host': lambda *args: 'localhost'
}
def action_cancel(self,cr,uid,ids,conect=None):
return {

View File

@ -251,7 +251,7 @@
<form string="Auto Configure">
<separator string="Document Management System." colspan="4"/>
<label string="This wizard will automatically configure the document management system according to modules installed on your system." align="0.0" colspan="4"/>
<field name="host"/>
<field name="host" colspan="4"/>
<separator string="" colspan="4"/>
<label string="" colspan="2"/>
<group col="4" colspan="2">

View File

@ -81,6 +81,7 @@
<group colspan="2" col="2">
<separator string="Invoice Control" colspan="2"/>
<field name="invoice_method"/>
<field name="invoice_id" readonly="1"/>
</group>
<newline/>
<separator string="Purchase Control" colspan="4"/>
@ -204,6 +205,12 @@
</field>
</record>
<act_window context="{'partner_id': active_id}" domain="[('partner_id', '=', active_id)]" id="act_res_partner_2_purchase_order" name="Purchase orders" res_model="purchase.order" src_model="res.partner"/>
<act_window
context="{'partner_id': active_id}"
domain="[('partner_id', '=', active_id)]"
id="act_res_partner_2_purchase_order"
name="Purchase orders"
res_model="purchase.order"
src_model="res.partner"/>
</data>
</openerp>

View File

@ -14,7 +14,12 @@
</field>
</record>
<act_window domain="[('purchase_id', '=', active_id)]" id="act_purchase_order_2_stock_picking" name="Packings" res_model="stock.picking" src_model="purchase.order"/>
<act_window
domain="[('purchase_id', '=', active_id)]"
id="act_purchase_order_2_stock_picking"
name="Packings"
res_model="stock.picking"
src_model="purchase.order"/>
</data>
</openerp>