~stoq-dev/stoq/1.6

Viewing all changes in revision 6861.

  • Committer: Thiago Bellini
  • Date: 2013-02-19 15:08:58 UTC
  • Revision ID: hackedbellini@async.com.br-20130219150858-mmmeufwnv9uvouqy
If sellable can be removed and closed, just show remove button

There are a lot of buttons on a sellable editor. "Ok", "Cancel", "Help" and
"Print Labels". If a sellable can be removed and closed, we would add 2 more
buttons for those actions. Instead, add just one, "Remove", since if it can be
closed/removed, the user will probably prefer to remove. Close is for sellables
that had stock one day and now haven't anymore.

r=romaia

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: