How to create new Signal Button for use in transition and form button
Hi
I would like to create a new signal button for use in purchase order form.
This is the Workflow.XML that i created :
Workflow.XML
-------
<record id="purchase_order" model="workflow">
<field name="name"
<field name="osv"
<field name="on_
</record>
<record id="act_
<field name="wkf_id" ref="purchase_
<field name="name"
<field name="kind"
<field name="action"
</record>
<record id="trans_
<field name="act_from" ref="act_
<field name="act_to" ref="act_
<field name="signal"
</record>
-------
And then i add a new button call purchase_
<button name="purchase_
-------
so when in the purchase order states become = "waitinglocalup" it should show the purchase_
Traceback (most recent call last):
File "netsvc.pyo", line 489, in dispatch
File "service\
File "osv\osv.pyo", line 122, in wrapper
File "osv\osv.pyo", line 176, in execute
File "osv\osv.pyo", line 167, in execute_cr
AttributeError: 'purchase.order' object has no attribute 'purchase_
-------
Help me thanks OpenErp Community.
John
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- John Chen
- Solved:
- Last query:
- Last reply: