Commit Graph
80 Commits
Author SHA1 Message Date
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
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 f72486688d [FIX] account: fixed partner selection on payments in case of writeoff entry 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
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
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
Foram Katharotiya 453adf434f [IMP] account: put back old PDF reports for people using only the community version 2015-09-10 17:52:51 +02:00
Martin Trigaux 087f8bed48 [FIX] correct some English mistakes
Missing spaces, typos, rephrase unclear text
Courtesy of Eric Geens
2015-09-10 12:22:17 +02:00
Olivier Dony 7346352fd9 [FIX] account: new api typo, self.env.user is current user
`uid` not defined in this context
2015-09-09 14:13:40 +02:00
Martin Geubelle 3acf8879d1 [ADD] *: add color field on tags 2015-09-07 14:20:36 +02:00
Cédric Snauwaert fb1c52778d [ADD] account_tax_cash_basis module 2015-09-02 14:53:38 +02:00
Nicolas Martinelli 826661d53a [IMP] account: adaptation due to the new Purchase module
Reason: complete rewrite of the Purchase module.

Responsible: fp, nim
2015-09-02 08:15:55 +02:00
pvy 7960dcdac4 [FIX] account: added precision to the account tax amount to accomodate for a 0.1224 tax in l10n_in 2015-08-31 17:01:06 +02:00
qdp-odoo e4dc50bf58 [IMP] pricelists improvements. Was PR #8228 2015-08-31 16:57:32 +02:00
Yannick Tivisse 4688c1675b [IMP] account: Add a link in res_config to configure the company 2015-08-31 12:58:41 +02:00
Fabien Pinckaers 29c85d4e06 [FIX] account uniq tax 2015-08-30 19:00:30 +02:00
Fabien Pinckaers 2ec5afde1c [IMP] Better CRM Dashboard
[IMP] Tax name may not be uniq (sale and purchase tax with simple 21%
name)
[IMP] CSS of kanban
2015-08-30 18:53:55 +02:00
Fabien Pinckaers f0fa04e9f6 [FIX] Currency computation on partners
[FIX] CRM dashboard links and default filters
[IMP] partner form view
2015-08-30 13:49:31 +02:00
Damien Bouvy 411204cad5 [FIX] account: get_view_id returns a browserecord, you want its id when calling super 2015-08-28 16:08:54 +02:00
Christophe Simonis edeceba7df [MERGE] forward port of branch saas-6 up to 7a768a4
Due to `sale` rewrite (94716a3f14),
the commit 503820acb6 has been partially
ignored (in sale.order.line) and will be rewritten later using new-api.
2015-08-28 15:07:16 +02:00
fka-odoo 3dc45d3cdc [FIX] account_move: Added date domain to calculate initial balance for General & Partner Ledger report 2015-08-28 10:00:34 +02:00
Nicolas Martinelli 5cb2943cca [IMP] account*: adaptation due to the new Sale module
Major changes:
- No use of UoS anymore
- No analytic journal (journal_id) on account move lines

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:10:18 +02:00
Martin Trigaux 263673fd43 [FIX] account: account tag untranslatable
Makes no sense as it's technical information
2015-08-27 15:49:38 +02:00
Martin Trigaux f12ac47b80 [FIX] account: untranslatable tax name
A tax is not translatable in standard. The translation of tax name is added in
l10n_multilang module but should not be present in base account.
2015-08-27 15:19:04 +02:00
Ravi Gohil 377a6ecab0 [IMP] account: fiscal positions depending on states and/or zip codes 2015-08-27 10:46:39 +02:00
Divyesh Makwana 6e5db46626 [IMP] account: payment terms usability improvement 2015-08-26 15:08:48 +02:00
aso-odoo 43d1bc3fda [ADD]account: added new planner for account. 2015-08-26 15:06:29 +02:00
Christophe Simonis 88c0ce0692 [MERGE] forward port of branch saas-6 up to e16d495 2015-08-24 18:19:19 +02:00
Arthur Maniet f9283a7faa [IMP] account: bank journal name can be inferred from account number 2015-08-24 11:44:32 +02:00
Xavier Morel 2e66c489e3 [FIX] manual reimplementations of ref/xmlid_to_\* 2015-08-24 10:31:02 +02:00
qdp-odoo fc78b9375d [FIX] account: invoice related usability changes. Add of signed fields to display the residual and total amounts of refunds with a negative sign, fixed the invoiced button on partners, fixed the numbering for refunds 2015-08-22 14:36:00 +02:00
Fabien Pinckaers bfe9d5b747 [MISC] misv improvements 2015-08-22 11:49:04 +02:00
Fabien Pinckaers 5fe086a520 [IMP] Misc improvements on accouting views 2015-08-22 11:44:17 +02:00
Arthur Maniet 9a8a140782 [IMP] account: change an account currency along with its journal's 2015-08-21 17:07:22 +02:00
Cedric Snauwaert cb1ce61c84 [ADD] account: add a popover with payment details and action on invoice 2015-08-21 14:06:15 +02:00
Xavier Morel e80f1152c7 [ADD] convenience res_users._is_admin
Checks that the provided user (or user in the provided dataset):

* is the superadmin
* or is a member of group_erp_manager

There are a number of hand-rolled "is_admin" checks in the codebase some
of which are fairly gnarly. The shortcut provides a single point of
contact, avoids forgetting about cases (e.g. SUPERUSER_ID) and is
relatively convenient when checking a user which is not the "current"
user.

closes #8146
2015-08-20 09:42:06 +02:00
qdp-odoo 6cb6f43c2b [REF] base: simplified res.partner.bank and res.bank objects for a greater usability + [IMP] account: bank journals are now the bank accounts of a company 2015-08-19 15:44:59 +02:00
qdp-odoo f9b13ca690 [FIX] account: multiple bugfixes on registering a payment on a single refund. The partner wasn't saved, the partner_type was wrong, the default_get was crashing because of rec['invoice_ids'][0][2] is not safe 2015-08-19 13:02:21 +02:00
Cedric Snauwaert 3493789b37 [FIX] account: various usability stuff 2015-08-19 10:45:38 +02:00
qdp-odoo 96b8b95082 [REM] moving account_bank_statement_import_ofx and account_bank_statement_import_qif to enterprise repository 2015-08-18 14:32:57 +02:00
Gaurav Panchal 6b55539dc7 [IMP] res_partner: form view cleaning
Better display of contacts, simplified contact creation, use default image
for shipping and delivery, and various fixes and improvements in the
form view.

Main impacted addons :

 - account: add a bank_account_count field and stat button that replaces the
 2many field
 - base_vat: remove the button to check vat, as there is already a constraint
 and removed and unused import
 - payment: add a payment_method_count field and stat button that replaces
 the 2many field
2015-08-18 10:51:27 +02:00
Thomas Groutars d861cdc1c4 [ADD] account: add tax_group on invoice to make reporting easier + create tax_group retention for l10n_co 2015-08-17 15:06:48 +02:00
Nicolas Martinelli 71503be1d8 [FIX] account: check price in on_change_unit_amount only if product_id
If no product is defined, there is no need to get any amount or
pricetype. Moreover, variable unit was not defined.
2015-08-14 14:16:10 +02:00
qdp-odoo 2ffdbae30e [FIX] l10n_eu_service made compliant with the new accounting design 2015-08-13 10:59:04 +02:00