Bharat Devnani (Open ERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-802996-bde into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #802996 in OpenERP Addons: "can't search Sales Order by creation date"
https://bugs.launchpad.net/openobject-addons/+bug/802996
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-802996-bde/+merge/67144
Hello Sir,
I have changed the data type of create_date field and removed datetime widget
from create date field in xml file.
Thanks & Regards,
Devnani Bharat R.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-802996-bde/+merge/67144
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-802996-bde.
=== modified file 'sale/sale.py'
--- sale/sale.py 2011-07-06 14:56:44 +0000
+++ sale/sale.py 2011-07-07 09:31:57 +0000
@@ -207,7 +207,7 @@
('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),
'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."),
'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),
=== modified file 'sale/sale_view.xml'
--- sale/sale_view.xml 2011-06-30 13:30:09 +0000
+++ sale/sale_view.xml 2011-07-07 09:31:57 +0000
@@ -238,7 +238,7 @@
</group>
<group colspan="2" col="2" groups="base.group_extended">
<separator string="Dates" colspan="2"/>
- <field name="create_date" widget="datetime"/>
+ <field name="create_date"/>
<field name="date_confirm"/>
</group>
<separator colspan="4" string="Notes"/>
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp