← Back to team overview

credativ team mailing list archive

[Bug 900011] Re: access error opening res.partner

 

I can reproduce the problem  with my code (which I know better)
the code generated by the xml definition in the attachment is

		<page invisible="1" modifiers="{'invisible': true}" string="Real Estate">
			<field invisible="1" modifiers="{'invisible': true, 'readonly': true}" name="lease_current_sum"/>
			<field invisible="1" modifiers="{'invisible': true, 'readonly': true}" name="lease_potential_sum"/>
			<field invisible="1" modifiers="{'invisible': true, 'readonly': true}" name="lease_current_participation_sum"/>
		</page>

lease_current_sum is a function field defined in chricar_top

IMHO fields protected by group access rights must not be included in view html definition, because invisible fields must be calculated.
may be I am wrong here

** Attachment added: "acess_error1.png"
   https://bugs.launchpad.net/openobject-addons/+bug/900011/+attachment/2619571/+files/acess_error1.png

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/900011

Title:
  access error opening res.partner

Status in OpenERP Addons (modules):
  New

Bug description:
  IMHO it would also be helpful to see the source of the error

  after giving read access to the user via group or to everyone no error
  raises

  on a slow line one can observe, that notebook pages which are viewable
  only by special groups, are displayed for a while before the tab
  disapears -

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/900011/+subscriptions


References