hexya-erp / hexya

Hexya business application development framework
http://hexya.io
Apache License 2.0
411 stars 125 forks source link

Underlying called using nil *Condition pointer #12

Closed halybang closed 6 years ago

halybang commented 6 years ago

Can not change user's company: Steps:

  1. Create company A
  2. Create new user, try to set 'Current Company' to company A. A popup warning appears:

value method github.com/hexya-erp/hexya/hexya/models.Condition.Underlying called using nil *Condition pointer

We can't write/update record.

npiganeau commented 6 years ago

Fixed by https://github.com/hexya-erp/hexya-base/commit/67a816fc264af88cef56939d0dbac4ba1cbec402