Commit Graph
357 Commits
Author SHA1 Message Date
Christophe Matthieu 78b52fb637 [FIX] templates: remplace true by True for t-field-options
t-field-options is a python dictionary.
'true' is evaluated as None because the qweb did not find any value for 'true' key.
2016-06-14 14:26:42 +02:00
Christophe Matthieu d9efca0908 [IMP] qweb: t-field-options is a python dict, safe_eval for compile template, not need to eval in field methods 2016-06-14 13:12:14 +02:00
Christophe Matthieu 7ede9bcb2d [IMP] base ir.qweb: compile template (and use ast) to improve rendering speed
* The compiled templates are cached per user, lang, inherit context values
* ir.ui.fields: attributes method return an dict, and record_to_html return only the content value of the field
* all rendered text use build_text and all attributes use build_attribute
* t-esc-options is removed and replace by format_value method
* AssetsBundle receive the list files and remains
2016-06-14 09:46:25 +02:00
Jainik Patel eda051f43d [REM] web: Remove GTK icons and replace them by Font-awesome 2016-06-13 12:04:17 +02:00
rap-odoo a5e7a4c8ae [IMP] Account,...: Change 'string' attribute on some fields to avoid repeated names
In odoo at many places the filter items are having repeated strings eventhough the
fiter works differently , so find all the places where this happens and give
proper string to each filter..
2016-06-08 14:02:23 +02:00
Christophe Simonis 7306e888a6 [MERGE] forward port of branch saas-11 up to ac50230 2016-06-08 12:28:16 +02:00
Christophe Simonis ac5023060c [MERGE] forward port of branch saas-10 up to 2f948c7 2016-06-08 12:19:23 +02:00
Christophe Simonis 2f948c76aa [MERGE] forward port of branch saas-9 up to 3ed483c 2016-06-07 19:45:02 +02:00
Christophe Simonis 3ed483caa1 [MERGE] forward port of branch 9.0 up to fa4a371 2016-06-07 19:21:18 +02:00
jpr-odoo ecd892e53d [IMP] account,sale: shipping address on invoice report
PURPOSE:
Display shipping address on invoice, when both addresses are
different ('Invoice Address' and 'Delivery Address').
2016-06-07 15:55:37 +02:00
qdp-odoo db04087b2c [FIX] account: a duplicated xmlid reference was overwritting the Chart of Accounts menuitem 2016-06-07 10:33:39 +02:00
qdp-odoo 8acfde46d2 [IMP] account: added credit card type for liquidities-liabilities accounts 2016-06-07 10:21:23 +02:00
Denis Ledoux fc8d96d2cb [FIX] account: Invoices & Refunds filters together
When both selected, these filters are expected
to display Invoices - OR - Refunds.

It was not the case, because the web client
expects to receive the domains normalized
when concatenating domains together with a
`|` statement.

Selecting both filters resulted in the below domain:

