← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 807681] Re: big "search" problems

 

Where I most commonly get this error is when a document specific property
field (default stock location for a partner is a good example) is completed
in one company and not the other for a specific company.  Rather than bring
back any kind of helpful error as you try to confirm the PO, it gives
you ' Operation
prohibited by access rules, or performed on an already
 deleted document (Operation: read, Document type: Stock Location).  It does
do this at the search point, when getting the supplier location from
res.partner (although of course you do not know this at the time)

Now you spend a few minutes (replace with seconds, days, or weeks as
appropriate) going wtf?  Checking warehouses, swearing loudly, kicking
furniture, then as a final act you check the supplier which works fine in
the other company, and see the default locations are now blank.  This is
often made even more frustrating by this bug -
https://bugs.launchpad.net/bugs/712254

Anyway I thought I would try and track down for you seeing I have had this
error so often.  payment.type isn't an object in addons, but I see it is in
extra addons.  And that it is indeed declared as a property field for some
of those modules.  So it may be just a config issue, but I can't really say.

Tried to replicate in our multicompany setup and it works exactly as
expected, server rev 3443, addons rev 4650 however I do not have a payment
types object in our database so not a real test.


On Sat, Jul 9, 2011 at 7:53 AM, Ferdinand @ Camptocamp <
807681@xxxxxxxxxxxxxxxxxx> wrote:

> because the search without search criteria works
>
> --
> You received this bug notification because you are subscribed to OpenERP
> Server.
> https://bugs.launchpad.net/bugs/807681
>
> Title:
>  big "search"  problems
>
> Status in OpenERP Server:
>  New
>
> Bug description:
>  6.0 server r 3461
>  multicompany setuip
>  example
>  journal items
>  enter account to search for
>
>  web: click on search does nothing
>
>  gtk : click on find  (why same function has different names?)
>  raises error
>
>  Operation prohibited by access rules, or performed on an already
>  deleted document (Operation: read, Document type: Payment types).
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openobject-server/+bug/807681/+subscriptions
>

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/807681

Title:
  big "search"  problems

Status in OpenERP Server:
  New

Bug description:
  6.0 server r 3461
  multicompany setuip
  example
  journal items
  enter account to search for

  web: click on search does nothing

  gtk : click on find  (why same function has different names?)
  raises error

  Operation prohibited by access rules, or performed on an already
  deleted document (Operation: read, Document type: Payment types).

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


References