Skip to content

[ADD] field name - #2572

Closed
gfcapalbo wants to merge 3 commits into
OCA:14.0from
gfcapalbo:14.0-jsonifier-with-name
Closed

[ADD] field name#2572
gfcapalbo wants to merge 3 commits into
OCA:14.0from
gfcapalbo:14.0-jsonifier-with-name

Conversation

@gfcapalbo

@gfcapalbo gfcapalbo commented Mar 6, 2023

Copy link
Copy Markdown
Contributor

Adds a parameter to jsonifier with_fieldnames.
THis will allow jsonifier to return a different type of result: instead of :
{'product_qty' : 18}
we will have:
{ product_qty : { 'value':18, 'fieldname': 'Product Quantity'} }

Very useful to have , with one RPC call , the translated value of the field we are displaying, 100% the same as odoo backend.

@thomaspaulb thomaspaulb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please resolve conflicts :-)

@gfcapalbo
gfcapalbo force-pushed the 14.0-jsonifier-with-name branch 2 times, most recently from 8be248f to c8257e1 Compare June 30, 2023 13:16
@gfcapalbo

Copy link
Copy Markdown
Contributor Author

Closing , replaced by #2668

@gfcapalbo gfcapalbo closed this Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants