Commit Graph
10522 Commits
Author SHA1 Message Date
Yannick Tivisse 757ababa68 [FIX] account,sale,purchase: Take country format address in email templates
In qweb reports, the address is displayed according the standards of the
country where it belongs. In the email templates, the company address was
always displayed in the same way, no matter the country of the address.
2015-09-30 16:45:22 +02:00
qdp-odoo 4890715171 [IMP] account: auto_install account_check_printing for US companies 2015-09-30 09:26:36 +02:00
qsm-odoo 7f7ce69bd9 [FIX] web,account: client actions layout (height)
Like view manager containers, client action containers needed the
overflow:auto property to compute their correct height inside their
flex context. This also allows client action as the reconcilation in
accounting to not care about their height.
2015-09-29 15:14:39 +02:00
Martin Trigaux fa4b170a31 [FIX] account: typo 2015-09-28 17:49:40 +02:00
Yannick Tivisse f0db109741 [IMP] account: update translations 2015-09-28 17:34:42 +02:00
Yannick Tivisse 077098ea13 [FIX] account: planner, multiple typos and wrong turns of phrase 2015-09-28 17:30:17 +02:00
Martin Trigaux 3498f2287a [IMP] account: better label 2015-09-28 17:24:29 +02:00
Arthur Maniet 4530e5d61c [FIX] account: deleting a bank journal also deletes its bank account
Fixes #8739
2015-09-28 11:40:04 +02:00
Leonardo Rochael Almeida 06b3026bcd [IMP] unittest2 > unittest
The `unittest2` package is simply a backport of `unittest` from the
Standard Library of Python 2.7 to previous versions.

There is no reason to use it any longer.

Closes #6941
2015-09-28 10:37:27 +02:00
Odoo Translation Bot 3dec9e5804 [I18N] Update translation terms from Transifex 2015-09-27 03:07:16 +02:00
Fabien Pinckaers e49d0cd74d [IMP] Typo 2015-09-26 11:34:18 -07:00
Fabien Pinckaers adbfed5bbb [IMP] typo 2015-09-26 08:26:23 -07:00
qdp-odoo 9091c5efc0 [FIX] account: 'invoiced' button on partner now opens the tree view of customer invoices instead of the vendor one 2015-09-25 17:40:33 +02:00
qdp-odoo c078f71646 [FIX] account: allow supplier bills and refunds to share the same reference 2015-09-25 17:01:49 +02:00
Cedric Snauwaert a0053b8aa9 [FIX] account: res_config cosmetics 2015-09-24 11:39:36 +02:00
qdp-odoo 492edf9824 [IMP] account: added a test on invoice validation to avoid duplicated reference on vendor bills and refunds, because it's probably a double encoding of the same document 2015-09-24 10:33:34 +02:00
Christophe Simonis 731b9f60ea [FIX] account: skip tests using skipTest method 2015-09-23 17:02:42 +02:00
Christophe Simonis 57168a9e90 [MERGE] forward port of branch saas-6 up to a669433 2015-09-23 14:34:26 +02:00
Denis Ledoux 6adc5d25a8 [FIX] account, ir.sequence: compatibility for accounting sequences using today's date.
In saas-6, the `ir_sequence_date` key in the context
has been introduced, to use this date instead of the
current date for sequences including date variables
(Year, month, day, ...).

So, when an invoice is created for a previous fiscal
year / period, the sequence is built according
to the date of this fiscal year / period.

e.g., for an invoice sequence containing the year,
for an invoice created in 2015, but which
is for the 2014 fiscal year, the sequence
contains 2014 instead of 2015.

Nevertheless, this leads to a retro-compatibility issue:
the impossibiliy to use the current date for your
invoices sequences.
Indeed, some users want to include the current month
and day in their invoices sequences,
e.g. xxx-20150922.

This revision brings the possibility to use both
possible dates, the beginning of the date range
or the current date.

opw-649487
2015-09-22 18:31:34 +02:00
Christophe Simonis 71d03fa5b2 [FIX] glitches introduced during last forward-port (as always) 2015-09-22 16:08:49 +02:00
Martin Trigaux 7a9c0097af [FIX] account: typo 2015-09-22 13:26:36 +02:00
Martin Trigaux 6a752daaae [IMP] account: cleaning labels on fields
account: add missing or unclear labels
POS: remove useless surcharge changing the label
l10n_be_invoice_bba: unify label name with account
2015-09-21 15:55:43 +02:00
Odoo Translation Bot b85dd39814 [I18N] Update translation terms from Transifex 2015-09-20 03:04:41 +02:00
Cedric Snauwaert 61c0e82bdc [FIX] account: add oldname on account_invoice uom field for the migration 2015-09-18 17:07:37 +02:00
qdp-odoo 6863826d0d [IMP] account: auto install account_sepa module if the company's country is in Europe 2015-09-18 11:16:52 +02:00
Martin Trigaux 387ff476dc [I18N] all: reexport translatable source terms 2015-09-18 10:40:52 +02:00
qsm-odoo 9e8e1b3de7 [REF] *: product categories templates
* = (product,purchase,stock,account,stock_account)
2015-09-17 17:32:02 +02:00
Goffin Simon 0020fe85e0 [FIX] account: operator 'child_of'
In a domain, the operator 'child_of' cannot use an empty list.

