[IMP] web: add currency_field option documentation in monetary field

This commit add the documentation for the currency_field in monetary
field.

closes odoo/odoo#118199

Related: odoo/enterprise#40597
Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
This commit is contained in:
luvi
2023-06-19 10:40:38 +02:00
committed by fdardenne
parent 71ab15e4d5
commit b5e52601bc
@@ -82,6 +82,14 @@ export class MonetaryField extends Component {
export const monetaryField = {
component: MonetaryField,
supportedOptions: [
{
name: "currency_field",
label: _lt("Currency"),
type: "field",
availableTypes: ["many2one"],
},
],
supportedTypes: ["monetary", "float"],
displayName: _lt("Monetary"),
extractProps: ({ attrs, options }) => ({