Thanks for the info Cédric, and sorry for this [1]. How could we start to adapt the get_multivalue method and how this affect Access Rules?
I'm not sure if this in only a feature but if multi-company is supported, a user can have many companies assigned to this and in the Preferences screen an option to change company as needed. I know that that multi-company affect to sales, invoices, inventories and more, so, could you give us a guideline on which modules start to develop this? El domingo, 25 de marzo de 2018, 4:35:02 (UTC-6), Cédric Krier escribió: > On 2018-03-24 21:26, Josias Pérez wrote: > > I was reading discussion [1] and maybe we could know what is the status of > > the issues: > > > > - property field: it will not be possible to have correct > > multi-company when we still have those shitty fields. > > This has been done in https://bugs.tryton.org/issue2349 which is linked > to https://bugs.tryton.org/issue4080 > > > - context: in base we should never depend on context. > > This has not yet been done. It is about using get_multivalue method > instead of using field attribute to get the value of the MultiValue > field. > I think the best way to process is to review module by module and create > one issue per module for the patch. > > > - user.company: in base we should never depend on this. > > I think it is almost gone but the source tree should be verified. > > > > PS: Please do not top-post on this mailing list, see > http://groups.tryton.org/netiquette > > -- [1] http://groups.tryton.org/netiquette [2] https://github.com/tryton/company/blob/057e8b4749159c6bec255b712d45e50d2361646b/model.py#L11 -- You received this message because you are subscribed to the Google Groups "tryton-dev" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton-dev/44633b51-9efa-4c51-a8d7-9fb35ebbbce8%40googlegroups.com.