Commit Graph
96643 Commits
Author SHA1 Message Date
Damien Bouvy ecdb8a60cb [IMP] sale_contract: recurring view refactoring, new fields and unit of measure
- add contract_type field on account.analytic.account and real_quantity on account.analytic.invoice.line
- refactor contract form and list views for better clarity (hide unnecessary fields depending on the type of contract)
- divide account_analityc_account class according to contract type for future work
- divide contract template menu in 3 menus depending on contract_type
- add on_change_uom behaviour on account recurring lines
- rewrite tests in python
- add new report (pivot & graph)
- end date of contract is now computed from the template recurring rules
- small fixes & usability improvements
2015-07-23 11:40:30 +02:00
Damien Bouvy d8f0231afc [RENAME] account_analytic_analysis -> sale_contract 2015-07-23 11:40:30 +02:00
Martin Trigaux 20dbd2675a [FIX] account,sale: helper message
search tool instead of tool search
Courtesy of Lionel Sausin
2015-07-23 11:30:42 +02:00
qsm-odoo 22bb892b80 [FIX] calendar: Notification (style and new API)
for compatibility with the enterprise edition.

Also add type=button as the type attribute should always be specified for the
<button> element (different browsers may use different default types).
2015-07-23 10:51:12 +02:00
qsm-odoo 86c399f3bd [IMP] web: New notification system
Backport of the Notification system
2015-07-23 10:51:12 +02:00
Géry Debongnie 84197b51ee [FIX] web_kanban: fix problems introduced by someone
Someone really smart decided to change web_kanban by moving something
from web to web_kanban.  This makes sense, but it is a problem because
the code in web is not shared between enterprise and community, but
web_kanban is shared.

Also, it was put in kanban_view.  If we have a module system in
javascript, is might be a good idea to use it.

So, this commit moves the code in a new file, and update the code to
the last version from enterprise. Yay for two codebase in parallel.
2015-07-23 10:07:18 +02:00
Aaron Bohy a500f3b01b [IMP] web(_kanban): accesskeys for switch buttons
More elegant solution to add accesskeys on switch buttons for list, kanban and
form views.
2015-07-23 09:25:18 +02:00
Géry Debongnie d5a8ad53e6 [REM] web_kanban: remove sass and css files
web_kanban use less, but the old sass and css files were still there.
As a result, some people still try to change them, but it is useless.
2015-07-23 09:00:23 +02:00
Christophe Simonis 3ea8d14d2b [FIX] account,analytic: move test from account to analytic 2015-07-22 19:11:44 +02:00
Christophe Simonis e182f19694 [FIX] *: various bug were introduced during last forward-port 2015-07-22 18:33:04 +02:00
qdp-odoo 11d153ca9a [FIX] l10n_si is back, compliant with the new accounting 2015-07-22 16:43:12 +02:00
Christophe Simonis 67366dfb5e [MERGE] merge upstream branch.
Forward ports generates a lot of conflicts to resolve. Rebasing
(even with rerere) will force me to re-resolve most of the conflicts.
2015-07-22 16:29:42 +02:00
qdp-odoo 8ac40acb0d [IMP] account*: various usability improvements 2015-07-22 16:19:02 +02:00
Christophe Simonis 2cf91d16a5 [MERGE] forward port of branch saas-6 up to 63e92cb 2015-07-22 16:17:54 +02:00
Christophe Matthieu 2989d84397 [FIX] website_sale: 'website_sale_options.website_sale' module name is use twice 2015-07-22 16:16:04 +02:00
Christophe Simonis 63e92cbc96 [MERGE] forward port of branch 8.0 up to 9abf868 2015-07-22 14:09:00 +02:00
Martin Trigaux 9abf868948 [FIX] google_calendar: missing part of caac19c1
Modify all references of google_attendee['email']
2015-07-22 12:22:35 +01:00
Nicolas Lempereur c0e24fc9ce [FIX] event_sale, website_event_sale: treat edge case of 0 seats_max
When the max seats available is set to 0, there should not be a limit to
the seats available.

Previously this was not taken into account in the frontend event ticket
sale, so an event would appear to be sold out.

fixes #6999
opw-645542
2015-07-22 12:32:15 +02:00
Christophe Matthieu d74e0c3e9d [FIX] web: database_manager.html include cleditor
The cleaditor.js library no longer exists.
2015-07-22 12:15:25 +02:00
Christophe Matthieu b6ddfe617f [FIX] base, web : move apps.js from base to web
'base.apps' JavaScript module 'require' the web widgets. This module is only useful if web is installed.
2015-07-22 12:15:25 +02:00
Jérome Maes 99ac98a064 [FIX] im_odoo_support : remove incompatible code, and fix namespace
The removed code stood for optional dependencies to im_chat module (integrate 'odoo support' in chat contact list). Since the new javascript system (require and define) doesn't allow optional dependency, this code will always crash if im_chat was not installed, causing warning in the js console.

The 'im_livechat.im_livechat' js dependency is a wrong conversion of the code to the new js system. im_livechat is not a dependency, but is loaded from OpenERP service server. Since this one runs under odoo-saas6 version, im_odoo_support will load js code fomr this version, and so require to use 'openerp' js object instead of the 'require' dependency.
2015-07-22 12:15:25 +02:00
Christophe Matthieu 242e5231f0 [FIX] web, mail: move 'mail.compatibility' in mail
'mail.compatibility' javascript module require 'mail.mail'
2015-07-22 12:15:25 +02:00
Christophe Matthieu fe0885f28a [FIX] web: move 'web_kanban.Many2ManyKanbanView' in web_kanban
'web_kanban.Many2ManyKanbanView' javascript module in web require 'web_kanban.KanbanView'
2015-07-22 12:15:25 +02:00
Christophe Matthieu 264bb780a1 [IMP] web: web modules return readable logs and phantomjs logs
boot.js log:

* ``Missing dependencies``:
  These modules do not appear in the page. It is possible that the JavaScript
  file is not in the page or that the module name is wrong
* ``Failed modules``:
  A javascript error is detected
* ``Rejected modules``:
  The module returns a rejected deferred. It (and its dependent modules) is not
  loaded.
* ``Rejected linked modules``:
  Modules who depend on a rejected module
* ``Non loaded modules``:
  Modules who depend on a missing or a failed module
2015-07-22 12:15:25 +02:00
Christophe Matthieu 71732dceb6 [IMP] web: module can be asynchronous loaded if it return a deferred
Each module can return a deferred. In that case, the module is marked as loaded
only when the deferred is resolved, and its value is equal to the resolved value.
The module can be rejected (unloaded). This will be logged in the console as info.

Remove if_dom_contains from the website, the modules return a rejected deferred if
the DOM doesn't contains the seleted values.
2015-07-22 12:15:24 +02:00
Martin Trigaux caac19c102 [FIX] google_calendar: attendee's email is not required
You may get a google_attendee without email from Google, cf #3853
2015-07-22 10:37:50 +01:00
Martin Trigaux 4ac9bfb619 [I18N] website: missing terms
The content of website.layout_footer_copyright is modified in several modules
but the terms were missing in .pot file.
2015-07-22 09:40:32 +01:00
Aaron Bohy dfad968515 [FIX] board: forgotten o-closed-menu
in the renaming of commit 27df65c878.
2015-07-22 10:31:21 +02:00
Martin Trigaux 0fb1b6a856 [FIX] point_of_sale: method expects id
The method add_payment expects to recieve the id of a journal, not a browse
record. Introduced at 4b548d9
Courtesy of bluesoft83
2015-07-22 08:54:21 +02:00
Goffin Simon aa3ce8b594 [FIX] crm: Company name in crm lead
The onchange on partner field must not fill the company name if
the partner is not a company or not in a company. If the partner
is not a company, the contact name field must be filled with the
partner name.

opw:644878
2015-07-20 16:30:41 +02:00
bpa-odoo 3eed48ffcf [IMP] stock: change reordering rule stat button text
Now depends on the number of reordering rules. If the
number == 1, the min and max qty for this rule are
displayed instead of the "Reordering Rules" string.
2015-07-20 15:47:26 +02:00
Goffin Simon e0ceab9efd [FIX] calendar: group_by with calendar
Delete the code introduced by 656f8241d5
Group by didn't work in calendar tree view, group of records showed (0)
as number of related records for each group.

closes #7602
opw:644735
2015-07-20 15:41:47 +02:00
David Monjoie df9725df26 [IMP] web_editor,website: added scalable margins in less
The original commit by fka used to define less variables like this:
@px-4: 4px
@px-8: 8px

The goal was to be able to change the margin values in
media queries for smaller screens.
However, as the less is only compiled once in css, those
variables didn't really help as you couldn't redefine them
from inside a media query and have the less magically
reassign the margins on the fly.

