On 2017-03-06 04:38, E. Boer wrote:
>
>
> On Monday, 6 March 2017 11:55:06 UTC+1, Cédric Krier wrote:
> >
> > On 2017-03-06 02:20, E. Boer wrote:
> > > On Sunday, 5 March 2017 18:55:05 UTC+1, Peter Müller wrote:
> > > So I'm thinking to propose a redesign of
> > > the whole product / template / variant thing. But only after two months
> > > because I don't have time for it right now. I have already done some
> > > research for a possible solution. The basic idea is to move all the
> > fields
> > > from template to product and that the template is "just" a template with
> > > filled in data. When you create a new product and add the template,
> > values
> > > from the template will be filled in, but you then can edit them, without
> > > touching the template.
> > >
> >
> > This will remove the feature to update all the variants by just updating
> > common field on the template.
> > The current design is what it is to allow customization of what is
> > shared between variant and what is not.
> >
>
> You can easily add an boolean to the template-field to lock it.
But it is precisely the opposite that is wanted. The template should
manage the value of the variant.
> > > > Probably it is not my use case, I don't have T-Shirts for sale ... I
> > want
> > > > only a product record with a product code.
> > > >
> > >
> > > Me too, now you have two forms to fill in the data, which is confusing.
> >
> > No, we carefully designed the template form to be just enough to create
> > product.
> >
>
> It's strange ... in whole Tryton the variant is used, but users have to
> create a template in order to create a variant.
Why is it strange. It is logical that you use the real thing when
performing transactions. And that you refer to template when creating
it.
> Of course you can create a
> variant directly with a existing template, but then you are confused
> because the prices are on the template and not on the variant.
Why is it confusing?
It is designed this way because it is easy if you need to move the price
from template to variant but the opposite is not possible.