콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

A custom model e.g. CALC generates a new product based on size-measurements and production-costs.

There are three fields; calc.name, calc.quantity and calcprice that i need when i select a product from sales Quotation or sales.order.

In other words: I want to be able to select the custom.product, generated by custom.model:Calc when creating a new quotation. For now i can only select product-id from product.product.

1. Is it possible to create / fill a new product into product.template from a custom model object?

Calc.model

Calc.calc_id to product.template .product_id

Calc.name to product.template.name

Calc.price to product.template.list_price

Because of complex calculations I developed a custom model which results in a product. When making a new quote in: Sales / Quotes, I can add order-lines and select div. products. I want to be able to select the products i've made in the custom model/calculations.

Do i have to modify the default product object or do i have to use m2m relations? Not sure how to approach this. Any help would be appreciated.

 



 

아바타
취소
관련 게시물 답글 화면 활동
1
5월 21
6581
1
3월 18
8168
1
8월 25
702
1
7월 25
554
1
2월 25
1841