odoo 개발자 모드는 계산 된 필드를 추가합니다

1 개 \ 쉼표로 구분 필드에 필요한 값의 의존성 :

x_studio_, x_studio__1, x_studio_03

 

2 \ 계산 로직 :

자기의 레코드에 대해 :

   레코드 [ 'x_studio__3'] = _ record.x_studio / (record.x_studio_ record.x_studio_03 +)

참고 :

비어있는 4 컷의 두 번째 라인.

 

아 크레인 :

 

 

 

월터 :

x_weight, x_studio_wg, product_uom_qty

 

월터 :

자기의 레코드에 대해 :

    레코드 [ 'x_weight'] = record.x_studio_wg * record.product_uom_qty

 

학 입고 획일 화 :

 

추천

출처www.cnblogs.com/misstaste/p/10930988.html