Is it possible to import file to binary field through xml?

13 views
Skip to first unread message

Markus Bala

unread,
Oct 25, 2018, 2:58:07 PM10/25/18
to tryton
Hi,

I would to know, is it possible to attached file to binary through xml?

During initial setup, I want to attached a file in a record.

Cédric Krier

unread,
Oct 25, 2018, 3:55:05 PM10/25/18
to tryton
Hi,

On 2018-10-25 11:50, Markus Bala wrote:
> I would to know, is it possible to attached file to binary through xml?
>
> During initial setup, I want to attached a file in a record.

It is not possible.
But your question raises warning in my head, you should avoid to use XML
data as configuration tool. It is better to have good default.


PS: The mailing is deprecated in favor of https://discuss.tryton.org/
--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Markus Bala

unread,
Oct 26, 2018, 3:46:06 AM10/26/18
to tryton
Hi Ced,

Thank you for your respond.
Noted, with thank

Markus Bala

unread,
Oct 30, 2018, 5:09:05 AM10/30/18
to tryton
Hi Cedric,

Finally I catch your meaning for good default. I am adding for some comment below for sharing experience with others if in any case, whoever has read this thread.

It due to the nature of import directly through XML will make the configuration is un-editable.
Instead of import XML for configuration, it will be good to design the good default option by either
1. Setting up the help language
2. Options with on_change
3. Import through csv
4. Import through proteus or module for import

Thank you
Reply all
Reply to author
Forward
0 new messages