We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I think there is a problem on calling objects methods. See commit 97 in OERPScenario, file "sale_order.rb", line 126.
Seems related to a quite complex workflow :( !
From a created SaleOrder (with one line, and manual shipping and invoice) in @saleorder do
@saleorder.wkf_action('order_confirm') @saleorder.wkf_action('manual_invoice') @Invoice=@saleorder.invoice_ids[0] @invoice.wkf_action('invoice_open') @invoice.wkf_action('invoice_cancel') AccountInvoice.action_cancel_draft([@invoice.id]) puts @saleorder.state
=> At this point, the SO has a 'invoice_except' state into the DB, but a 'confirmed' state for Ooor...
Even doing that:
@saleorder=SaleOrderLine.find(@saleorder.id) puts @saleorder.state
At least, if too complicated to fix the whole things, is it possible to avoid that by "finding" again the needed object ?
Thanks in advance,
Regards,
Joël
The text was updated successfully, but these errors were encountered:
Ok, this is an invalid bug. Sorry for the inconvenient.
Sorry, something went wrong.
No branches or pull requests
Hi,
I think there is a problem on calling objects methods. See commit 97 in OERPScenario, file "sale_order.rb", line 126.
Seems related to a quite complex workflow :( !
From a created SaleOrder (with one line, and manual shipping and invoice) in @saleorder do
@saleorder.wkf_action('order_confirm')
@saleorder.wkf_action('manual_invoice')
@Invoice=@saleorder.invoice_ids[0]
@invoice.wkf_action('invoice_open')
@invoice.wkf_action('invoice_cancel')
AccountInvoice.action_cancel_draft([@invoice.id])
puts @saleorder.state
=> At this point, the SO has a 'invoice_except' state into the DB, but a 'confirmed' state for Ooor...
Even doing that:
@saleorder=SaleOrderLine.find(@saleorder.id)
puts @saleorder.state
At least, if too complicated to fix the whole things, is it possible to avoid that by "finding" again the needed object ?
Thanks in advance,
Regards,
Joël
The text was updated successfully, but these errors were encountered: