[MERGE] forward port branch saas-14 up to ef670016e6
This commit is contained in:
@@ -181,4 +181,6 @@ class AccountInvoice(models.Model):
|
||||
default['reference_type'] = reference_type
|
||||
if reference_type == 'bba':
|
||||
default['reference'] = self.generate_bbacomm(self.type, reference_type, self.partner_id.id, '')['value']['reference']
|
||||
elif self.reference_type == 'bba':
|
||||
default['reference_type'] = 'none'
|
||||
return super(AccountInvoice, self).copy(default)
|
||||
|
||||
@@ -862,7 +862,7 @@
|
||||
</t>
|
||||
<t t-name="FieldMany2One">
|
||||
<t t-if="widget.get('effective_readonly')">
|
||||
<a t-if="!widget.options.no_open" class="o_form_uri" href="#"/>
|
||||
<a t-if="!widget.options.no_open" t-att-tabindex="widget.node.attrs.tabindex" class="o_form_uri" href="#"/>
|
||||
<span t-if="widget.options.no_open"/>
|
||||
</t>
|
||||
<div t-if="!widget.get('effective_readonly')" t-att-class="'o_form_field_many2one' + ((widget.options.no_open)? '' : ' o_with_button')">
|
||||
|
||||
@@ -408,7 +408,7 @@
|
||||
<div class="col-sm-7">
|
||||
<span itemprop="image" t-attf-content="{{request.httprequest.url_root}}web/image/product.template/{{product.id}}/image" t-field="product.image" t-options="{'widget': 'image', 'class': 'product_detail_img', 'alt-field': 'name', 'zoom': 'image'}" groups="!website_sale.group_website_multi_image"/>
|
||||
<t groups="website_sale.group_website_multi_image">
|
||||
<t t-set="variant_img" t-value="product.product_variant_id.image_variant"/>
|
||||
<t t-set="variant_img" t-value="any(product.mapped('product_variant_ids.image_variant'))"/>
|
||||
<t t-set="image_ids" t-value="product.product_image_ids"/>
|
||||
<div id="o-carousel-product" class="carousel slide" data-ride="carousel" data-interval="0">
|
||||
<div class="carousel-outer">
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
Germany, 2017-11-24
|
||||
|
||||
I hereby agree to the terms of the Odoo Individual Contributor License
|
||||
Agreement v1.0.
|
||||
|
||||
I declare that I am authorized and able to make this agreement and sign this
|
||||
declaration.
|
||||
|
||||
Signed,
|
||||
|
||||
Andreas Raster lazor@affenbande.org https://github.com/rakete
|
||||
@@ -0,0 +1,11 @@
|
||||
FRANCE, 2018-09-26
|
||||
|
||||
I hereby agree to the terms of the Odoo Individual Contributor License
|
||||
Agreement v1.0.
|
||||
|
||||
I declare that I am authorized and able to make this agreement and sign this
|
||||
declaration.
|
||||
|
||||
Signed,
|
||||
|
||||
zoggy 43614933+zoggy444@users.noreply.github.com https://github.com/zoggy444
|
||||
@@ -106,6 +106,7 @@ CREATE TABLE res_company (
|
||||
name varchar NOT NULL,
|
||||
partner_id integer,
|
||||
currency_id integer,
|
||||
sequence integer,
|
||||
primary key(id)
|
||||
);
|
||||
|
||||
|
||||
@@ -135,6 +135,8 @@ class FSWatcher(object):
|
||||
try:
|
||||
source = open(path, 'rb').read() + '\n'
|
||||
compile(source, path, 'exec')
|
||||
except FileNotFoundError:
|
||||
_logger.error('autoreload: python code change detected, FileNotFound for %s', path)
|
||||
except SyntaxError:
|
||||
_logger.error('autoreload: python code change detected, SyntaxError in %s', path)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user