This allows to replace time_locale and use the translation infrastructure
instead. So it can be customized using the translation override or derivative
languages.
This provides also a standard base to modules that needs calendar month and
day.
issue7815
review56451002
and clear partial payments.
Other modules may trigger events base on the paid or cancel state of the
invoice. So we should allow the user to not trigger the paid event when he
cancel an invoice with a credit note.
issue7682
issue4775
review48581002
The field on the base class is the one copied on each __setup__ call so if it
is updated (instead of assigned) this creates an implicit loop in the setup
that applies the same update multiple times.
issue7758
review54391002
The payment move on an invoice must be linked to the invoice with the origin
field and let the description as free text for the user. As there is only one
description for the move, it should be stored on the move instead of the line.
issue7702
review46641002
When the amount to pay for a supplier invoice, it should not be multiplied by
-1 otherwise -0.00 will be display which may confuse the user.
issue7584
review56371002
The transition_pay should have the same test as the default_ask because
amount_to_pay is computed in the invoice currency. Otherwise if the rate is
lower the test fail in transition_pay and the empty ask state is tested which
raises an exception.
issue7192
review52471002
- remove invalid escape sequence
- use read_file instead of read_fp
- use importlib instead of imp and __import__
- use callable instead of instance of collections.Callable
- fix silent file closing
- replace SafeConfigParser by ConfigParser
- replace decodestring by decodebytes
- replace encodestring by encodebytes
issue7666
issue7390
review53361004
The invoice sequences must be copied with custom code because the constraint
on the period against the fiscalyear invalidate the copy.
issue7042
review51481002
* Allow callable in copy default
* Support dotted notation in copy default
* Use setdefault in copy
* Copy default when needed
* Do not set default state in copy
* Use callable and dotted notation in copy default
issue5576
issue7648
review72291002