I created less helper functions to be able to easily redefine
the margins for smaller screens from inside media queries.

The task also required to replace the nbsp in the html by the
newly created mr and ml classes.

This is also the first phase of the sass -> less transition.
2015-07-20 15:00:24 +02:00
qdp-odoo 61ecac539e [FIX] account: improved message that appears on bills when a supplier has some outstanding debits 2015-07-20 11:40:06 +02:00
qdp-odoo f92b1d424b [IMP] account_asset: various improvement.
History management now use the chatter (removal of dedicated history object)
 Assets are now linked to created account.move instead of account.move.line (which was meaningless since we have the invoice reference and besides didn't show the whole entries).
 Added a feature to close or dispose of an asset
 Chatter messages have been improved.
 Fixed some demo data.
 Removed 'note' field of 'change duration' wizard because it was redundant with the name field.
2015-07-20 11:40:06 +02:00
qdp-odoo 330b1275c5 [REF] mail: refactored message_track for better inheritance possibilities + display body and tracked fields in the chatter if a message has both 2015-07-20 11:40:06 +02:00
qdp-odoo 56be53aa6c [FIX] l10n_generic_coa: some account types were wrongly chosen 2015-07-20 11:40:06 +02:00
bpa-odoo 90ba0d1cb4 [IMP] hr, hr_recruitment: usability improvement
- hr: improve form view with 2 columns and remove requirements.
- hr_recruitment: remove case_default and legend_priority fields, improve dashboard, move recruitment.stage data in demo and improve form and kanban view of hr.applicant.
2015-07-20 11:23:35 +02:00
Pankaj Joshi 2843e618ca [ADD] project: added new field date_assign
The new field will be the real date of assignation.
Don't use start_date for this purpose anymore.
Arranged fields in group to prevent view glitch
mentioned in task 19579.
2015-07-20 10:57:34 +02:00
Odoo Translation Bot 0871f423a3 [I18N] Update translation terms from Transifex 2015-07-19 02:01:00 +02:00
Fabien Pinckaers 449b50face [FIX] invoice without tax does not crash. [IMP] Allow paying more than invoice amount 2015-07-17 14:25:42 -07:00
Jeremy Kersten fea605a98c [FIX] website: fix editor 2015-07-17 17:24:38 +02:00
Yannick Tivisse a4417a960b [FIX] web: Secondary left menu items with action are displayed in blue instead of the others, which are displayed in purple. 2015-07-17 17:12:27 +02:00
Josse Colpaert 4679e2dcb1 [IMP] stock: Act windows from dashboard should have a name corresponding to the picking type and current inventory should be by location first 2015-07-17 16:56:09 +02:00
Jos De Graeve 38281c2c9c [CLA] Update CLA from apertoso
add new team member Jean-Paul
fix email adres Maarten
2015-07-17 16:45:00 +02:00
Valentin Chemiere 3033790ef1 [FIX] sale: use updated context instead of new one
Keep the existing information in the context for the price_get call instead of
creating a new one.
Closes #7646
2015-07-17 16:40:35 +02:00
Yannick Tivisse 3befe66f43 [IMP] product : Improve variant usability
- Add an option in the General Settings : Use product variant.
- If this option is disabled : don't show any reference to variants
- When going on the product template view, and clinking on the stat button under the tab Variants,
  the form view should display only the information related to the variant
- Fields moves from product_template to product_product :  weight, volume, cost price,
- DO NOT display these fields on the product_template if there are more than 1 variants.
- In product variant view, set some fields readonly and add a link to edit it from Template.
2015-07-17 16:22:27 +02:00
Yannick Tivisse e9ad290221 [IMP] stock : small test improvement 2015-07-17 15:32:31 +02:00
Yannick Tivisse e4fd912e22 [IMP] The group_costing_method is mandatory for the landed costs to be usable
- Set purchase module as a dependency of stock_landed_costs module
- Add a warning on the group_costing_method option to prevent the user
  to disable it if the stock_landed_costs module is installed
2015-07-17 15:22:04 +02:00
E.R. Spada II 707db0399e [FIX] product_extended: BOM Correct total cost
When calculating the cost, quantity did not take the product efficiency into
account when calculating the cost. The quantities on the MO order were correct,
but not the cost that needs to be increased to compensent efficiency.

Closes #5927
Closes #7648
2015-07-17 15:13:11 +02:00