Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: How to update field context by xml
by
Therp, Ronald Portier
Hi,
Have a look at the OCA module web_context_tunnel:
https://apps.openerp.com/apps/modules/8.0/web_context_tunnel
If I understand correctly it does exactly what you need.
Kind regards,
Ronald
Op 10-04-17 om 22:08 schreef Alex Comba:
> Hi Ray,
>
> On Mon, Apr 10, 2017 at 9:08 PM, <ray.carnes@bistasolutions.com
> <mailto:ray.carnes@bistasolutions.com>> wrote:
>
> Increate the priority of your view to higher than the one in the
> other module.
>
>
> thanks for your quick answer!
>
> But what I meant is kept all values passed to the context by the two
> modules.
>
> module 1, set invoice_line_ids context as follows:
> {'partner_id': partner_id}
>
> module 2, set invoice_line_ids context as follows:
> {'fiscal_position_id': fiscal_position_id,
> 'type': type, 'journal_id': journal_id, 'default_invoice_id':
> id}
>
> Expected behavior:
> invoice_line_ids context is equal to {'partner_id':
> partner_id, 'fiscal_position_id': fiscal_position_id, 'type': type,
> 'journal_id': journal_id, 'default_invoice_id': id}
>
> Thanks,
>
> --
> Alex Comba
> Tel (CH): +41 91 210 23 40
> Tel (IT): +39 0331 158 7090
> https://www.agilebg.com
> https://github.com/tafaRU
>
> _______________________________________________
> Mailing-List: https://odoo-community.org/groups/contributors-15
> Post to: mailto:contributors@odoo-community.org
> Unsubscribe: https://odoo-community.org/groups?unsubscribe
>
Reference
-
How to update field context by xml
byAGILE BUSINESS GROUP ITALIA SRL, Alex Comba.- 10/04/2017 20:44:10 - 0-
Re: How to update field context by xml
byAGILE BUSINESS GROUP ITALIA SRL, Alex Comba.- 11/04/2017 10:07:05 - 0 -
Re: How to update field context by xml
byAGILE BUSINESS GROUP ITALIA SRL, Alex Comba.- 11/04/2017 10:01:25 - 0 -
Re: How to update field context by xml
byAGILE BUSINESS GROUP ITALIA SRL, Alex Comba.- 11/04/2017 10:00:15 - 0 -
-
-
-
Re: How to update field context by xml
byAGILE BUSINESS GROUP ITALIA SRL, Alex Comba.- 10/04/2017 22:00:08 - 0 -
-
Re: How to update field context by xml
by Jay Vora <vora.jay@serpentcs.com> - 10/04/2017 20:59:24 - 0
-