Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Porting sale_order_type to 17

by
gandalf.corvotempesta
- 19/11/2023 18:50:00
Hi guys
i'm trying to port sale_order_type module to Odoo 17
(i'm not a python developer)

I've done almost everything and now the module install properly (and
seems to work properly too)
But there are two things i don't know how to solve:

1. group_display_incoterm was removed from sale_stock and thus the
actually views used by sale_order_type doens't install properly. I've
removed the reference to ' groups="sale_stock.group_display_incoterm"
' but I don't know if this is correct or has to be replaced with
something else

2. `states` are deprecated in 17. How can I replace these ?
https://github.com/OCA/sale-workflow/blob/16.0/sale_order_type/models/sale.py#L20-L23

Tnx

Follow-Ups