Community mailing list archives
Re: Multi packing slip template dynamic based on data in single report ideaby
This is quite a common use case - multichannel/multistore online vendors who wish to integrate everything with a single back end but need to product paperwork that reflects the channel/store that the customer came through.
Last time I looked though (on saas) there was no way to establish customer groups, apart from using tags. Whilst it may be traditional to reach for the "let's build a module" handbook every time a non-standard requirement comes up, it is perhaps more maintainable, and usable, especially on saas, if the effect of choosing the correct invoice layout/delivery email can be achieved using server actions and automated actions. I would be interested in such an approach as I am committed to using odoo's saas so that I can sleep knowing that odoo will handle the platform migrations every time they fix each little bug.
Good morning,To my opinion it works best to make a connection between the required layout and the specific customer.Extra field in the basic customer data called "pickingslip layout".If empty, system uses the standard layout.Also possible to work with groups.Make connection between specific layout and a "customergroup".Then fill in the customergroup in a new field in the customercard.Requires some work to create the specific lay-outs, but to my opinion it is the most flexible way of working.Regards,Peter van Montfort
<IMG src="cid:eme09e4107-7458-4c78-bad4-51a49f0a1c02@peter-hp" width=16 height=12> +31 88 627 0429
<IMG src="cid:em39786cd8-480d-46d3-8d25-d6e48dc052fb@peter-hp" width=16 height=12> +31 6 2412 9003
<IMG src="cid:emaa23d9de-d38f-4bc2-a5b8-f3ffec685473@peter-hp" width=16 height=12> p.vanmontfort
<IMG src="cid:em16312ca8-df9e-4998-8d3c-0622678f3b1f@peter-hp" width=16 height=12> email@example.com
<IMG src="cid:em2a7f0f4d-e599-4ec2-ad76-b9ed5c2c0f8d@peter-hp" width=16 height=12> +31 88 627 0400
<IMG src="cid:emf47aaaa8-318e-4671-9db5-90a4bd2f5c94@peter-hp" width=16 height=12> www.onestein.eu
<IMG src="cid:em05bf012c-006c-4088-b4c5-c70d9a51fb66@peter-hp" width=16 height=12> onestein_erp
<IMG src="cid:em2fa824f8-0b1c-4b0b-b2ff-1310d8c50967@peter-hp" width=16 height=12> onestein
<IMG src="cid:em0a6d6157-4f25-4614-ae23-34bb4d946a33@peter-hp" width=16 height=12> Amsterdam - Keizersgracht 62-64
<IMG src="cid:em7874db52-595f-44f8-8a8d-cb48fae25b79@peter-hp" width=16 height=12> Oosterhout - Beneluxweg 37
<IMG src="cid:em4e555540-27ce-4969-954f-f0b6fa7518ae@peter-hp" width=16 height=12> Antwerpen - Brusselsestraat 51
<IMG src="cid:em3eb3be71-58b3-49d4-adc9-47467955bc38@peter-hp" width=183 height=60>------ Origineel bericht ------Van: "OpenERP Master" <firstname.lastname@example.org>Aan: "Community" <email@example.com>Verzonden: 9-1-2015 4:01:54Onderwerp: Multi packing slip template dynamic based on data in single report idea<BLOCKQUOTE class=cite2 cite=CAENzJ3FyAjbbrqt5oOmBcGB_9+T8rGS7EjHvjfZpfvF_i+ZLiQ@mail.gmail.com type="cite">Could anyone describe if this is possible? I don't have an idea. Even if they select a vendor at one time, I want them to just use one report that will detect the template needed based on the data. I could make this work with an action, but this would only work if they printed only one vendor at a time. It would be really cool if it would work dynamically.The business user would filter and select from a tree view the delivery orders to ship. I need a different template to be used depending on the department custom field. If its Home Depot, using packing design A, if its Groupon use Design B.My client sells to many different channels like Home Depot, Living Social, Groupon, etc. Each of these vendors requires their own packing slip design. The vendors actually take the packing slip very seriously, but to me it's so annoying because I don't want to spend all day writing packing slip designs.
Anyway, I want to print a packing slip depending on a custom field called department. The field basically just says what order channel the order came from.
In the end the user would be returned a single PDF with multiple packing slips and mixed order channels.
I am looking for a description of how this could work.