Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3650 Lượt xem

Sorry if I ask a lot, I do not want to abuse of the forum, but these things do not match. My goal is to create a simple manual in Spanish for Odoo and I need learn and know more, I'm verry happy.

My classes and code in this image (it is dropbox): https://db.tt/aabAZRzb

@api.onchange('producto_id')
    def _onchange_producto_id(self):
        if self.producto_id:
            self.precio = 100.00

Had seen before a self.pool.get used, how can I use it?

Ảnh đại diện
Huỷ bỏ

Refer doc: http://odoo-new-api-guide-line.readthedocs.org/en/latest/

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 15
6219
1
thg 8 25
131
2
thg 6 25
1677
0
thg 3 25
1548
0
thg 2 25
1191