I am noticing that the "point_of_sales" module have an interesting
override of the default values for the cash registers.

    def _get_cash_open_box_lines(self, cr, uid, context=None):
        res = super(account_cash_statement,self)._get_cash_open_box_lines(cr, 
uid, context)
        curr = [0.01, 0.02, 0.05, 0.10, 0.20, 0.50]
        for rs in curr:
            dct = {
                'pieces': rs,
                'number': 0
            }
            res.append(dct)
        res.sort()
        return res

The problem with these curr settings are that they depend upon the bills
and coins of each currency, so I think as the original poster the best
choice is to set the curr array according to the currency of the journal
or the default currency of the company.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1068619

Title:
  account: cash statements using a static list of values not related to
  currency

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Possibly the best solution is to store a list of values on the "res.currency" 
of which bills/coins you have for that currency.
  This way any cash statement openings can look at the currency and retrieve 
the values.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1068619/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~openerp-india
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help   : https://help.launchpad.net/ListHelp

Reply via email to