[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:
@@ -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 }) => ({
|
||||
|
||||
Reference in New Issue
Block a user