From fe7b86d77b5d6b0ff45b09abab1657f2157c3655 Mon Sep 17 00:00:00 2001 From: nvi-openerp Date: Fri, 26 Nov 2010 14:38:24 +0100 Subject: [PATCH] [IMP] Improved wizard for publisher warranty contracts bzr revid: nicolas.vanhoren@openerp.com-20101126133824-a0m6liazwl3x0z0k --- .../publisher_warranty/publisher_warranty.py | 3 +- .../publisher_warranty_view.xml | 49 ++++++++++++------- 2 files changed, 34 insertions(+), 18 deletions(-) diff --git a/bin/addons/base/publisher_warranty/publisher_warranty.py b/bin/addons/base/publisher_warranty/publisher_warranty.py index 52797575f4e..8451e798f86 100644 --- a/bin/addons/base/publisher_warranty/publisher_warranty.py +++ b/bin/addons/base/publisher_warranty/publisher_warranty.py @@ -243,9 +243,10 @@ class publisher_warranty_contract_wizard(osv.osv_memory): A wizard osv to help people entering a publisher warranty contract. """ _name = 'publisher_warranty.contract.wizard' + _inherit = "ir.wizard.screen" _columns = { - 'name' : fields.char('Contract Name', size=256, required=True ), + 'name' : fields.char('Serial Key', size=256, required=True ), 'state' : fields.selection([("draft", "Draft"), ("finished", "Finished")]) } diff --git a/bin/addons/base/publisher_warranty/publisher_warranty_view.xml b/bin/addons/base/publisher_warranty/publisher_warranty_view.xml index 4add3c3d8ed..8ef3832e4dd 100644 --- a/bin/addons/base/publisher_warranty/publisher_warranty_view.xml +++ b/bin/addons/base/publisher_warranty/publisher_warranty_view.xml @@ -91,24 +91,39 @@ publisher_warranty.contract.wizard form -
- - - - - - - -