- Take payment term of the partner from the user - Compute due_date by calling onchage function bzr revid: ced-13ca5203129162de52a84a101361a674f8f2eb2b