[IMP] sale : changed the data type of create_date field and removed datetime widget from create date field in xml file
lp bug: https://launchpad.net/bugs/802996 fixed bzr revid: bde@tiny2-desktop-20110707092531-sofhju5re6d083af
This commit is contained in:
parent
00c300a07b
commit
d8666bb35b
|
@ -207,7 +207,7 @@ class sale_order(osv.osv):
|
||||||
('cancel', 'Cancelled')
|
('cancel', 'Cancelled')
|
||||||
], 'Order State', readonly=True, help="Gives the state of the quotation or sales order. \nThe exception state is automatically set when a cancel operation occurs in the invoice validation (Invoice Exception) or in the picking list process (Shipping Exception). \nThe 'Waiting Schedule' state is set when the invoice is confirmed but waiting for the scheduler to run on the date 'Ordered Date'.", select=True),
|
], 'Order State', readonly=True, help="Gives the state of the quotation or sales order. \nThe exception state is automatically set when a cancel operation occurs in the invoice validation (Invoice Exception) or in the picking list process (Shipping Exception). \nThe 'Waiting Schedule' state is set when the invoice is confirmed but waiting for the scheduler to run on the date 'Ordered Date'.", select=True),
|
||||||
'date_order': fields.date('Ordered Date', required=True, readonly=True, select=True, states={'draft': [('readonly', False)]}),
|
'date_order': fields.date('Ordered Date', required=True, readonly=True, select=True, states={'draft': [('readonly', False)]}),
|
||||||
'create_date': fields.date('Creation Date', readonly=True, select=True, help="Date on which sales order is created."),
|
'create_date': fields.datetime('Creation Date', readonly=True, select=True, help="Date on which sales order is created."),
|
||||||
'date_confirm': fields.date('Confirmation Date', readonly=True, select=True, help="Date on which sales order is confirmed."),
|
'date_confirm': fields.date('Confirmation Date', readonly=True, select=True, help="Date on which sales order is confirmed."),
|
||||||
'user_id': fields.many2one('res.users', 'Salesman', states={'draft': [('readonly', False)]}, select=True),
|
'user_id': fields.many2one('res.users', 'Salesman', states={'draft': [('readonly', False)]}, select=True),
|
||||||
'partner_id': fields.many2one('res.partner', 'Customer', readonly=True, states={'draft': [('readonly', False)]}, required=True, change_default=True, select=True),
|
'partner_id': fields.many2one('res.partner', 'Customer', readonly=True, states={'draft': [('readonly', False)]}, required=True, change_default=True, select=True),
|
||||||
|
|
|
@ -238,7 +238,7 @@
|
||||||
</group>
|
</group>
|
||||||
<group colspan="2" col="2" groups="base.group_extended">
|
<group colspan="2" col="2" groups="base.group_extended">
|
||||||
<separator string="Dates" colspan="2"/>
|
<separator string="Dates" colspan="2"/>
|
||||||
<field name="create_date" widget="datetime"/>
|
<field name="create_date"/>
|
||||||
<field name="date_confirm"/>
|
<field name="date_confirm"/>
|
||||||
</group>
|
</group>
|
||||||
<separator colspan="4" string="Notes"/>
|
<separator colspan="4" string="Notes"/>
|
||||||
|
|
Loading…
Reference in New Issue