Comment 2 for bug 1322466

Revision history for this message
Bhavesh Selarka (bhaveshselarka13) wrote : Re: [Bug 1322466] Re: Automated action with mrp module

Thanks for reply

I have not done any costom code I have just configure the automated actions
as described.

There is write method's parameter update=false part causing a error.

So if any solution is there then let me know.

Thanks.
On Jun 19, 2014 10:06 PM, "Serpent Consulting Services" <
<email address hidden>> wrote:

> Bhavesh,
>
> It seems you did some custom code and overridden write(). Didn't you?
>
> Thanks.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1322466
>
> Title:
> Automated action with mrp module
>
> Status in Odoo Addons:
> New
>
> Bug description:
> I want to send notification mail when MO is generated and for that i
> have created an automated action.
>
> My automated action rule define like with following criteria.
>
> Automated action:
>
> Related Document Model: Manufacturing Order
> After Update: filter with state = draft
>
> Server Action:
>
> Object: Manufacturing Order
> Action Type: Email
>
> So when i made the Sale order for the produce type product so it will
> generate MO so that notification mail via automated action i want to
> send the email.
>
> But i am getting following traceback.
>
>
> Traceback:
>
> File
>
> "/home/software/workspace/openerp/addons/mrp_operations/mrp_operations.py",
> line 272, in _compute_planned_workcenter }, context=context,
> update=False) TypeError: wrapper() got an unexpected keyword argument
> 'update'
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openobject-addons/+bug/1322466/+subscriptions
>