-
- Downloads
[IMP] event(_sale): perform some code removal / linting
PURPOSE As event will soon evolve (onchange -> compute, code improvements, addition of new features) cleaning and improving tests is necessary to help avoid issues. SPECIFICATIONS Use _tz_get for tz-based selection fields from partner as it smartly order available timezones. Remove a strange "event.confirm" wizard that calls an unexisting method, is not reachable and is actually completely unnecessary. Reorganize ticket fields to ease future improvements and perform some public -> private method cleaning. Remove duplicated code in event_sale. LINKS Side effect of Task ID 2089156 (event onchange to compute) Community PR odoo/odoo#43127 Enterprise PR odoo/enterprise#7656 prout
Showing
- addons/event/__init__.py 0 additions, 1 deletionaddons/event/__init__.py
- addons/event/__manifest__.py 0 additions, 1 deletionaddons/event/__manifest__.py
- addons/event/models/event_event.py 5 additions, 11 deletionsaddons/event/models/event_event.py
- addons/event/wizard/__init__.py 0 additions, 5 deletionsaddons/event/wizard/__init__.py
- addons/event/wizard/event_confirm.py 0 additions, 15 deletionsaddons/event/wizard/event_confirm.py
- addons/event/wizard/event_confirm_view.xml 0 additions, 30 deletionsaddons/event/wizard/event_confirm_view.xml
- addons/event_sale/models/event_event.py 0 additions, 12 deletionsaddons/event_sale/models/event_event.py
- addons/event_sale/models/event_ticket.py 6 additions, 5 deletionsaddons/event_sale/models/event_ticket.py
- addons/event_sale/models/sale_order.py 1 addition, 1 deletionaddons/event_sale/models/sale_order.py
- addons/website_event_sale/models/sale_order.py 1 addition, 1 deletionaddons/website_event_sale/models/sale_order.py
Loading
Please register or sign in to comment