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
FixesOCA#33.
This is due to the fact that with the v8 API the methods that compute
function fields are called not only on save, but also as automatic
onchanges. In that situation, `self` is not a true record, but a virtual
NewId that contains only the values present in the view.
That is cool in theory, but in cases like that it can crash because the
requisition_id is empty as it is not present in the view.
This fix does the computation that relies on requisition_id only when it
is available. I do not check explicitly whether self if a NewId, so that
if we manage to fix the view so that we know the requisition_id, the
amount_total_company will be updated on the fly.
Install
logistic_requisition
alone, create alogistic.requisition.line
and try to add a source.You cannot fill in the currency, but when you try to save, you get an error saying that the currency is missing.
The text was updated successfully, but these errors were encountered: