Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
5893 Widoki

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>

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
kwi 18
3360
0
sty 18
4029
0
wrz 17
3205
1
mar 19
4380
0
sie 18
2412