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

Hello,

In Odoo 16, when I go to the Accounting Module and then click on the "vendor bills" (where we can see the list of all the vendor bills with bill dates, due dates, etc.) in the "due date" section , instead of having the exact date like 02/07/2024, it is written "in 14 days, in 20 days, in 30 days,...". 


I would like to know if there is any way we can see the actual date?


Thank you. 


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

Hi,

To see the actual date instead of the remaining days, we need to remove the 'remaining_days' widget used in the field. To achieve this, inherit the view as follows:

<record id="view_in_invoice_bill_tree_inherited" model="ir.ui.view">
   <field name="name">account.move.view.tree.inherit</field>
   <field name="model">account.move</field>
   <field name="inherit_id" ref="account.view_in_invoice_bill_tree"/>
   <field name="arch" type="xml">
       <xpath expr="//field[@name='invoice_date_due']" position="attributes">
           <attribute name="widget"></attribute>
       </xpath>
   </field>
</record>


Hope it helps.


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
7
thg 6 24
12195
0
thg 2 24
1881
1
thg 2 24
4433
0
thg 2 24
2201
0
thg 7 23
2183