Commit Graph
107597 Commits
Author SHA1 Message Date
Moisés López 9fc5a5ebfe [FIX] l10n_mx: Use valid label on invoices for taxes description 2017-02-01 09:40:29 +01:00
Jeremy Kersten 91f3a6f918 [MERGE] website_*: quick fixes for website_* module
Fix and imp based on the review of saas14 pad
Courtesy of @mge-odoo for the testing and reporting.
2017-02-01 09:17:20 +01:00
Jeremy Kersten 3bb2318baf [FIX] website_payment: use msg from payment acquirer in portal 2017-02-01 09:05:46 +01:00
Jeremy Kersten ea7d98ca24 [IMP] website_portal_sale: try to make /my/order/ route more responsive 2017-02-01 09:05:46 +01:00
Jeremy Kersten 69e0cb0a11 [FIX] website_sale: no footer during checkout for address edition
+ fix margin to be coherent with others pages
2017-02-01 09:05:46 +01:00
Jeremy Kersten e71b97e4d9 [FIX] website_portal: word wrap table by default
Split row content for small screen by default
2017-02-01 09:05:46 +01:00
Jeremy Kersten 4334715294 [fix] website_crm_partner_assign: avoid duplicate creation of opp in portal.
Disable confirm button during creation to avoid double click, triple click,
quadruple click, quintuple click and even undecuple click ... n-tuple click
2017-02-01 09:05:45 +01:00
Jeremy Kersten 85f7d4b5f2 [FIX] website_crm_partner_assign: fix date_deadline and active_date_deadline mixing
Now we only update/create activity if a date has been setted.
Now we save the deadline that user encode
2017-02-01 09:05:45 +01:00
Jeremy Kersten 8de2ada344 [FIX] website_crm_partner_assign: fix filter domain
Before this commit, lost was always empty because we didn't look for unactive record.
All is replaced by Active (All without lost)
...
2017-02-01 09:05:45 +01:00
Jeremy Kersten ce584f756a [FIX] website_crm_Partner_assign: avoid open lead in opp form and vice-versa 2017-02-01 09:05:45 +01:00
Jeremy Kersten 3d0cc2d6d2 [FIX] website_portal: allow non employee user to log in to the portal
Commit #3649b7f359b640635cbe0bc4f161884ba64c2318 remove sudo when loading the menu.

Add test to check that homepage portal can be loaded with user portal.
That's the first test using portal user, it don't really test the portal features,
but just that the loading of portal homeapge works...
2017-02-01 09:05:44 +01:00
Jeremy Kersten 371bcc6993 [FIX] website_crm_partner_assign: fix layout when no opps 2017-02-01 09:05:44 +01:00
Jeremy Kersten 34fc4a2749 [FIX] website_sale: avoid scroll to top when add to cart
This commit avoid that when you click on the add to cart a-submit link,
you scroll to the top because there are an empty anchor #.

Now we preventdefault th event, and so don't looking for the empty anchor,
and submit form immediately.

Courtesy of @mge-odoo for the reporting.
2017-02-01 09:05:44 +01:00
Jeremy Kersten 0e766c2405 [IMP] website_portal_sale: replace typo Quotes by Quotations
Uniformize the homepage portal where no records.
2017-02-01 09:05:30 +01:00
Yannick Tivisse 57e2936fcc [IMP] website_sale: add id on cart line qty html block
Used to be selected in website_sale coupon in order to hide the qty selector on the ecommerce
2017-01-31 13:16:20 +01:00
Yannick Tivisse 4c58f96c5d [FIX] website_sale: Call SO lines write and unlink as ORM commands
That way, the coupon reward line validations methods are still called on the ecommerce
2017-01-31 13:16:20 +01:00
Yannick Tivisse 3aafb6f8e3 [IMP] base: Admin and Public partners are customers
In order to be able to use the coupon mechanism with them. That's because a coupon can only be used for customers
2017-01-31 13:16:20 +01:00
Yannick Tivisse adb484a1b5 [IMP] web: add a 'close' terminology on FieldBooleanButton widget
This will be used on a sale_coupon_program
2017-01-31 13:16:20 +01:00
Martin Trigaux 7b1d3dc030 [FIX] crm: no self-closing span
This is invalid HTML and is not accepted.
Self-closing is tolerated (not required) on some elements but span is not one
of them.
https://www.w3.org/TR/html5/syntax.html#start-tags

