콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
5116 화면

To not lose my statistics and my different documents, I try to redo quotes, purchase orders, invoices and others in the software Odoo 12. I can not change the dates of creation. If I create a document as an order or invoice then it will be 2014, and Lara will appear on today's date. Is it possible to modify the Creation

아바타
취소
베스트 답변

Hi Hugo,

If you are creating documents by using UI or ORM functions then the create date will be automatically updated as the current date. So try to update with the psql query. The column name is create_date 

아바타
취소
작성자 베스트 답변

in the part of the order form, I only have the validity date field, once validated, the document is at the date of today. how to do?

아바타
취소

As I explained above Odoo ORM methods in default set their ORM fields create_date, write_date, craete_uid in default. In order to change the default settings you have to override the original _create functions form odoo.model

작성자

Odoo Server Error - Warning

×

The properties of the fields of the database can not be modified in this way! Please, modify them via Python code, preferably via a custom module!

관련 게시물 답글 화면 활동
3
3월 25
7042
2
12월 15
5167
3
10월 18
5644
1
9월 25
266
3
2월 25
3333