Le mardi 10 juin 2014 19:34:45 UTC+2, Cédric Krier a écrit : > > On 04 Jan 17:05, Cédric Krier wrote: > > So I have already identified two of them for which I'm looking for your > > comments (and I could publish a prototype). > > > > > > - web_user > > > > The idea of this module is about having a common minimal web user > > definition/support. I think such user should be identify by just > > their E-mail and that the module should provide a password > > authentication. I also think having a way to validate user by > > verifying email address is also a common need. > > Such user could be linked with a Many2Many to parties to have the > > possibility to store identity information. I think M2M is the more > > flexible solution because it allow simple design like O2O or more > > complex design where you could have users that behave for the same > > company. > > The module should also provide an optional session mechanism where > > any web framework could be plugged on. The goal will be to have a > > shared via database session across multiple instance. > > Here is the review: http://codereview.tryton.org/8451002/ > There are still some TODO > > > - web_shop_cart > > > > The idea of this module is about a generic simple webshop cart > > implementation. I think the minimal needed fields will be: > > > > Cart: > > - company > > - owner: > > just a char field to identify the user and so it could be > > the email of the user but we should avoid direct link > > because I think we should be allowed to use any > > authentication mechanism and so it could be not stored in > > Tryton. > > - currency: could be the default company one? > > - party: must be required for checkout > > - invoice_address > > - shipment_address > > - state: draft;checked-out > > - sale: a reference field to sale.sale or any other Model > > - checkout_method: define what should be generated (similar to > > the project_invoice design) > > > > Cart Line: > > - product > > I put a TODO on this because I think we should allow other things than > product so it should be a reference field with product as one selection.
What would you mean by "other things" ? -- 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/5cdf28ff-45f3-4495-aabd-ddb79a44d817%40googlegroups.com.