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

Dear Community,

could you pls advice how to remove unnecessary columns from Quotation View (for example, Requested Date, Commitment Date and Salesperson).

http://prntscr.com/kqydaw

I cannot find respective fields in Three View:

<?xml version="1.0"?>

<tree string="Sales Orders" decoration-bf="message_needaction==True" decoration-muted="state=='cancel'">

                    <field name="message_needaction" invisible="1"/>

                    <field name="pricelist_id"/>

                    <field name="name" string="Order Number"/>

                    <field name="date_order"/>

                    <field name="partner_id"/>

                    <field name="user_id"/>

                    <field name="amount_total" sum="Total Tax Included" widget="monetary"/>

                    <field name="currency_id" invisible="1"/>

                    <field name="invoice_status"/>

                    <field name="state" invisible="1"/>

                </tree>

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

Hi,

In the code you have added along with question itself contains the field for the SalesPerson, the field name of the Salesperson is the user_id which can be seen in the above code.

<field name="user_id"/>

The other two fields, ie, Requested Date and Commitment Date is added from another module named sale_order_dates.


If you are looking to remove the fields from user interface you can find this field from,


1. Activate Developer Mode

2. Take the Sale Order Tree View

3. Click on Lady Debugger Button on the top right of the screen

4. Click on Edit List View

5. Now here in the view, you can see the field user_id. Either you can remove it from here or from the code.



6.   Now to see the other two fields, click on the Inherited views shown in the above image

7.  Then click and open the record,


8. From here you can remove this fields.


Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 18
3377
0
thg 1 18
4074
0
thg 9 17
3215
1
thg 3 19
4403
0
thg 8 18
2421