regarding to :
https://github.com/odoo/odoo/issues/22956
on V10, we can use :
this is a simple solution,
main idea is change "%" notation from strftime to native, make it pass the "eval" to be compiled.
https://github.com/odoo/odoo/issues/22956
on V10, we can use :
[["create_date","<",time.strftime('%Y-%m-%d')]]
this is a simple solution,
update base_automation set filter_pre_domain='[["write_date","<=", datetime.datetime.now().replace(microsecond=0).replace(hour=0).replace(minute=0).replace(second=0).isoformat(" ").partition("+")[0] ]]', filter_domain='[["write_date","<=", datetime.datetime.now().replace(microsecond=0).replace(hour=0).replace(minute=0).replace(second=0).isoformat(" ").partition("+")[0] ]]' where id=5;
main idea is change "%" notation from strftime to native, make it pass the "eval" to be compiled.
..show all:.
.
regarding to :
https://github.com/odoo/odoo/issues/22956
on V10, we can use :
this is a simple solution,
main idea is change "%" notation from strftime to native, make it pass the "eval" to be compiled.
https://github.com/odoo/odoo/issues/22956
on V10, we can use :
[["create_date","<",time.strftime('%Y-%m-%d')]]
this is a simple solution,
update base_automation set filter_pre_domain='[["write_date","<=", datetime.datetime.now().replace(microsecond=0).replace(hour=0).replace(minute=0).replace(second=0).isoformat(" ").partition("+")[0] ]]', filter_domain='[["write_date","<=", datetime.datetime.now().replace(microsecond=0).replace(hour=0).replace(minute=0).replace(second=0).isoformat(" ").partition("+")[0] ]]' where id=5;
main idea is change "%" notation from strftime to native, make it pass the "eval" to be compiled.
No comments:
Post a Comment