Purchase_Delivery Module
Hello
The time i add the delivery line in the purchase order, i got an error stating that "get_price() takes exactly 7 non-keyword arguments (9 given)".I had tried all possible ways but not getting success. Presently me using 5.0.6 version.
Thnks in advance...
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Jay Vora (Serpent Consulting Services)
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Hello,
I have installed purchase_delivery module but i did not get the error which you have specified in the question.
So can you provide me more information regarding the steps to reproduce this ?
Thanks.
Revision history for this message
|
#2 |
Hi vra,
Presently i started with demo data available. Than i import a
Purchase_delivery module..installed it. Than i go to Purchase order's select
a supplier, add a delivery method,which is coming "the poste".Than i add a
delivery line, fill the required fields...than the time i create delivery
line..i got this error..Please find the above attached screanshot also..
Thnks in advance
On Tue, Nov 17, 2009 at 10:26 AM, vra (openerp) <
<email address hidden>> wrote:
> Your question #90415 on OpenObject Addons changed:
> https:/
>
> Status: Open => Answered
>
> vra (openerp) proposed the following answer:
> Hello,
>
> I have installed purchase_delivery module but i did not get the error
> which you have specified in the question.
> So can you provide me more information regarding the steps to reproduce
> this ?
>
>
> Thanks.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
Revision history for this message
|
#3 |
Hello,
This Error is only raise when you inherit the model delivery_grid :=>_inherit = "delivery.grid" and define the get_price() method with different parameter which is defined in super class.
Basically This method is define in following 2 modules :
1.Delivery 2.purchase_delivery
and both contain get_price() method and the number of argument are also same in both modules.
so sorry for that from my side again i cannot reproduce your problem.
May be you define it again from your side and the number of arguments are not same.
Can you provide me your traceback error which is generated from server terminal?
Because as you mentioned "Please find the above attached screenshot" => I did not get your attachment.
Thanks.
Revision history for this message
|
#4 |
Hi Vra,
Me sorry for that...
You can now find the error attached above...
Thnks again..
On Tue, Nov 17, 2009 at 12:39 PM, vra (openerp) <
<email address hidden>> wrote:
> Your question #90415 on OpenObject Addons changed:
> https:/
>
> Status: Open => Answered
>
> vra (openerp) proposed the following answer:
> Hello,
>
> This Error is only raise when you inherit the model delivery_grid
> :=>_inherit = "delivery.grid" and define the get_price() method with
> different parameter which is defined in super class.
>
> Basically This method is define in following 2 modules :
> 1.Delivery 2.purchase_delivery
>
> and both contain get_price() method and the number of argument are also
> same in both modules.
> so sorry for that from my side again i cannot reproduce your problem.
>
> May be you define it again from your side and the number of arguments
> are not same.
>
> Can you provide me your traceback error which is generated from server
> terminal?
> Because as you mentioned "Please find the above attached screenshot" => I
> did not get your attachment.
>
>
> Thanks.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
Revision history for this message
|
#5 |
Hello,
In LP Question section you cannot attach any document.
So if you want to send please mail me on <email address hidden>.
Thanks.
Revision history for this message
|
#6 |
Hi Vra,
I have sended u details regarding purchase_delivery on your id.
Thnks
On Tue, Nov 17, 2009 at 12:49 PM, vra (openerp) <
<email address hidden>> wrote:
> Your question #90415 on OpenObject Addons changed:
> https:/
>
> Status: Open => Answered
>
> vra (openerp) proposed the following answer:
> Hello,
>
> In LP Question section you cannot attach any document.
> So if you want to send please mail me on <email address hidden>.
>
> Thanks.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
Revision history for this message
|
#7 |
Hello,
Can you provide me your version information regarding windows?
Because i have checked the windows version All in one version :5.0.6 which is latest and module purchase_delivery module is taken from stable_5.0_extra addons branch which is exist in following path =
https:/
Sorry again , I did not able to reproduce the error.
so please take the module from above link and check again.
Thanks.
Revision history for this message
|
#8 |
Hi vra,
God only know's wat all is gng wrong...
Let me configure my problem again,
-->I started adding new database with demo data.
-->I configured manufacturing profile.
-->I downloaded the latest module available on launchpad(link specified by
u)
-->I goto New purchase order...
-->Added a product(Basic Pc)
-->Add delivery line(It asks the delivery method,i selected "the poste")
-->i click on create delivery line
-->Here is the error flashing my way(get_price() takes only........)
Do i m going wrong way or me slipping from the procedure to follow...
Thnks in tonns..
On Tue, Nov 17, 2009 at 6:32 PM, vra (openerp) <
<email address hidden>> wrote:
> Your question #90415 on OpenObject Addons changed:
> https:/
>
> Status: Open => Answered
>
> vra (openerp) proposed the following answer:
> Hello,
>
> Can you provide me your version information regarding windows?
> Because i have checked the windows version All in one version :5.0.6 which
> is latest and module purchase_delivery module is taken from stable_5.0_extra
> addons branch which is exist in following path =
>
> https:/
> addons/
>
> Sorry again , I did not able to reproduce the error.
> so please take the module from above link and check again.
>
> Thanks.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
Revision history for this message
|
#9 |
Hello Manu,
You are absolutely right.
There is a definate error.
However, It has just been fixed today.
You may get the latest module from Launchpad.
https:/
Thank you.
Revision history for this message
|
#10 |
Hello,
Thank you for reporting.
It has been fixed by following revision :
stable_
Revision history for this message
|
#11 |
Thanks Jay (Open ERP), that solved my question.