maxolasersquad / orthosie

Point of sale system written in Python
GNU General Public License v3.0
86 stars 49 forks source link

Adding products inventory/register #15

Open kkoci opened 9 years ago

kkoci commented 9 years ago

I'm on http://127.0.0.1:8000/inventory/

No matter if I'm on UPC or PLU, I just can't add anything =/, there's no button, am I missing something?

maxolasersquad commented 9 years ago

After typing in the PLU/UPC press the tab key, or click out of the form.

Are you seeing any error on the Javascript console?

kkoci commented 9 years ago

Hi, yes tab works, but Enter doesn't it says 'Invalid UPC'

maxolasersquad commented 9 years ago

I just tried and did not have any problem adding a new Inventory item. What was the "upc" that was giving you problems?

kkoci commented 9 years ago

Actually none, I was just trying to add one from /inventory url, if I try to add a PLU throws a server request error, but it registers it anyways, uh... I'm using chrome

kkoci commented 9 years ago

Also, on /register there are some errors, can't figure out how it really works, gonna try and add some features asap

maxolasersquad commented 8 years ago

I am completely rewriting this part of the system right now to use a REST api. I'll check back with you when that's done.

kkoci commented 8 years ago

Awesome! Really great, I'm thinking about adding some features myself, I'm working on it by my side, we can check it out later too, cheers!

maxolasersquad commented 8 years ago

That's great. Before you code anything put in a bug/feature request so we can discuss. I know I've built features for projects before that ultimately got rejects which is rather disheartening. I am currently working on moving the interface to handling all of its interactions via a restful api.

On Mon, Dec 7, 2015 at 1:34 PM kristian koci notifications@github.com wrote:

Awesome! Really great, I'm thinking about adding some features myself, I'm working on it by my side, we can check it out later too, cheers!

— Reply to this email directly or view it on GitHub https://github.com/maxolasersquad/orthosie/issues/15#issuecomment-162616940 .

kkoci commented 8 years ago

Yes, it is disheartening for sure, Okay, I'll do it that way then, Thank You

jaustinlam commented 7 years ago

I am having a similar issue. I can add an item through a PLU but adding through a UPC gives me: AssertionError: ("Creating a ModelSerializer without either the 'fields' attribute or the 'exclude' attribute has been deprecated since 3.3.0, and is now disallowed. Add an explicit fields = '__all__' to the GrocerySerializer serializer.",