Meera Trambadia (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-791117-ara into
lp:openobject-addons.
Requested reviews:
Mustufa Rangwala (Open ERP) (mra-tinyerp)
Related bugs:
Bug #791117 in OpenERP Server: "formatLang with date=True gives ValueError"
https://bugs.launchpad.net/openobject-server/+bug/791117
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-791117-ara/+merge/63849
Hello,
Fix: formatLang with date=True gives ValueError
Thanks,
ara
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-791117-ara/+merge/63849
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-791117-ara.
=== modified file 'sale/sale.py'
--- sale/sale.py 2011-05-18 16:45:45 +0000
+++ sale/sale.py 2011-06-08 12:31:51 +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-05-16 09:52:28 +0000
+++ sale/sale_view.xml 2011-06-08 12:31:51 +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