minor fix field id_reference

This commit is contained in:
wilson gomez 2021-09-04 08:39:35 -05:00
parent 7c65c44bc8
commit f01c454e88
8 changed files with 0 additions and 45 deletions

View File

@ -72,7 +72,6 @@ class MercadoLibre(SaleWebChannel):
create_product.append({
'code': code,
'description': description,
'id_reference': item['id'],
'template': template.id
})
return Product.create(create_product)

View File

@ -1,11 +0,0 @@
# This file is part of sale_pos module for Tryton.
# The COPYRIGHT file at the top level of this repository contains
# the full copyright notices and license terms.
from decimal import Decimal
from trytond.model import fields
from trytond.pool import PoolMeta, Pool
class Template(metaclass=PoolMeta):
__name__ = 'product.template'
id_reference = fields.Numeric('ID Reference Api')

View File

@ -1,13 +0,0 @@
<?xml version="1.0"?>
<!-- This file is part product_barcode module for Tryton.
The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
<tryton>
<data>
<record model="ir.ui.view" id="product_view_form">
<field name="model">product.product</field>
<field name="inherit" ref="product.product_view_form"/>
<field name="name">product_view_form</field>
</record>
</data>
</tryton>

View File

@ -11,7 +11,6 @@ from trytond.pyson import Eval
class Sale(metaclass=PoolMeta):
__name__ = 'sale.sale'
id_reference = fields.Char('Id Reference Api')
is_paymented = fields.Function(fields.Boolean('Is Paymented'), 'get_is_paymented')
products_string = fields.Char('Products String')
channel = fields.Many2One('sale.web_channel', 'channel')

View File

@ -73,7 +73,6 @@ class Shopify(SaleWebChannel):
create_product.append({
'code': code,
'description': description,
'id_reference': '',
'template': template.id
})
return Product.create(create_product)

View File

@ -1,12 +0,0 @@
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<data>
<xpath expr="/form/group[@id='description']"
position="after">
<group id="id_reference" colspan="2" col="1" yexpand="1" yfill="1">
<label name="id_reference"/>
<field name="id_reference"/>
</group>
</xpath>
</data>

View File

@ -2,13 +2,8 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<data>
<!-- <xpath expr="/form/field[@name='reference']"
position="after">
</xpath> -->
<xpath expr="/form/notebook/page[@id='other']/field[@name='company']"
position="after">
<!-- <label name="id_reference"/>
<field name="id_reference"/> -->
<label name="channel"/>
<field name="channel"/>
<label name="uploaded_invoice"/>

View File

@ -4,7 +4,6 @@ this repository contains the full copyright notices and license terms. -->
<data>
<xpath expr="/tree/field[@name='state']"
position="before">
<!-- <field name="id_reference"/> -->
<field name="channel"/>
<field name="pack_id"/>
<field name="tracking_number"/>