Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install collective.behavior.discount

How to install collective.behavior.discount

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install collective.behavior.discount
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.2.2 Available View build log
0.2 Available View build log
Windows (64-bit)
Mac OS X (10.5+)
0.2.2 Available View build log
0.2 Available View build log
Linux (32-bit)
0.2.2 Available View build log
0.2 Available View build log
0.1 Available View build log
Linux (64-bit)
0.2.2 Available View build log
0.2 Available View build log
0.1 Available View build log
 
License
BSD
Lastest release
version 0.2.2 on Nov 20th, 2012

collective.behavior.discount provides discount related behavior in addition to price behavior to dexterity content types.

For farther documentation about price behavior, refer to the collective.behavior.price.

Currently tested with

  • Plone-4.2.1 [taito]

Behavior

The behavior can be added through the web or directly through the file system to the dexterity content type xml file like:

<property name="behaviors">
  ...
  <element value="collective.behavior.discount.interfaces.IDiscount" />
  ...
</property>

Change log

0.2.2 (2012-11-04)
  • Updated method: _set_date to cover edge case when value is None. [taito]
  • Tested with Plone-4.2.2. [taito]
0.2.1 (2012-09-24)
  • Updated schema to include vat. [taito]
0.2 (2012-09-17)
  • Finnish translations added. [taito]
0.1 (2012-08-28)
  • Initial release. [taito]

Contributors

Author
  • Taito Horiuchi <taito.horiuchi at gmail.com>

Subscribe to package updates

Last updated Nov 20th, 2012

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.