You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to solve #85 I came across the following problem.
Where as calling the onchange_sale_price method (with argument 'fixed', 'percentage' or 'formula') on a sale.config.settings transient object works fine, calling the onchange_company_id method (with an int company id as argument) on an account.config.settings transient object does not. It returns a TypeError: onchange_company_id() takes exactly 1 argument (5 given)
The only reason I could see for this to happen is that where as the first one is written with the old api:
While trying to solve #85 I came across the following problem.
Where as calling the
onchange_sale_price
method (with argument'fixed'
,'percentage'
or'formula'
) on asale.config.settings
transient object works fine, calling theonchange_company_id
method (with anint
company id as argument) on anaccount.config.settings
transient object does not. It returns aTypeError: onchange_company_id() takes exactly 1 argument (5 given)
The only reason I could see for this to happen is that where as the first one is written with the old api:
where as the second one is written with the new api:
Do you confirm this analysis? Does this mean that erppeek does not support the new api correctly yet? Or should I call that method differently?
For information, this is how I call the first one:
and this is how I call the second:
The text was updated successfully, but these errors were encountered: