Commit Graph
20 Commits
Author SHA1 Message Date
Fabien Pinckaers 48ea59d46e [IMP] sale,hr_expense: simplify invoice policy, 2 options instead of 3
The invoice_policy 'time & material' has been replaced by an
    expense_policy!='no', with invoice_policy='delivery'.
2016-05-22 15:57:33 +02:00
Cedric Snauwaert 4e4fa38880 [ADD] hr_expense: add accounting_date field, when generating accounting entries it will take this field if set, otherwise take expense_date field 2016-05-02 15:38:14 +02:00
Christophe Simonis 2dcbdd0778 [MERGE] forward port of branch saas-10 up to bb8f0f1 2016-04-25 15:48:31 +02:00
Olivier Dony ee804e1d32 [MERGE] Forward-port 9.0 up to 74d8cbc190 2016-04-21 18:05:14 +02:00
Fabien Pinckaers 3f43d3056b [FIX] hr_expense: expenses paid by the company should be posted on bank journal
opw-674409
2016-04-21 16:31:25 +02:00
Christophe Simonis 6c8141a1df [MERGE] forward port of branch saas-10 up to 2483327 2016-04-01 16:15:35 +02: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
qdp-odoo 7a3d63b377 [MERGE] forward port of branch saas-7 up to revision 71d16a369e 2016-03-16 10:27:19 +01:00
qdp-odoo 92b1b640f6 [FIX] hr_expense: when generating the accounting entries for several expenses, set the move date as the maximum of the expenses dates, and make sure that all account.move.lines are created with the same currency rate (given by the move date). ticket 670876 2016-03-15 11:54:47 +01:00
Christophe Simonis 78d20b552b [MERGE] forward port of branch saas-8 up to 7e44ddc 2016-01-27 12:24:04 +01:00
Denis Ledoux d26c85dc0a [FIX] hr_expense: mark paid on reconciliation, precision
When comparing floats, `float_compare` must always
be used to avoid precision issues.

e.g., percentages like 1.0000000000000002
must be considered as equal to 1.

opw-666459
2016-01-13 16:10:09 +01:00
qdp-odoo c068889775 [IMP] hr_expense: add a field on expense lines to allow to force an account when creating the accounting entries instead of using the default one 2016-01-04 15:06:37 +01:00
qdp-odoo f6d6762dc7 [FIX] analytic: workaround to re-enable the feature to close an analytic account that has been unfortunately removed by mistake in commit 2a8c077.
It is using an already existing field that wasn't used anymore ('account_type') but as a lot of domains on analytic accounts were
 - wrong (still using old fields state and type that have been removed as well in the same commit),
 - or defined directly in the views
so, an update of some modules may be needed in order to avoid further problems.
2015-12-11 14:57:46 +01:00
qdp-odoo 4be01c00ff [FIX] hr_expense: accounting entries created now have the employee name as label, which was a usability lack 2015-12-08 11:33:09 +01:00
Olivier Dony a8c253e337 [FIX] hr_expense: display latest expenses on top (was the case pre-9.0) 2015-12-06 23:49:47 +01:00
qdp-odoo 901a3e030c [FIX] hr_expense: generation of accounting entries now work when selecting several expenses 2015-11-30 11:28:58 +01:00
Damien Bouvy ec4203598d [IMP] hr_expense: terminology
analytic accounts are not contracts anymore
2015-09-21 10:33:41 +02:00
Martin Trigaux 5a402f0fae [IMP] hr_expense: only require expense journal at entry generation
The journal_id field was required which prevented to install the module without
chart of account in demo mode.
Force the journal only when generating the entries ibnstead.
2015-09-07 13:53:19 +02:00
Fabien Pinckaers f60afe4386 [IMP] Cleaning Expense module 2015-09-05 13:44:33 +02:00
Foram Katharotiya 52d72e61de [MERGE] hr_expense: module rewritten for more easiness and a better usability. Concept of expense sheet removed. Was PR #7387. 2015-09-04 17:23:19 +02:00