Commit Graph
98251 Commits
Author SHA1 Message Date
pvy-odoo 642fea43da [FIX] l10n_be_intrastat is back, compliant with the new accounting 2015-09-18 17:19:50 +02:00
Cedric Snauwaert 61c0e82bdc [FIX] account: add oldname on account_invoice uom field for the migration 2015-09-18 17:07:37 +02:00
qsm-odoo 0f95a92e15 [FIX] web_tip,web_kanban: tip color and position
The hightlight element when a tip is clicked was placed over a white
rectangle. This induced a problem if the element was itself white.

Also the dimension of the helper were badly computed.

+ remove specific tip style in kanban view
2015-09-18 16:45:21 +02:00
qdp-odoo 5955b2ef2a [FIX] payroll-related modules are back as installable = True (disabled because of former conflicts with the new accounting that are now solved in this commit) 2015-09-18 16:41:32 +02:00
Raphael Collet 7ba9886abb [FIX] crm, event, project_issue: move "Archived" search filter below in the list 2015-09-18 15:35:51 +02:00
Raphael Collet 50de8350f3 [FIX] base: save the user's group view without lang in context
Updating the field `arch` on `ir.ui.view` breaks when there is a language in
the context, since this is forbidden by the new translation scheme.
2015-09-18 15:35:51 +02:00
Jérome Maes d80396b822 [FIX] website_portal_sale : date_confirm doesn't exists since salepocalypse, so display order_date instead 2015-09-18 15:31:02 +02:00
Jérome Maes f6ec21b450 [FIX] website_mail : css author avatar class, make the same in js and qweb template 2015-09-18 15:30:52 +02:00
odoo-tac 226f7eabf0 [FIX] hr_timesheet, project_issue_sheet : Removed method and view elements that called methods or fields that have been removed during salepocalypse or deprecated fields. 2015-09-18 15:07:05 +02:00
qdp-odoo 46fc8bf34c [FIX] sale: display the short label of taxes (if it exist) instead of full name on quotations and sales order printing 2015-09-18 14:34:26 +02:00
Torvald B. Bringsvor f0dd02fcbd Updated l10n_no with correct VAT rates and 4 digits accounts. 2015-09-18 13:36:56 +02:00
Torvald B. Bringsvor 01e415668a Added the menuitem for the reporting module. 2015-09-18 13:36:43 +02:00
Nicolas Lempereur a473e425b2 [FIX] website: tour rte_translator wait for page load
Next steps executed before the next page loading could cause a test
false positive.
2015-09-18 13:29:48 +02:00
Martin Trigaux 3439a2a57c [I18N] base: export base terms
oups, forgot to reexport this one
2015-09-18 11:53:57 +02:00
Jérome Maes ba0d2060f8 [FIX] mail : suggested partner check on chatter composer.
Embedded the template core in a 'root widget tag' to make the selector 'this.$('.o_mail_chatter_compose_message_suggested_partners input:checked')'  works.
2015-09-18 11:50:40 +02:00
Jérome Maes 83f15283bf [FIX] mail : fix needaction generation
When creating a document a message is posted (ex: 'document created') and the track field users are auto added as follower and notified with the last posted message (like the just create message). So the author was notify of the creation of its own document.

The problem did not appears using form view, beacause when the mail.message were reloaded, the thread was mark as read, so the partner (author/creator) was directly removed from the needaction_partner_ids field. The issue happen when loading the demo data, generating many needaction for the admin user (creator of most of the document).

This bugfix remove the current partner from the new follower to subscribe and to notify with the last posted message, as done when a message is posted (in _notify method of mail.message).
2015-09-18 11:50:29 +02:00
qdp-odoo 6863826d0d [IMP] account: auto install account_sepa module if the company's country is in Europe 2015-09-18 11:16:52 +02:00
Nicolas Martinelli 36caad2160 [FIX] sale: multiple fixes
1) Check unit price before linking SO line

We need to make sure that the unit price on the SO line is the same than
the unit price that will be applied for the new analytic line.

It is the case for an expense product which is invoiced at cost price to
the customer, for example a flight ticket. The user should be able to
link 2 flight tickets with different prices on the same SO, which is not
possible before this fix.

2) Convert account move line amount into currency of SO if necessary

3) Partial revert of 2d5776d248

We want to decrease the invoiced quantity if the refund is generated
from the SO, but not if the refund is generated from the invoice
directly. Indeed, if we decrease the quantity from a refund generated
from the invoice, this will make the SO line invoiceable again, which is
something we don't want.

Fortunately for us, a refund generated from an invoice is not linked to
the SO (see method _refund_cleanup_lines in account_invoice.py), so no
extra code is needed.

4) Iterate only once in the SO lines in order to find out the
invoice_status of the SO
2015-09-18 10:51:37 +02:00
Nicolas Martinelli b879963d7b [IMP] sale_expense, hr_expense: test more robust
The test does not have hardcoded values referring to demo data anymore.
Moreover, in the test, we now use values which are different from the
demo data (621.54 instead of 700). Overall, this will make the test more
robust.

hr_expense: change car travel sale price
Car Travel Expense is used as a product invoiced at sale price.
Therefore, it is more useful to have a cost price and a sale price which
are different.

The whole idea of this commit is to avoid having the same values
everywhere.
2015-09-18 10:51:37 +02:00
Martin Trigaux 387ff476dc [I18N] all: reexport translatable source terms 2015-09-18 10:40:52 +02:00
qsm-odoo 9e8e1b3de7 [REF] *: product categories templates
* = (product,purchase,stock,account,stock_account)
2015-09-17 17:32:02 +02:00
Josse Colpaert 53b96203eb [IMP] procurement_jit: auto reserve for sale can happen at creation of procurements instead of confirm.
This makes it possible to redo reservation when more is asked for in a sale order
2015-09-17 17:30:13 +02:00
Martin Trigaux 38026134b1 [IMP] mail: better field label
Needaction is definitely too technical
2015-09-17 17:26:16 +02:00
Christophe Simonis 82e282ad3f [FIX] project: add missing dependency to portal
Since 8bd6074f03, `portal_project`
functionality has been added back into `project` module.
2015-09-17 16:34:51 +02:00
Nicolas Martinelli 86400364af [IMP] product, purchase: demo data
With the new pricelist system, a price should be specified for any
supplier, otherwise the price chosen for a PO is zero.

Also add unit price for existing PO
2015-09-17 15:17:35 +02:00
Nicolas Martinelli f4b44395a0 [FIX] purchase: correct implementation of _amount_all
`@api.multi` methods should iterate over all records in self.
2015-09-17 15:08:01 +02:00
qdp-odoo f72486688d [FIX] account: fixed partner selection on payments in case of writeoff entry 2015-09-17 13:26:42 +02:00
qdp-odoo 0f7ea4411b [REM] account: removed references to old reports that do not exist anymore 2015-09-17 13:26:42 +02:00
qdp-odoo 230717f8d8 [FIX] account: fixed outstanding debit widget in case an invoice is made for a contact (invoiced partner is not the commercial partner) 2015-09-17 13:26:42 +02:00
qdp-odoo fa2812325f [FIX] account: fixed typo in create() of account.journal with effect of not creating the refund sequence 2015-09-17 13:26:42 +02:00
Christophe Simonis 2850fcf992 [FIX] sale: correct implementation of _amount_all
`@api.multi` methods should iterate over all records in self.
2015-09-17 13:02:28 +02:00
Martin Trigaux 93c433248e [IMP] base: better help message on report fields
NULL is too technical
Courtesy of Lionel Sausin
2015-09-17 12:10:19 +02:00
Raphael Collet d4a24f3663 [IMP] account: improve doc and add warning on post-install tests 2015-09-17 11:59:03 +02:00
Cedric Snauwaert 3659c0113b [FIX] purchase: fix purchase test to work with new accounting if no coa installed.
add the stock_journal property in the yml test and make python test depends from AccountingTestCase to prevent errors when launching these test without a localisation. Also raise error in code if no stock_journal is found.
2015-09-17 11:37:47 +02:00
Martin Geubelle 52bbe6c0f4 [FIX] crm: wizard style of close reason buttons 2015-09-17 11:34:22 +02:00
Ravi Gadhia 5bae0ce6f4 [FIX] web: autofocus in autocomplete popup on a m2x field
* When the autocomplete popup list appears, the focus should be on first element in list, in order to quick create a new record if no match
* Tour.js has been modified because jquery ui autocomplete needs a mouseenter event to be notified that this element will be set
2015-09-17 11:34:22 +02:00
qsm-odoo 45995b57c0 [FIX] delivery: double button_box in template
Inherited template added a button_box to a formview which already
contained one.
2015-09-17 11:25:09 +02:00
Raphael Collet 7c611a4958 [FIX] stock: fix default values of stock picking (mixing up old and new API) 2015-09-17 11:24:08 +02:00
Nicolas Martinelli b229ab0a5b [FIX] purchase, sale_*: multiple fixes
- Use Many2many computed field instead of One2many: One2many should be
  an inverse of a Many2one