opw:649474, 649572
2015-09-17 16:26:20 +02:00
qdp-odoo f72486688d [FIX] account: fixed partner selection on payments in case of writeoff entry 2015-09-17 13:26:42 +02:00
qdp-odoo 0f7ea4411b [REM] account: removed references to old reports that do not exist anymore 2015-09-17 13:26:42 +02:00
qdp-odoo 230717f8d8 [FIX] account: fixed outstanding debit widget in case an invoice is made for a contact (invoiced partner is not the commercial partner) 2015-09-17 13:26:42 +02:00
qdp-odoo fa2812325f [FIX] account: fixed typo in create() of account.journal with effect of not creating the refund sequence 2015-09-17 13:26:42 +02:00
Raphael Collet d4a24f3663 [IMP] account: improve doc and add warning on post-install tests 2015-09-17 11:59:03 +02:00
pvy efd8d88c41 [FIX] account: add old name to field 'user_type_id' of account_template 2015-09-17 10:03:34 +02:00
Xavier Morel a1c878e40f [FIX] account: missing parameter in send_mail
d88c34d1 added an auto_commit parameter to send_email of
mail.compose.message but apparently missed updating at least one
override.

Fix that oversight.
2015-09-16 14:41:12 +02:00
Joren Van Onder 94900dda50 [IMP] point_of_sale: reimplement cash control support
Support for cash control was removed in
c04065abd8. Because the cash_control field
on account.journal was removed, we now define a cash_control preference
on pos.config. In order to set the opening and closing balances the new
AccountBankStmtCashWizard is used.
2015-09-16 14:09:41 +02:00
Joren Van Onder 8b17079530 [FIX] account: select last bank statement based on date_done, not date
date is a Date field, whereas date_done is a Datetime field. When using
date, the code failed to successfully select the last bank statement if
there were multiple bank statements being opened on the same day.
2015-09-16 13:01:52 +02:00
Joren Van Onder 88d851af58 [FIX] account: correctly set the opening amount of a bank statement
_default_opening_balance is used as a default for the balance_start
field. A default function should return the default value, not attempt
to set it on self, which is what was being done when
_set_opening_balance gets called.
2015-09-16 13:01:52 +02:00
Joren Van Onder f5ad251686 [FIX] account: _compute_values_for_statement_line is not a valid compute
This allows people to use point of sale > sessions > put money in again.
2015-09-16 13:01:52 +02:00
Olivier Laurent 0902554953 [FIX] account: use 'journal' instead of 'self' in _methods_compute
Using 'self' triggers a ValueError: Expected singleton
2015-09-15 13:55:16 +02:00
Olivier Laurent e9ff413d45 [FIX] account: move AccountTaxGroup class above AccountTax class
During the upgrade, the 'tax_group_id' field on 'account.tax' model cannot
be created because it needs the 'account_tax_group' table which is not
yet created.

Moving this class above the AccountTax class solves this problem.
2015-09-15 13:55:16 +02:00
Martin Trigaux 2e8996ce0b [I18N] add missing translations
Fetching was stopped at sale, because reasons
2015-09-15 09:30:37 +02:00
Simon Lejeune 4c3264122f [REF] planners: increased font-size on the first page 2015-09-14 22:18:10 +02:00
Simon Lejeune 5015613a49 [FIX] planners: make titles translatable 2015-09-14 21:36:55 +02:00
Martin Trigaux 1348fee217 [I18N] all: regenerate .pot and pull .po
How great is it to get Odoo (almost) 9.0 (almost) translated?

Clean .tx/config file
Regenerate .pot files
Fetch current translations from Transifex (10% completion)
2015-09-14 17:53:37 +02:00
Goffin Simon 1d2239665f [FIX] account: consolidated children
The consolidated child of an account cannot be a parent of this account and
the consolidated child of an account cannot be this account itself.
To avoid an infinite recursion in the function _get_children_and_consol.

opw:649198
2015-09-14 16:33:45 +02:00
Yannick Tivisse 473d792582 [FIX] project: correct planner english 2015-09-14 13:59:31 +02:00
Christophe Simonis 88eaa7dad8 [MERGE] forward port of branch 8.0 up to 35233db 2015-09-11 17:28:07 +02:00
qsm-odoo 06562a108b [IMP] *: Change all gtk-execute icons to fa-cogs 2015-09-11 16:22:19 +02:00
Denis Ledoux 9ad357553d [FIX] mass_mailing: missing auto_commit in send_mail overrides
The argument `auto_commit` was omitted in `send_mail` overrides.
`auto_commit` was therefore allmost always `False` when
reaching the `send` method of model `mail.mail`,
in `mail/mail_mail.py`. At least it was when either
`sale`, `purchase` or `account` were installed.

Not committing the sql transaction leaded to the fact
the mail statistics were never created when the queue
process was interrupted (e.g. process time limit reached),
and knowing if an email in a mass mailing has already been sent or not
is based on the fact the mail statistics exists or not.

Therefore, if a mass mailing sending process was interrupted,
the emails were re-sent over and over.

opw-649106
2015-09-11 14:18:45 +02:00