Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.36k stars 2.76k forks source link

Dont save the data of the extrafields of expense report #7737

Closed nanoxp closed 6 years ago

nanoxp commented 6 years ago

Bug

Dont save the data of the extrafields of expense report

Environment

I did the next actions to get the error:

  1. I click in the option New (Expense Report)
  2. I write the information that I need it, including the extrafields (../expensereport/card.php)
  3. When I click in the button Create expense report the information that I had written in the extrafields, it lost. In another words, the information of extrafields of that expense report didn't save in that step.
  4. In the detail of the expense report when wanting to modify the second or third extrafields, the previous ones are deleted
dolibarr95 commented 6 years ago

@eldy

Environment

Hi i've try this fix but still doesn't work for me. Only store the current extrafield the other ones are lost. Tks

@nanoxp does this fix work for you ?

dolibarr95 commented 6 years ago

@eldy Hi i've try this fix but still doesn't work for me. Tks for your help.