This produced error on the Transifex parser, not counting self-closing span as
a closed tag.
cf https://www.transifex.com/odoo/odoo-10/translate/#fi/project/96753026

Done in master to avoid breaking source translations.
2017-01-30 08:57:20 +01:00
Yannick Tivisse 3f9a5fbd2e [FIX] website_sale: Active the correct variant group 2017-01-27 13:55:11 +01:00
Jérome Maes 3f7d90db65 [FIX] account: make invoice report reprint from attachment again
A few month ago, based on unclear specs, something was merged.
Today, we come back, since it does not do what we want. We do
not take into account the fact that between 2 printings, the user
has changed its report layout or its data company.

Initial commit : dccfdb0ddb
2017-01-27 10:24:07 +01:00
Yannick Tivisse 5a7908fbce [FIX] report: Display an arrow on the 'Change Report Template' link 2017-01-26 13:09:01 +01:00
Yannick Tivisse f811b88a63 [FIX] sale: Add a placeholder for terms and conditions 2017-01-26 13:08:57 +01:00
Yannick Tivisse 795b1887e5 [FIX] sale: Remove 'Apply Automatic Rates Update' link
Such settings should be direclty checked in accounting.
2017-01-26 13:08:53 +01:00
Yannick Tivisse b712701d18 [FIX] crm: Resolve wording issue
Purpose:
emails: button setup your domain alias has an odd bahavior: redirecting to base.config.settings. Like in "generally speaking", I feel like some kind of highlighting the field to set up would be nice, or reproduce the setting item in CRM, or open a wizard
2017-01-26 13:08:49 +01:00
Yannick Tivisse b10f96007f [FIX] website_twitter: Fix broken links to twitter app configuration 2017-01-26 13:08:45 +01:00
Yannick Tivisse e39926004e [FIX] account: Open Docsaway documentation in a new tab 2017-01-26 13:08:31 +01:00
Denis Vermylen 9ddd5e0cf1 [FIX] sales_team: correct sale dashboard display
On kanban records in the sales dashboard:
the display got modified and links on the right side were taking 2 lines
instead of 1, Going to a new line after the number.

display: "block" needed to be "inline-block" -> added to sales_team less file.
2017-01-26 11:48:50 +01:00
Yannick Tivisse b7f955baa2 [FIX] l10n_eu_service: Add the possibility to reconfigure the EU MOSS Taxes 2017-01-26 10:15:41 +01:00
Yannick Tivisse 96e6e31c19 [FIX] account: Reorganise entry locking dates into a box in account settings 2017-01-26 10:15:41 +01:00
Christophe Simonis 7b2924253b [MERGE] forward port branch 10.0 up to 7427825790 2017-01-25 16:27:38 +01:00
Nicolas Lempereur 7427825790 [FIX] mail: don't linkify removed mention
If after inserting a mention (eg: `@Guy`) and we eg. backspace and
change it (eg: to `@GuyFawkes`) the `@Guy` mention will still be
linkified but the partner is not subscribed.

This happened because the linkifying was not requiring a space to follow
the mention, but when getting the used mentions (and commands, ...) in
the message they were required (unless the mention was exactly at the
end of the message).

With this commit, a space is always required after a mention for it to
be working.

opw-705267
2017-01-25 15:47:30 +01:00
Christophe Simonis 6a7db30508 [MERGE] forward port branch saas-11 up to f23394b83a 2017-01-25 15:01:29 +01:00
Yannick Tivisse 62b1af0b08 [FIX] account: Bring back the 'Lock date' options
It was accidently removed with the new settings
2017-01-25 14:01:23 +01:00
Pierre Masereel f23394b83a [FIX] stock: stock_inventory_line onchange product
If you make an inventory adjustement in mode 'select products manually'
and you add a new line with a product having a different unit of mesure
than the default one, but in the same unit of mesure category than the
default one, the unit of mesure on the line doesn't change because both
are in the same category.

