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

I want to make some changes in the format of quotation generated by openerp now.Which all are the files that are to be changed for the above purpose(also its location)?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello Sneha

Are you talking about purchase quotation generated after confirmation of sale order?

if it so,,here we go

go to sale module-> sale .py

def _prepare_order_line_procurement(self, cr, uid, order, line, move_id, date_planned, context=None):

// after confirming sale order, your orderline information dynamically passes for procurement.

####################

now go to purchase module->purchase.py

def make_po(self, cr, uid, ids, context=None):

// this will make your purchase order quotation

Ảnh đại diện
Huỷ bỏ
Tác giả

No I meant the sales quotation that come under Sales/Sales/Quotation.I just dont want the Invoice address and the shipping address in the printout of the quotation generated.So how to change the design of the print of the quotation?

refer this->

go to sale-> report-> edit sale_order.rml file for changing format of your quotation report.

Tác giả

Thanks Shashank.It worked.

Tác giả

one more doubt.Is there any option to limit the number of characters in a text field as like that of char in openerp?I want to limit the terms & Conditions to 500 chars.

'note': fields.text('Notes',size=500)

Tác giả

Is it possible to edit the .py file for the above change to be done and upgrade the corresponding module to update the change or else I should make another custom field?

you can edit anything in current py file.

Tác giả

But the editings made as per your suggesion does not seem to be reflecting in the code

did you restarted your server by running command:

-u all -d your_database_name

Tác giả

Thanks Shashank.It worked perfectly.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 15
5617
0
thg 4 25
2579
3
thg 1 25
1681
0
thg 7 24
1814
5
thg 12 24
33305