from trytond.model import ModelSingleton, ModelSQL, ModelView, fields class Configuration(ModelSingleton, ModelSQL, ModelView): "Purchase Trade Configuration" __name__ = 'purchase_trade.configuration' pricing_rule = fields.Text("Pricing Rule") sale_report_template = fields.Char("Sale Template") sale_bill_report_template = fields.Char("Sale Bill Template") sale_final_report_template = fields.Char("Sale Final Template") invoice_report_template = fields.Char("Invoice Template") invoice_cndn_report_template = fields.Char("CN/DN Template") invoice_prepayment_report_template = fields.Char("Prepayment Template") purchase_report_template = fields.Char("Purchase Template") shipment_shipping_report_template = fields.Char("Shipping Template") shipment_insurance_report_template = fields.Char("Insurance Template")