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
cod-odoo
992220eb4c
[FIX] l10n_hu is back, compliant with the new accounting
2015-08-19 17:37:26 +02:00
Christophe Matthieu
6538c67c2b
[FIX] web: many2one try to read a creating record but the cache doesn't yet contain the record
2015-08-19 17:05:30 +02:00
Raphael Collet
6627409268
[IMP] fields: in onchange on x2many field, never update the field id
2015-08-19 16:54:50 +02:00
rsi-odoo
4ecca74b73
[FIX] l10n_bo is back, compliant with the new accounting
2015-08-19 16:28:36 +02:00
Simon Lejeune
14b10d6123
[FIX] web: control panel: don't compensate late of gutter
...
rev 14bef4d15c re-added it
2015-08-19 16:16:14 +02:00
Simon Lejeune
d4eafabfad
[FIX] web_kanban: don't compensate lack of gutter
...
rev 14bef4d15c re-added it
2015-08-19 16:15:53 +02:00
Raphael Collet
1b8c2a2078
[IMP] fields, web: change output format of onchange for x2many fields
...
Those fields are serialized as lists of commands.
2015-08-19 16:10:43 +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
Géry Debongnie
256e5bd23a
[FIX] web_kanban: correctly sets id in some cases
...
for some fields, the value is an array with the value and a description. In that
case, we need to only take the value in account to set the id of the group.
2015-08-19 15:33:25 +02:00
cod-odoo
aefb17b124
[FIX] l10n_lu is back, compliant with the new accounting
2015-08-19 14:21:24 +02:00
Simon Lejeune
14bef4d15c
[REF] web: remove grid gutter width bootstrap override
2015-08-19 14:19:13 +02:00
Arthur Maniet
d0aa89caff
[FIX] account: bank statement usability
...
- Don't show the button 'Validate' of the statement form when there is no statement line
- In reconciliation widget, use term 'Validate' instead of 'Register Payment' for the use case where the transaction is not reconciled on the spot
2015-08-19 13:55:53 +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
pvy
95380777dc
[FIX] l10n_br is back, compliant with the new accounting
2015-08-19 12:32:08 +02:00
Cedric Snauwaert
5ebff12ef5
[FIX] res_currency: usability, by default show all currencies in view, and add filter to show active currencies
2015-08-19 12:00:56 +02:00
qsm-odoo
c7ff798d4b
[FIX/IMP] crm: Lead and opportunity form view title
...
* Fix wrong template layout
* Move tags field out of title
2015-08-19 11:24:31 +02:00
qsm-odoo
e33f4c9c83
[FIX] web: o_row compatibility
...
Elements in a .o_row are displayed like if they are .oe_inline
elements but div elements also needed to be inline-blocks elements
and to have space between them.
2015-08-19 11:24:31 +02:00
Martin Trigaux
6c2225ae6d
[FIX] mail: more userfriendly string
2015-08-19 11:17:24 +02:00
Cedric Snauwaert
3493789b37
[FIX] account: various usability stuff
2015-08-19 10:45:38 +02:00
Jamin Shah
1ce29f046c
[IMP] hr_equipment: reorganize kanban view
2015-08-19 10:40:40 +02:00
Joren Van Onder
7f6e278160
[IMP] website_crm,website_sale: don't hardcode salesteam
...
This causes issues when people delete the Website Sales team. The
website_sale module already adds a salesteam_id to website, which is
configurable. So instead set that to website.salesteam_website_sales by
default and use this field.
Modified version of afc9507 after 8c31ecd :
website_crm doesn't look for the website_sale salesteam anymore
2015-08-19 10:40:40 +02:00
Srushti Patel
2feaa4c15b
[IMP] web: sorted custom group by items
2015-08-19 10:40:39 +02:00
pvy
a3d2acb66c
[FIX] l10n_mx is back, compliant with the new accounting
2015-08-19 10:00:08 +02:00
Ronak Baxi
0e603b9927
[FIX] web: x2many tour: broken selector
...
of a button in a modal footer
2015-08-19 08:10:45 +02:00
Ronak Baxi
393f136509
[IMP] *: Uniformize all modal footers
...
The main button has classnames btn btn-primary.
Other buttons have classnames btn btn-default.
No more 'or' between the buttons.
2015-08-19 08:10:45 +02:00
Simon Lejeune
ad66daa6a9
[REF] planner: responsive width
...
fp's request
2015-08-18 17:57:39 +02:00
Simon Lejeune
f97b44580b
[REF] planner: sidebar menu
...
fp's request
2015-08-18 17:57:38 +02:00
Simon Lejeune
295423af78
[FIX] planner: don't apply fa-* on a button tag
...
It doesn't make sense and it obviously applies a different font
to the text of the button.
2015-08-18 17:57:38 +02:00
Simon Lejeune
cd80cb424e
[REF] planner: possibility to hide title in the page
...
Wet let the dom as it is used by the planner implementation. Hide all
the titles of the end pages.
2015-08-18 17:57:38 +02:00
Simon Lejeune
7c0d5f16e0
[REF] planner: no title on the top bar
...
lle's request
2015-08-18 17:57:38 +02:00
pvy
021c3ac5ff
[FIX] l10n_pt is back, compliant with the new accounting
2015-08-18 17:29:35 +02:00
pvy
74d8eb9454
[FIX] l10n_syscohada is back, compliant with the new accounting
2015-08-18 17:15:17 +02:00
pvy
7953ba0eab
[FIX] l10n_pl is back, compliant with the new accounting
2015-08-18 17:14:15 +02:00
Géry Debongnie
c379bc6613
[FIX] web_kanban: prevent two small issues
...
when grouping selection fields, the drag and droe was broken (it looked like it
worked, but the id was not saved properly). The problem was that the column id was
not saved in the group.
Another problem was that the creation of new columns was possible when grouping
on non many2one fields
2015-08-18 16:59:13 +02:00
qdp-odoo
e8628969fd
[REM] l10n_be_coda: moved module to enterprise repository
2015-08-18 16:24:32 +02:00
qdp-odoo
8a61170224
[REM] removed unimported file which was used for already removed object 'sale receipt analysis'
2015-08-18 16:24:31 +02:00
Raphael Collet
d1927bb746
[ADD] ir_model: add fields copy and related on ir.model.fields
...
Also add a constraint on the value of field `related`, and corresponding
onchange methods.
2015-08-18 14:53:04 +02:00
Raphael Collet
78577a606d
[FIX] models: fix bug that screws up recomputations after deleting some records
2015-08-18 14:46:25 +02:00
Raphael Collet
8a5ed00949
[IMP] models: do not mark missing records twice in cache (optimization)
2015-08-18 14:45:39 +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
pvy
698fd7ba65
[FIX] l10n_no is back, compliant with the new accounting
2015-08-18 14:31:20 +02:00
pvy
0282fc1679
[FIX] l10n_th is back, compliant with the new accounting
2015-08-18 13:10:45 +02:00
qdp-odoo
9dafc7a3ac
[FIX] l10n_gr is back, compliant with the new accounting
2015-08-18 11:59:30 +02:00
qdp-odoo
3f83a2200f
[REM] l10n_fr: removed code of custom reports for bs and pl
2015-08-18 11:59:29 +02:00
qdp-odoo
5baa2d19fa
[FIX] l10n_ch is back, compliant with the new accounting
2015-08-18 11:59:29 +02:00
qdp-odoo
9c762b19eb
[FIX] l10n_cr is back, compliant with the new accounting
2015-08-18 11:59:29 +02:00
qdp-odoo
28e47a85b0
[FIX] l10n_ar: fixed exchange rate accounts
2015-08-18 11:59:29 +02:00
qdp-odoo
bbe1979429
[FIX] l10n_cl is back, compliant with the new accounting
2015-08-18 11:59:29 +02:00
Géry Debongnie
b417c1e338
[FIX] web_kanban: correctly set id when adding record
...
fixes issue 644638
when adding a new column, then creating a new record, the idea was not set properly.
2015-08-18 10:56:36 +02:00