I have to made some customiztions in sale.order for revisions.So i have to add new state in sale order form.But cant able to add that new state.Please help me in this...When press the button it warns me that the sale_order.state 'quot_confirm' not available.But i have added it in state field.reply me ASAP.
_inherit = 'sale.order'
('draft', 'Draft Quotation'),
('sent', 'Quotation Sent'),
('waiting_date', 'Waiting Schedule'),
('progress', 'Sales Order'),
('manual', 'Sale to Invoice'),
('invoice_except', 'Invoice Exception'),
], 'Status', readonly=True, track_visibility='onchange',
help="Gives the status of the quotation or sales order. \nThe exception status is automatically set when a cancel operation occurs in the processing of a document linked to the sales order. \nThe 'Waiting Schedule' status is set when the invoice is confirmed but waiting for the scheduler to run on the order date.", select=True),
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 9/16/14, 1:53 AM|
|Seen: 634 times|
|Last updated: 3/16/15, 8:10 AM|