openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #20443
[Bug 1094315] Re: [6.1][7.0][trunk] module sale_order_dates and requested_date field
** Description changed:
Currently, the requested_date field is not used when validating a sale order.
Personally, I thought that it was used in the workflow but it's not, it is just a dummy field.
- An easy workaround for this is to override "_get_date_planned"
-
- def _get_date_planned(self, cr, uid, order, line, start_date, context=None):
- result = super(sale_order, self)._get_date_planned(cr, uid, order, line, start_date, context=context)
- if order.requested_date and order.requested_date > result:
- result = order.requested_date
- return result
-
+ An easy workaround for this is to override "_get_date_planned"
+ (see attachment)
Consider it as an improvement.
** Attachment added: "diff.txt"
https://bugs.launchpad.net/openobject-addons/+bug/1094315/+attachment/3469753/+files/diff.txt
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1094315
Title:
[6.1][7.0][trunk] module sale_order_dates and requested_date field
Status in OpenERP Addons (modules):
New
Bug description:
Currently, the requested_date field is not used when validating a sale order.
Personally, I thought that it was used in the workflow but it's not, it is just a dummy field.
An easy workaround for this is to override "_get_date_planned"
(see attachment)
Consider it as an improvement.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1094315/+subscriptions
References