Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Transition in the workflow doesn't work - Recreate an invoice per percentage after canceled the old one

on 5/28/16, 12:56 PM 383 views

Hi everybody,

I have the current problems describe below ( OpenERP 7) :

If I create an invoice for my sale order and I canceled it, I can only recreate the same sale_order.

However, it happen that someone created a full invoice and want to cancel it to create a invoice per percentage.

Is it possible to "go back" in the workflow like before created the first one?

So in the stage "wait_invoice"?

I was thinking do some transition like this:

<record id="trans_wait_invoice_invoice_manual" model="workflow.transition">

<field name="act_from" ref="act_invoice_except"/>

<field name="act_to" ref="act_wait_invoice"/>

<field name="signal">invoice_reset</field>


<record id="trans_wait_invoice_invoice_manual" model="workflow.transition">

<field name="act_from" ref="act_invoice_cancel"/>

<field name="act_to" ref="act_wait_invoice"/>

<field name="signal">invoice_reset</field>


My signal is a button :

<button name="invoice_reset" string="Reset Invoice" type="object" attrs="{'invisible': [('state', '!=', 'invoice_except')]}" groups="base.group_user" />

Someone knows why it is not working? Any idea to correct it? Or another way to resolve my issue?

Many thanks,


On 6/15/16, 3:55 AM

A little up for the hope :-)

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 5/28/16, 12:56 PM
Seen: 383 times
Last updated: 6/15/16, 3:55 AM