-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
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
Import the plugin: the file odooStep.tar doesn't contain class: odooStep #3
Comments
Hi, However, keep in mind that its still under development. |
Hi Ecdani, Please correct me if your name is incorrect. Thank you for your information. I copied all file to "workflow\engine\plugins" and it works fine. I have some concerns
Thank you, |
I'm Dani, but you can use my nickname.
I think that as long as the XML-RPC API remains unchanged in Odoo the plugin will work, but i do not tried it yet.
Yes, of course, as long as the license is respected: https://github.com/ecdani/odooStep/blob/master/LICENSE
That is one of the purposes of the plugin, the data is loaded from Odoo, product.product is a model of Odoo. There is usually a models reference in Odoo under "developer settings mode", anyway you must appeal to the database in many cases to get the model. If this is not what you want, you can initialize a PM array instead: http://wiki.processmaker.com/3.1/Variables I hope I have helped. |
Hi Dani, Thank you for your reply. Its quite clear and have helped me a lot. I will test the plugin and let you know. |
Hi Dani, I got the notices
Supposedly, I did these steps below to get products from Odoo (product.product model) to put in the drop-down control in Request Purchase Form
Order Request Form
Then I check source code in file Please advise
Thanks a lot |
Hi, Did you create odoo_product variable in process maker first? NOTE: I did searching for getVarFieldType function in source code, I realized that there is no definition for this function. getVarFieldType() is a process maker function, you can see the declaration in htdocs/workflow/engine/classes/model/om/BaseProcessVariables.php and again in workflow/engine/classes/model/om/BaseProcessVariables.php i dont know what definition uses Process maker, but both are the same. The postprocessMethod() is not completly developed, this function try to get the type of the output variable (@@odoo_product in your case) and apply a "postprocessfunction" that convert the Odoo response in an acceptable Process Maker variable. The combinatorial of cases is a headache. Im still trying to figure out how to approach it in a good way. Anyway, your case must work. "I click here then nothing is happened" That is a Process maker issue, not related with odooStep :) would you mind to explain a bit reagarding Parámetros, Parámetros KW fields in Odoo Step UI? and how are the format of them? There is a very strong correlation with Odoo XML-RPC API: https://www.odoo.com/documentation/8.0/api_integration.html#calling-methods The format in parameters is like: value,value,value,... etc In some cases, like create_multiple, they have a different behavior. The variables must be iterable, and it will iterate it doing multiple create calls. Definitely i need to document this. And finally, please apologize me my surely bad english. |
Hi Dani, Thank you very much for your information. I can get returned product from Odoo already and just updated the previous comment. Kindly advise me the following concerns
Regards, |
Hi, is there any mapping to map these fields to product_product column in your plugin? Is better to search the model in Odoo first, try this: activate developer mode (in settings main screen), navigate where is show in the image and search what you want. Kindly show the Odoo Steps definition to create CrearLineasPedido, CrearPedido and others to push order lines to Odoo ( I saw in the video, you access Odoo and can see order request) I think the definition is in the video, anyway here is: Name: CrearLineasPedido The grid type variable have a form like this (or similar), the key in kwparameters is used as fieldkey to retrieve the value: Name: CrearPedido Might I get the exported the project in the demo video? I cant supose how this can be exported. The project is the tutorial of process maker, with the additions you can see in the video. Is quite simple (and quicker) replicate it. I just noticed the modification in your previous comment. I'm going to see it. |
partner, itemGrid mean here, for debug purpose only is it? I maintain that "step screen" that does nothing for debug purposes. |
Hi Dani, Thank you for your detailed and clear explanation. It was very helpful and understandable. I will try tomorrow and update you. If our company want to combine Odoo + ProcessMaker, I will definitely use your code, make modification. Thanks a lot, |
Hi Dani, Just to update you, I can run your code to show demo without any problems. I think I will modify your code to apply in our company. Thank you so much. |
That sounds great. I upload a new version, i retrieve prices and create a track code from process maker in Odoo. |
Hi Dani, That's great because I'm going to get the price when making a purchase request. Please update me if you update new features. |
Dear,
I am new to Process Maker. I tried to install this plugin with Process Maker 3.1 by downloading the source code and create a .tar file --> Then import the tar file via Plugin Manager. However, I got this error
"The file odooStep.tar doesn't contain class: odooStep"
Please advise,
Thank you very much!
The text was updated successfully, but these errors were encountered: