i make custom module refer to res.partner , i make duplicate address with boolean field called "same". So when the boolean field checked my duplicate address will automatically filled base on address in the header of the form. I cannot get value from address .
i use this code
def on_change_address(self,cr,uid,vals,same):
a = vals.get("street")
if same :
return : {
'my_new_street','=',a
}
it not work at all..