Commit Graph
102197 Commits
Author SHA1 Message Date
Yannick Tivisse 1791d3121b [IMP] Rename 'Local Modules' into 'Modules', and root menuitem 'Modules' into 'Apps' 2015-08-21 10:41:03 +02:00
Yannick Tivisse 18c4f224b6 [IMP] Add a project in data with tasks to discover Odoo Project
Move tag_ids in the task form
2015-08-21 10:41:02 +02:00
Yannick Tivisse cddc6af130 [IMP] crm,hr_equipment,hr_recruitment,project,sale_crm,base,l10n_gr: Small UX improvements
crm:
- Move crm.lead.tag data to demo
- Rename Folded in Kanban view to Folded in Pipeline
hr_equipment:
- Rename Folded in Kanban View to Folded in Recruitment Pipe
hr_recruitment:
- Rename Folded in Kanban View to Folded in Recruitment Pipe
l10n_gr:
- Jump back to accounting dashboard after install
Project:
- Rename Folded in Kanban View to Folded in Tasks Pipeline
Sale_crm:
- Create a quote from an opportunity sets the right sales team automatically
Base:
- Move the tags
2015-08-21 10:41:02 +02:00
Yannick Tivisse 45911338c1 [IMP] website_version : not an app 2015-08-21 10:41:02 +02:00
Yannick Tivisse 585bac0aca [IMP] l10n_* : jump to accounting dashboard after chart of account installation 2015-08-21 10:41:02 +02:00
Yannick Tivisse bfdb20b45d [IMP] base : Add a button to trigger the related method of a cron 2015-08-21 10:25:29 +02:00
Yannick Tivisse 72796355a5 [IMP] mrp: Added access rights. A mrp manager can create a work center. 2015-08-21 10:04:57 +02:00
Goffin Simon d98f1ef0e7 [FIX] account_bank_statement: reconciliation line
The propositions of reconciliation for a bank statement line must
be taken from account move lines with the same partner_id of this
bank statement line or without partner_id.

opw:647199
2015-08-21 09:26:18 +02:00
Yannick Tivisse 6e93fe0de1 [IMP] mrp_repair : becomes an app, remove dependancy to mrp,
add dependancy to stock.
2015-08-21 09:23:20 +02:00
Yannick Tivisse c28bc7e9bb [IMP] hr_equipment: add a button cancel on the form to archive the maintenance request
Add also a button Reset Request to set it active true + on the first stage
2015-08-20 16:29:26 +02:00
Yannick Tivisse 93261e07de [IMP] hr_recruitment: Add a button to refuse an applicant and archive him
Add a button to reset the application in the first stage
2015-08-20 16:22:28 +02:00
Yannick Tivisse 0decfd94d1 [IMP] __openerp.py__ files : remove all occurence of authors and website
where it was 'Odoo SA', 'OpenERP SA', 'OpenERP s.a.', 'OpenERP SA', 'OpenERP'
      or 'http(s)://openerp.com' or 'http(s)://www.odoo.com'
2015-08-20 16:15:59 +02:00
Goffin Simon f7110b46be [FIX] website_sale: alternative products
Improvement of the commit bc146a0a26
The image of an alternative product must be centered and the name
of the product must be cut if it's too long for the block
to keep the symetry for each block.

opw:647612
2015-08-20 16:07:34 +02:00
Yannick Tivisse e4be39cdde [IMP] openerp: Add authors 'Odoo SA' and website 'http://www.odoo.com'
in 'load_information_from_description_file' method
2015-08-20 16:03:42 +02:00
Yannick Tivisse c4528d6fd9 [IMP] sale,crm: few usability improvements
- Add a 'Quotations' button on the sales team kanban dashboard
- Add default stages for crm.lead objects
- Add a pivot view for the opportunities
- Modify a menutip
- Add a few tips
2015-08-20 16:01:05 +02:00
qsm-odoo 916187e0fb [FIX] web_kanban + others: kanban record two columns layout
* Remove use of flex for kanban record layout (text overflow ellipsis
could not work in row wrap flex layout as flex would prefer to wrap its
elements than add an ellipsis inside its content)
* Fix xml templates (double use of o_kanban_image + non-existing class)
2015-08-20 15:26:03 +02:00
qsm-odoo b5621fb21b [FIX] web_kanban, hr, fleet: missing btn-sm
* Kanban quickcreate widgets
* Buttons in kanban records
2015-08-20 15:26:03 +02:00
ssh-odoo c52b0e3b2c [fix] l10n_et is back, compliant with the new accounting 2015-08-20 14:53:42 +02:00
Xavier Morel d4b25b2780 [FIX] remove group_user read access to ir.cron
Should not be necessary for the correct working of odoo (normal cron
lookup & processing is performed using raw SQL anyway).

* fixed a few ref calls just in case
* also cleaned up a few unused imports
2015-08-20 12:55:00 +02:00
Christophe Simonis 7349e23837 [FIX] models: correct ORDER BY onm many2one fields
Now the we follow many2one when generating ORDER BY, we need to keep
track of visited relations to avoid loops.

Closes #8114
2015-08-20 11:44:04 +02:00
Martin Trigaux 2bd57e0c45 [FIX] account: buggy attrs
Setting an editable field as invisible when it's empty is not a very good idea
as it will disapear if you try to modify it's value.
Fully remove the attrs until something making more sense comes up.
2015-08-20 11:38:22 +02:00
Goffin Simon f7f18ba5b1 [FIX] purchase: description of a product
When a move is creating from a purchase order line and the destination
of the order("location_id") is "customer", the description of the created
move must be the name of the product. To avoid that the supplier description
of the product appears on the customer invoice because in "drop shipping",
the customer invoice line is created with this created move by the function
"_get_invoice_line_vals".

opw:647628
2015-08-20 11:24:53 +02:00
Xavier Morel 1464f79b90 [FIX] ir_fields_converter: make abstract
This is only a model in case third parties need to override stuff, it
has no field and no reason to be a "concrete" model.

Also
* remove corresponding access rule giving CRUD to every user
* remove unnecessary import
* replace set() call by set literal
* replace dict(generator_expr) by dict comprehensions
2015-08-20 11:24:00 +02:00
Xavier Morel d2e23d0bfe [REM] ir_default model
Legacy model, doesn't seem to be used anywhere or have any point at all
yet was accessible CRUD to all...
2015-08-20 11:19:18 +02:00
Thibault Delavallée 4592be3bfa [RENAME] event: type -> event_type_id
At last I will be able to remember that the type of an event is not
a string, but a m2o to event.type model.
2015-08-20 11:09:43 +02:00
Nicolas Lempereur 0ea89c10b6 [FIX] web: keep hash when login redirect
The anchor part of the url should be kept when a login redirect is done.

introduced by 8f3f9ef46b

note: for 8.0 and saas-6
2015-08-20 11:09:23 +02:00
Aaron Bohy 362dcdd99a [FIX] web: search_menu: add missing 'use strict' statement 2015-08-20 10:26:31 +02:00
sus-odoo 54f52ab503 [FIX] l10n_pe is back, compliant with the new accounting 2015-08-20 10:02:36 +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
Goffin Simon bc146a0a26 [FIX] website_sale: to display alternative products
The image of an alternative product must be centered and the name
of the product must be cut with "..." if it's too long for the block
to keep the symetry for each block.

opw:647612
2015-08-20 09:41:01 +02:00
Denis Ledoux cfbd086b09 [FIX] account: invoice lines to journal entries currency rounding
When converting an invoice in journal entries,
the invoice lines amounts must be currency rounded
not only when the invoice currency is different
than the company invoice,
but also when they are the same.

Otherwise, a rounding issue can happen
if the `Account` decimal accuracy is greater
than the currency rounding, the journal entries
total and the invoice total could be different.

e.g.
 - Set decimal accuracy of Account and product to 4
 - Create a supplier invoice, any supplier
 - Add a line as follow:
   - Product: None
   - Quantity: 2057
   - Price unit: 11.9150
   - Tax: 16% (create a new tax with 0.16 as percentage)
 - Validate the invoice
 - In the other information tab of the invoice,
   click on the journal entry
 - Notice that the first line has as credit amount 28430.6150
   While the invoice total is 28430.6200
 - Now if you try to create a bank statement with one line
   of -28430.6200 and as partner the supplier you chose
   in the second step of this explanation, and try
   to reconciliate it to the invoice created above,
   the above won't be marked as paid, while it should.

opw-647639
Fixes #8135
2015-08-19 18:21:00 +02:00
Denis Ledoux aa2bf77744 [FIX] account_analytic_analysis: missing logging import & instanciation
opw-647552
2015-08-19 17:43:17 +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
Denis Ledoux 37a2f426a9 [FIX] hr_timesheet_invoice: invoice timesheet of contract with no customer
If there is no partner on the contract to which are invoiced
the timesheets, the error telling you to set a partner (and a pricelist)
must be raised before trying to create the invoice, not before
creating the lines of the invoice.

In this case, this is because if you set no customer
on the contract, there is no pricelist automatically filled
as well, and the currency is took from the pricelist,
which will be False in the case there is no pricelist
on the contract, and you cannot create an invoice
with no currency set.

opw-647672
2015-08-19 14:29:09 +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