Skip to Content

[FIX] viin_brand_web: brand the default title of action dialogs

Failed 270m merged
PR
#696
PR Author
David Tran
Committer
David Tran
Commit
43e0ba918920
Branch
18.0
Age
Up-time
Commit message
[FIX] viin_brand_web: brand the default title of action dialogs

A dialog opened by an action without a name, such as "+ New Shop" in
Point of Sale Settings, read "Odoo" in a Viindoo backend. The action
dialog takes its default title from its own defaultProps, and core
copies Dialog.defaultProps when it defines that component. The copy
happens before this brand file runs, so the brand never reached it.

A shop manager must never see the Odoo name in a dialog title. The
brand now covers the action dialog default title too, and a hoot test
guards it.