```
[
    '|',
    ('state','in',['open','paid']),
    ('type','in',('out_invoice','in_invoice'))`,
    ('state','in',['open','paid']),
    ('type','in',('out_refund','in_refund')),
]
```
Instead of
```
[
    '|',
    '&', ('state','in',['open','paid']), ('type','in',('out_invoice','in_invoice'))`,
    '&', ('state','in',['open','paid']), ('type','in',('out_refund','in_refund')),
]
```

opw-679246
2016-06-06 17:25:55 +02:00
qdp-odoo 9699dac818 [FIX] account: fixed old references to account_extra_report module forgotten during the merge into account 2016-06-06 13:06:27 +02:00
Yannick Tivisse 42b844e8ef [FIX] account: Removed duplicated subtotal grouped by tax group
Before a table was displayed to group by the subtotals by tax group.
It has been moved on the right and it is duplicated.
2016-05-25 13:36:15 +02:00
Christophe Simonis facb664483 Revert "[FIX] account: fixed old references to account_extra_report module forgotten during the merge into account"
This reverts commit 4f00202fda.
2016-05-24 12:51:14 +02:00
dut-odoo a4e7c1351d [IMP] analytic: added 'Analytic Accounts Tags' menuitem
And changed account tags menu string. 'Tags' to 'Account Tags'
2016-05-24 11:34:17 +02:00
Fabien Pinckaers 52ea730840 [IMP] account: usability, better view for payment terms configuration 2016-05-24 09:27:01 +02:00
qdp-odoo 4f00202fda [FIX] account: fixed old references to account_extra_report module forgotten during the merge into account 2016-05-18 11:45:55 +02:00
Christophe Simonis 1e26ef6579 [MERGE] forward port of branch saas-11 up to 91c9284 2016-05-13 16:36:04 +02:00
Christophe Simonis 91c9284951 [MERGE] forward port of branch saas-10 up to 5aa0bae 2016-05-13 16:33:51 +02:00
Christophe Simonis c4bba868f0 [MERGE] forward port of branch saas-9 up to 087729f 2016-05-13 15:58:06 +02:00
Christophe Simonis 7f2a9e77b6 [MERGE] forward port of branch 9.0 up to dcab356 2016-05-13 14:08:51 +02:00
qdp-odoo 0d42c6e604 [MERGE] account: merge of account_tax_adjustment module as a core feature of account module. Added a boolean 'tax adjustment' on account.tax to define taxes that can be used in the wizard instead of taxes with fixed amount of 0 2016-05-12 17:18:01 +02:00
Goffin Simon 8ad0c0f3ab [FIX] account: base field in account.invoice.tax
The field base is obligatory according to a european law.
This field existed in saas-6.

opw:674713
2016-05-11 13:54:39 +02:00
Yannick Tivisse 8ff9cbad2c [IMP] sale,purchase,stock,account: Don't display an empty 'warning' page
And add a category hidden on the res.group definition
2016-05-06 17:06:35 +02:00
Christophe Simonis 0fbc92e0c4 [MERGE] forward port of branch saas-10 up to 1e86774 2016-05-04 17:09:51 +02:00
Christophe Simonis 1e86774207 [MERGE] forward port of branch saas-9 up to 89873cb 2016-05-04 15:42:26 +02:00
qdp-odoo d115c24d6b [FIX] account: analytic lines pivot table reporting menu + copy of the analytic tags on analytic lines from aml 2016-05-03 16:46:42 +02:00
qdp-odoo 54b0168d5e [IMP] account, sale, purchase: added analytic tags in SO, PO and invoices, to allow reporting based on those tags 2016-05-04 09:37:41 +02:00
Christophe Simonis 431ef552b3 [MERGE] forward port of branch 9.0 up to 822966d 2016-05-02 14:44:20 +02:00
Goffin Simon 02371e8831 [FIX] account: sequence_id field in account.journal
The sequence_id field can be seen in debug mode but it cannot
be edited.

opw:676223
2016-05-02 10:16:01 +02:00
Christophe Simonis 7b12757780 [MERGE] forward port of branch 9.0 up to 4f7d0da 2016-04-28 11:12:06 +02:00
Denis Ledoux 4606250d91 [FIX] account: amount currency in journal items list view
In 8.0, the amount currency field was displayed
in the journal items list view
when choosing, thanks to the `quick add` widget,
a journal with a currency set.
Otherwise, if the journal had no currency set,
the column was not displayed.

It was done thanks to the key
"currency" passed in the context.

From 9.0, the `quick add` is no longer used,
and, due to that, the amount currency field
was no longer displayed in the journal items
list  view at all, despite if the journal
had a currency set or not.

In technical words, `currency` was
no longer passed in the context,
making the invisibility property
set with
`invisible="not context.get('currency',False)"`
useless.

As this widget is no longer used, there
is no other choice than either
always display the column, either never.

We choose to display it only if you have
the multi-currency group (as this is the case
in the journal item form view)

We also take the opportunity to move the column
next to the debit & credit column, this is more
meaningful.

opw-676059
2016-04-26 15:57:27 +02:00
qdp-odoo d99c68ff39 [REF] account: refactoring of aged partner balance report in order to have that query reusable for the enterprise report 2016-04-26 15:01:42 +02:00
Christophe Simonis 2dcbdd0778 [MERGE] forward port of branch saas-10 up to bb8f0f1 2016-04-25 15:48:31 +02:00
Christophe Simonis bb8f0f1fc3 [MERGE] forward port of branch saas-9 up to 4d337f7 2016-04-25 14:43:44 +02:00
Olivier Dony ee804e1d32 [MERGE] Forward-port 9.0 up to 74d8cbc190 2016-04-21 18:05:14 +02:00
Denis Ledoux 70494d894e [FIX] account: Dashboard invoices refunds link
When clicking on the "Refunds" link of a
Sale / Purchase invoices journal,
creating a new invoice did not create
a new refund invoice, but a normal invoice.

opw-675408
2016-04-21 15:28:54 +02:00
Goffin Simon e113ba6599 [FIX] account, l10n_generic_coa, l10n_th: U.S. CoA Misconfigured
Translation.

opw:674632
2016-04-20 12:26:58 +02:00
Goffin Simon 6f5acf6001 [FIX] account, l10n_generic_coa, l10n_th: U.S. CoA Misconfigured
Translation.

opw:674632
2016-04-20 12:08:04 +02:00
Christophe Simonis 73fbadf8ae [MERGE] forward port of branch 9.0 up to 7c04420 2016-04-19 12:58:55 +02:00
Fabien Pinckaers 0613ed4451 [iMP] account: better terminology, related button in two lines instead of 3 2016-04-18 21:27:09 -07:00
Nicolas Martinelli 6bf4dea058 [FIX] account: show due date
The "Due Date" is invisible in the tree view because in most cases, the
`journal_type` is not in the context. Since it was shown all the time in
v8, we show as well.

opw-674815
2016-04-18 10:36:33 +02:00
qdp-odoo ece01633cd [FIX] account: account.move.form view improved for a better user experience.
(partner_id as second field in line_ids, and thus not in header anymore + reorganization of header fields)
2016-04-18 10:06:52 +02:00
qdp-odoo b154e219f6 [FIX] account: display only the user's current company journals in the dashboard 2016-04-15 17:38:00 +02: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
qdp-odoo c538bedd53 [FIX] account: don't show amount_currency and currency_id fields in bank statement lines as it is confusing some people 2016-04-15 14:47:56 +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