- Convert deprecated @api.one to @api.multi
- Minor simplifications in computed fields
2015-09-17 10:43:10 +02:00
pvy efd8d88c41 [FIX] account: add old name to field 'user_type_id' of account_template 2015-09-17 10:03:34 +02:00
pvy 49a695ff4e [ADD] l10n_hu: menuitems for the hungarian statements 2015-09-16 15:58:43 +02:00
Josse Colpaert 9ac8d9830e [FIX] Change price history and stock valuation report to standard_price on variant
As the standard price on the product template changed towards the product variant,
we should also change the product price history to be by variant.

Also the inventory value calculated in the Stock Valuation report should be by variant.
2015-09-16 15:25:03 +02:00
Nicolas Martinelli 4449984c75 [REF] purchase: better overriding possibilities 2015-09-16 14:51:51 +02:00
Xavier Morel a1c878e40f [FIX] account: missing parameter in send_mail
d88c34d1 added an auto_commit parameter to send_email of
mail.compose.message but apparently missed updating at least one
override.

Fix that oversight.
2015-09-16 14:41:12 +02:00
Joren Van Onder 94900dda50 [IMP] point_of_sale: reimplement cash control support
Support for cash control was removed in
c04065abd8. Because the cash_control field
on account.journal was removed, we now define a cash_control preference
on pos.config. In order to set the opening and closing balances the new
AccountBankStmtCashWizard is used.
2015-09-16 14:09:41 +02:00
Martin Geubelle 5345961073 [FIX] web_kanban: instant tooltip on tags, without delay 2015-09-16 14:07:30 +02:00
Martin Geubelle 80299af6d5 [IMP] web_kanban: if no tag, the corresponding section should be hidden 2015-09-16 13:42:38 +02:00
Joren Van Onder 8b17079530 [FIX] account: select last bank statement based on date_done, not date
date is a Date field, whereas date_done is a Datetime field. When using
date, the code failed to successfully select the last bank statement if
there were multiple bank statements being opened on the same day.
2015-09-16 13:01:52 +02:00
Joren Van Onder 88d851af58 [FIX] account: correctly set the opening amount of a bank statement
_default_opening_balance is used as a default for the balance_start
field. A default function should return the default value, not attempt
to set it on self, which is what was being done when
_set_opening_balance gets called.
2015-09-16 13:01:52 +02:00
Joren Van Onder f5ad251686 [FIX] account: _compute_values_for_statement_line is not a valid compute
This allows people to use point of sale > sessions > put money in again.
2015-09-16 13:01:52 +02:00