This bug is caused by an 'onchange' which is triggered when the
'product_id' or 'product_uom_id' has been changed. And so we cannot
force to change the value to the product one, because we should still be
able to make an inventory in 'kg', if the unit of mesure is in 'g'.

So to fix this bug, we have set the 'onchange' only on the product_id to
set the unit of mesure set on the product when we create a new line or
change the product of a line. We removed the onchange ont the unit of
mesure, because it was only checking that the unit of mesure is in the
category of the product unit of mesure category, but it's always true
has there is a domain set on the field unit on mesure by the onchange
on product_id
2017-01-25 13:45:29 +01:00
Christophe Simonis 74c6e895f6 [MERGE] forward port branch 9.0 up to 3e31dc0ba4 2017-01-25 13:14:38 +01:00
Christophe Simonis 3e31dc0ba4 [MERGE] forward port branch saas-6 up to 09f7916f48 2017-01-25 13:04:50 +01:00
Christophe Simonis 09f7916f48 [MERGE] forward port branch 8.0 up to 9d535ee2c7 2017-01-25 12:56:42 +01:00
Josse Colpaert 1bf2173240 [IMP] mrp: ensure_one in cal_price
We want to ensure not to mix the price calculation
of multiple MOs when posting inventory.
2017-01-25 12:11:55 +01:00
Luis Torres e54fd92282 [IMP] l10n_mx: Removed note description in data to fiscal position
This value is not required in Fiscal Regime, and if is present, this is
printed in the invoice report when is used like fiscal position on
invoice.
2017-01-25 09:59:06 +01:00
Nicolas Martinelli 6cfd85bae2 [FIX] sale_timesheet: lost breadcrumb
On a SO, click on the stat button "Project". It opens the form view of
the corresponding project, but the breadcrumb is lost.

opw-705193
2017-01-25 08:28:02 +01:00
Aristides Caldeira b7294754cc [CLA] signature for aricaldeira
Done at #15210
2017-01-25 08:25:29 +01:00
Dileepa Ameresekere 296f9cbe3a [FIX] doc: correct typo fix
Closes #15037
2017-01-24 18:20:12 +01:00
Cédric Pigeon (ACSONE) b307514eca [IMP] account: allow override
Extract the move creation into a different method to allow override.
In case the date or journal needs to be modified.

Closes #15179
2017-01-24 18:15:46 +01:00
andreparames 1d089833b4 [FIX] init: enable evented based on socket
Don't enable evented mode unless gevent is enabled.
Previous code was activating evented mode as soon as gevent is imported which
may happen in different scenario but is not enough to assume the GeventServer
is actually running.

Closes #13463
2017-01-24 18:07:38 +01:00
Jairo Llopis 9d535ee2c7 [FIX] mail: check all parameters are set
Since `model` is not a required field, the invalidation may crash when one is
missing.
It should never happen than a mail.message has a res_id but not a model as it
makes no business sence.
However it is possible than a message temporarly misses one of the two, e.g:

```
self.model = False
self.res_id = False
```
will trigger two writes and will crash at the first.

Above code should probably be refactored to have only one write but this commit
fixes a regression introduced at 8f1c2bfc (the above code did not crash).

Closes #15199
2017-01-24 16:56:33 +01:00
Christophe Simonis d87ab049e2 [FIX] mail: require res_model_id on followers
The flag has been forgotten with 94d2b97da4
2017-01-24 16:55:51 +01:00
sergio 28ec23e828 [FIX] account: fallback on missing template
template contains the mail template to render and is the result of the call to
`self.env.ref('account.email_template_edi_invoice', False)`

If the template does not exists (deleted), template is `None` and the action
rendering crashes.
While it is not recommended to delete master data, it is still possible to use
custom mail templates.

Closes #15204
2017-01-24 16:50:55 +01:00
sergio 333f012e25 [CLA] signature for sergiocorato
Done at #15204
2017-01-24 16:50:39 +01:00
Hoang, Diep Huu b4c3ac8d48 [CLA] signature for anothingguy
Backport of 2cf3381b to 9.0 as expressed in #13971
2017-01-24 16:15:36 +01:00