Hello,

        Yes, you are right here 'action_invoice_create' is method name which is 
called by code and also 'action_invoice_create' is signal which is call  
'wkf_invoice_create' and after 'action_invoice_create' method called. 

        But, the problem is arise that why we call 2 time this 
'action_invoice_create' method [by code & work-flow ].so here I test this 
feature and I get that a invoice is create only one not 2 time based on code 
bcoz 'action_invoice_create' in that code we also specify that 
   'if repair.state in ('draft','cancel') or repair.invoice_id:
                continue'

        As per my view this modification is necessary and for make a invoice by 
wizard to change state to be invoiced to done state.otherwise we have to 
simplify the existing functions and work-flow signal such a way that it will 
work fine from both (by button at bottom / by wizard) like in sale/purchase

        Correct me if I am wrong.

Thanks.
mma

-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-mrp-repair-state-mma/+merge/88362
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-mrp-repair-state-mma.

_______________________________________________
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

Reply via email to