Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor UI changes #20

Merged
merged 4 commits into from
Feb 20, 2017
Merged

Minor UI changes #20

merged 4 commits into from
Feb 20, 2017

Conversation

flaeppe
Copy link
Member

@flaeppe flaeppe commented Feb 18, 2017

No description provided.

@kjagiello kjagiello self-requested a review February 18, 2017 19:36
@kjagiello kjagiello added this to the 2.0.0 milestone Feb 18, 2017
@codecov-io
Copy link

codecov-io commented Feb 18, 2017

Codecov Report

Merging #20 into develop will increase coverage by 0.08%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop      #20      +/-   ##
===========================================
+ Coverage    86.79%   86.88%   +0.08%     
===========================================
  Files           71       71              
  Lines         2204     2218      +14     
  Branches       114      115       +1     
===========================================
+ Hits          1913     1927      +14     
- Misses         274      275       +1     
+ Partials        17       16       -1
Impacted Files Coverage Δ
src/shop/models.py 83.97% <100%> (ø)
src/wallet/admin.py 86.95% <100%> (+3.17%)
src/wallet/models.py 98.21% <100%> (+0.13%)
src/shop/admin.py 58.89% <100%> (+0.16%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f23b730...aaf7676. Read the comment docs.

@@ -256,7 +256,8 @@ class Product(UUIDModel, TimeStampedModel):
active = models.BooleanField(default=True)

# cached quantity
qty = models.IntegerField(default=0)
qty = models.IntegerField(verbose_name='quantity', default=0)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The verbose name needs to be internationalised.

@@ -93,3 +100,7 @@ def countable(self):
else:
return self.trx_status in [enums.TrxStatus.PENDING,
enums.TrxStatus.FINALIZED]

class Meta:
verbose_name = 'Transaction'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The verbose names need to be internationalised (check all the instances in this file).

@kjagiello kjagiello merged commit 26fc0df into uppsaladatavetare:develop Feb 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants