Commit Graph
10973 Commits
Author SHA1 Message Date
Fabien Pinckaers 0613ed4451 [iMP] account: better terminology, related button in two lines instead of 3 2016-04-18 21:27:09 -07:00
qdp-odoo 0fc1ed21c2 [IMP] account: improved usability of account.move.form view by moving the partner_id field in second position 2016-04-15 14:52:15 +02:00
Nicolas Martinelli d0029f11ce [IMP] account: short code always required
The short code is always required for the following reasons:
- The auto-generated code is useless for search purpose because user
  cannot choose it (BNK or CSH is maybe not meaningful for him)
- If the system cannot generate an unused journal code, the user is
  stuck since the field is read-only in the interface.

However, the code can still be auto-generated, although it is required
in the interface. This is to avoid breaking modules that would expect
this feature. At the same time, the logic has been improved to reduce
the number of search requests.

opw-674485
2016-04-13 16:52:50 +02:00
Srushti Patel f303fab21d [IMP] account: Move the Invoice report in the invoicing app.
-because If a user wants to have a report of all its invoices, he/she has to install the full accounting app.
-Add access rights for Reports.
2016-04-12 16:47:10 +02:00
Christophe Simonis 9b5ba8b238 [MERGE] forward port of branch saas-10 up to 21c7ef8 2016-04-12 12:38:02 +02:00
Christophe Simonis 21c7ef8bf5 [MERGE] forward port of branch saas-9 up to eb44341 2016-04-12 11:56:44 +02:00
Christophe Simonis eb443410ff [MERGE] forward port of branch 9.0 up to afba8ce 2016-04-12 11:12:57 +02:00
Goffin Simon afba8cec23 [FIX] account: partner_id field in account.move
From 94ed4ce8c8

The original issue is the following:
- Go to the journal item creation
- Choose a partner
- Add a line => the partner on the journal item is removed

This is because `partner_id` on the account move is a related to
`partner_id` on the account move lines. This is likely to cause errors
during the manual encoding of a journal item, since the relation will
link the partner of the account move to the partner of the first account
move line only.

opw:672354
2016-04-12 10:54:37 +02:00
Fabien Pinckaers 1fcf76ff1d [IMP] account: difference in bank journals 2016-04-11 23:01:55 -07:00
Fabien Pinckaers 45bde5721a [IMP] account: difference in account journals 2016-04-11 22:58:37 -07:00
qdp-odoo 67c444bb38 [FIX] account: Don't create journals several times with hierarchical account charts. Courtesy of pedrobaeza. PR #11491 2016-04-11 18:18:12 +02:00
qdp-odoo b2a321a878 [FIX] account: Find correctly taxes when using hierarchical charts of accounts. Courtesy of pedrobaeza. PR #11493 2016-04-11 18:18:12 +02:00
qdp-odoo 9807ff8a91 [FIX] account: Financial Report not sorted the right way. Courtesy of be-cloud-js. PR #11485 2016-04-11 18:18:12 +02:00
Mansi Gandhi fe0dd01e2f [IMP] account: 'Save and new' instead of 'New Operation' in bank statement reconciliation
It says what it does better, and it is more consistent with Odoo's usability.
2016-04-11 13:15:25 +02:00
Foram Shah d2728c0006 [IMP] account,crm,project...: Remove 'Create and Edit' from tags
List of impacted models:
-account.account
-calendar.event
-crm.lead
-fleet.vehicle
-hr.applicant
-hr.employee
-mail.mass_mailing.campaign
-note.note
-project.task
-res.partner

Add a menuitem in the Configurations for these models, visible in debug mode
2016-04-11 11:10:48 +02:00
Odoo Translation Bot d4672389f7 [I18N] Update translation terms from Transifex 2016-04-10 00:32:08 +02:00
qdp-odoo 20381eb33d [FIX] account: get rid of 'cannot create unbalanced entry' on bank reconciliation using a tax on manual entry created. Was ticket 673358 2016-04-08 16:54:54 +02:00
Cedric Snauwaert bec5d2595a [ADD] account_bank_import_statement_csv: add module to import csv bank statement 2016-04-08 14:13:55 +02:00
Yannick Tivisse 536dbc50db [IMP] account,sale,purchase,stock: Add groups to activate warnings 2016-04-07 10:08:20 +02:00
Yannick Tivisse df38cf9502 [MOV] account: Move account part from warning module 2016-04-07 10:08:19 +02:00
Christophe Simonis 658989868c [MERGE] forward port of branch saas-10 up to aa6ebd1 2016-04-05 20:08:50 +02:00
Christophe Simonis aa6ebd146a [MERGE] forward port of branch saas-9 up to 549daaa 2016-04-05 19:27:34 +02:00
Christophe Simonis 549daaaba4 [MERGE] forward port of branch saas-7 up to 3e639f4 2016-04-05 19:08:01 +02:00
Christophe Simonis 3e639f4bea [MERGE] forward port of branch 9.0 up to 9e2de9b 2016-04-05 19:06:25 +02:00
Damien Bouvy 8ae6406a37 [FIX] account: allow forcing company when fetching fpos
The code to fetch the fiscal position of a partner uses ACLs and
ir_rules to select the correct ones, but when calling the function
as admin, multi-company rules flight out the window.

