← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 669920] OpenERP Majordomo Message

 

**automated message**
Thanks a lot for reporting this bug and contributing to OpenERP. Unfortunately the OpenERP Web Client project is not going to be developed further after the 6.0 series. As of 6.1 a newer and better web frontend known as the OpenERP Web project[1] will be available.
Our R&D developers normally work in Launchpad to fix bugs for the next release, but there will be no next release for the current OpenERP Web Client. As our resources are limited, all further R&D efforts from the Web team are dedicated to finish the new 6.1 OpenERP Web project[1].
This bug will be closed as "Won't Fix" to show that R&D won't be able to work on it.

Bugs affecting customers in production of course continue to be handled via the OpenERP Enterprise (OPW) maintenance service, and this is the recommended way to have them corrected directly in the 6.0 LTS stable branch.
You can find more details about all of this in the FAQ of our Bug Management Policy documentation[2].

If you are interested, you should soon be able to beta-test the new
OpenERP Web 6.1 (this will be announced on OpenERP Community channels).

Thank you for your contributions and for your understanding!

[1] https://launchpad.net/openerp-web
[2] http://bit.ly/openerp-bugs-faq (FAQ #4)

** Changed in: openobject-client-web
       Status: Triaged => Won't Fix

-- 
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/669920

Title:
  Fields view get should send the active_id and active_ids of the
  current records

Status in OpenERP Web Client:
  Won't Fix

Bug description:
  Hi

      I need to show different view based on the category of partner, i
  can do it with my menu link, but if i go in sale order and click on
  the partner link, view selected by priority.

      The active_id not pass in context to function fields_view_get, so
  ... if i want select view i need the active_id record.

  
  my pacth to do it 

  client-web/addons/openerp/widgets/screen.py

      def add_view_id(self, view_id, view_type):
          self.view_id = view_id

          if view_type in self.views_preloaded:
              view = self.views_preloaded[view_type]
          else:
              ctx = rpc.session.context.copy()
              ctx.update(self.context)
  +          ctx['active_id'] = self.id and self.id or False
  +          ctx['active_ids'] = self.ids and self.ids or False
              if ctx.get('view_id'):
                  view_id = ctx['view_id']
              view = cache.fields_view_get(self.model, view_id, view_type, ctx, self.hastoolbar, self.hassubmenu)

          self.add_view(view, view_type)

  
  So now in my addons module in server, i can override the function fields_view_get in res.partner to select view based on the category of the partner.

  I hope you can add this in next version.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/669920/+subscriptions


References