# How to get field values from a parent object

**URL:** <https://www.dolibarr.org/forum/t/how-to-get-field-values-from-a-parent-object/30752>\
**Category:** CRM/SRM Modules\
**Tags:** Question, Help\
**Created:** [November 1, 2025, 8:40pm UTC](https://www.dolibarr.org/forum/t/how-to-get-field-values-from-a-parent-object/30752 "2025-11-01T20:40:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![surikalex007456](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/s/e9bcb4/32.png) [@surikalex007456](https://www.dolibarr.org/forum/u/surikalex007456)\
**Post date:** [November 1, 2025, 8:40pm UTC](https://www.dolibarr.org/forum/t/how-to-get-field-values-from-a-parent-object/30752/1 "2025-11-01T20:40:19Z")

</div>

**Hi everyone!**  
When creating a contract from a commercial proposal, I need to add to the contract’s _extra fields_ some values that are not present by default in the contract but do exist in the proposal — for example, **payment method** and **delivery method**.

These values are required for my ODT template. Unfortunately, I couldn’t find any similar discussion on the forum.

Extra fields’ data are transferred from one object to another without any issues, but I can’t figure out how to get a **core (standard) field’s value** and assign it to an **extra field** in the new object.

---

<div class="post-metadata">

**Author:** ![jonbendtsen](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/j/977dab/32.png) [@jonbendtsen](https://www.dolibarr.org/forum/u/jonbendtsen)\
**Post date:** [November 2, 2025, 11:38am UTC](https://www.dolibarr.org/forum/t/how-to-get-field-values-from-a-parent-object/30752/2 "2025-11-02T11:38:48Z")

</div>

hi @surikalex007456  
I do not use this functionality myself. I believe that you can du a “computation” on an extrafield, and I suppose that could be used to fetch the value of the standard core field.