By allowing to force a company in the context, we can get the fpos
as the admin from the pov of any company.
2016-04-04 15:37:22 +02:00
Yannick Tivisse 8db497185d [IMP] stock_account: Hide 'Account Stock Properties' if 'Perpetual' valuation
Because if you set the inventory valuation as manual you don't create
accounting entries automatically when stock moves are confirmed.
2016-04-04 09:59:24 +02:00
Fabien Pinckaers 9755842538 [IMP] order of fields in invoice form 2016-04-03 16:12:58 -07:00
Fabien Pinckaers 765d68b41f [IMP] better order of fields in invoice form 2016-04-03 16:11:48 -07:00
Fabien Pinckaers 218a816149 [FIX] removing write field: statement_line_id is on move 2016-04-03 15:50:44 -07:00
Fabien Pinckaers 9188d01934 [FIX] correct domain for entries selection 2016-04-01 23:36:09 -07:00
Fabien Pinckaers 3d48f2a375 [IMP] Create payment when registered from bank statement 2016-04-01 22:07:42 -07:00
Fabien Pinckaers e49893ab2d [IMP] Balance in Odoo --> Balance in GL 2016-04-01 19:22:13 -07:00
Christophe Simonis 79976bd779 [MERGE] forward port of branch saas-10 up to 6e95659 2016-04-01 19:10:34 +02:00
Christophe Simonis 6e95659a08 [MERGE] forward port of branch saas-9 up to f4d1adc 2016-04-01 18:51:55 +02:00
Christophe Simonis 6c8141a1df [MERGE] forward port of branch saas-10 up to 2483327 2016-04-01 16:15:35 +02:00
qdp-odoo 2b039c7643 [MERGE] forward port of branch 'saas-7' into saas-9 up to revision 7853c9c7bb 2016-04-01 14:50:57 +02:00
qdp-odoo 7853c9c7bb [MERGE] Merge branch '9.0' into saas-7 up to revision 8ba922936b76cb0fb9ab8ddda6ae4b2e5f087067 2016-04-01 14:49:16 +02:00
Denis Ledoux 17f4d22594 [MERGE] forward port of branch saas-7 up to 2d2028a 2016-04-01 11:26:27 +02:00
Denis Ledoux 2d2028a66c [MERGE] forward port of branch 9.0 up to b44cb82 2016-03-31 17:57:22 +02:00
Nicolas Martinelli 2e4777bb32 [FIX] account, purchase: price_unit as Float
The price unit on the account move line is defined as a monetary field.
However, on a Sales Order or on a Purchase Order, the price unit is
defined as a float with precision 'Product Price'. Therefore, when an
invoice is generated from a SO or a PO, inconsistencies arise if the
product price precision is larger than the currency precision.

opw-673251
2016-03-31 17:08:37 +02:00
Goffin Simon b44cb82c1b [FIX] account, stock: date invoice for a refund
When a a refund is created from an open invoice and a different
date than today is selected as refund date, the invoice date of
this refund must be the selected date.

opw:673369
2016-03-31 14:18:02 +02:00
Cedric Snauwaert 90650245d0 [FIX] account: update-check should allow aml with debit=credit=0
Problem: if we try to validate an invoice with a line with a discount of 100%,
this will create an aml with debit=credit=0 and reconciled flag as True.
So when trying to cancel invoice, it is not possible because the check tell us
that there is an entry which is reconciled and we can't unreconcile that entry,
so the check should just ignore line with debit-credit=0.
Also add readonly to general_account_id related field on account.analytic.line.
This is to prevent a write while creating the account_move_line in the case of an
invoice with analytic account.
2016-03-31 10:31:29 +02:00
Denis Ledoux 4b6218874a [FIX] account: re-introduce get_formview_id for invoices
`get_formview_id` returns a view id to open
the document with. This method is meant to be
overridden in addons that want to give
specific view ids for example.

A link to an invoice must open a different form view
according if this is a customer or a vendor invoice.

This is handled by overriding `get_formview_id`
and returning the view id that should be used
according to something in the record
(e.g. according to the `type` field).

It was present in 8.0, it was somehow
removed in Odoo 9.0 during the refactoring
of the accounting modules, probably
for a wrong reason.

opw-673246
2016-03-30 13:26:19 +02:00
Kinjal Mehta 1409de5d36 [IMP] Convert UserError into ValidationError when only a message to display
When only a message argument is given to the crash manager, the popup display
"Error while validating constarint" and "None" with the warning message
which does not make any sense for the common user.
2016-03-30 09:17:42 +02:00
Odoo Translation Bot f02b8a76df [I18N] Update translation terms from Transifex 2016-03-27 00:32:16 +01:00
Goffin Simon cb435481c0 [FIX] account: _get_counterpart_move_line_vals
When the move_id was not set in the invoice, the field number
is False and making False + a string raised a type Error.
2016-03-25 09:28:33 +01:00
Christophe Simonis ddb0fb2739 [MERGE] forward port of branch saas-9 up to 59d3f63 2016-03-24 16:53:45 +01:00
Christophe Simonis 59d3f63c58 [MERGE] forward port of branch saas-7 up to 9e4157b 2016-03-24 15:12:00 +01:00
Kinjal Mehta a57592abe4 [IMP] analytic: Replaced account_type field by active field
Currently there is a selection field 'account_type' on the
account.analytic.account model with 2 values : Active or Archived

Let's use an active field instead and add a Archive stat button on the
form. That way, we can remove all the domain ('account_type','=','normal')
which are implicit with the generic active field behavior
2016-03-23 16:35:34 +01:00
Kinjal Mehta 93da11a59c [REM] account,analytic: removed wizard on Analytic Account menu
Display the analytic account list view directly instead
2016-03-23 16:35:34 +01:00