Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
c66db4f
[WIP]
legalsylvain Oct 2, 2016
fa540d1
[WIP]
legalsylvain Oct 10, 2016
36da3d0
[WIP] bizerba
legalsylvain Oct 11, 2016
c94dd72
[WIP] bizerba
legalsylvain Oct 11, 2016
4d7126e
[WIP]
legalsylvain Oct 11, 2016
f4c658d
[WIP]
legalsylvain Oct 12, 2016
9dd68fe
[WIP]
legalsylvain Oct 13, 2016
356b8e2
[WIP]
legalsylvain Oct 13, 2016
c4f30d5
[WIP]
legalsylvain Oct 13, 2016
8a03b01
[WIP]
legalsylvain Oct 18, 2016
8052b6a
[FIX] flake8
legalsylvain Oct 18, 2016
97412b4
[FIX] flake8
legalsylvain Oct 18, 2016
a8951c7
[FIX] incorrect call if product has no scale group defined
legalsylvain Oct 18, 2016
fea1110
[ADD] FTP communication
legalsylvain Oct 27, 2016
669b21e
[FIX] incorrect domain
legalsylvain Nov 3, 2016
e80bba0
[BACKPORT] changes made by La Louve in V9.0
legalsylvain Nov 3, 2016
bc35b9b
[ADD] add the bizerba connection module
houssine78 Apr 13, 2017
ea4a7a5
[ADD] add module extending the product_to_scale_bizerba. here fixing a
houssine78 Apr 27, 2017
1d47983
[FIX] fix function call
houssine78 May 2, 2017
93ad3f0
[FIX] fix wrong function signature
houssine78 May 2, 2017
7732c9a
[FIX] refactoring old api calls
houssine78 May 2, 2017
13292eb
[IMP] add dependency on product module
houssine78 May 9, 2017
17ba9e4
[FIX] fix bug product.scale.log was still poiting on product.product in
houssine78 May 9, 2017
3e36a08
[FIX] fix wrong link
houssine78 May 11, 2017
1afb952
[FIX] write on product template still trigger a write on product product
houssine78 May 11, 2017
cd5d1f4
[FIX] short fix for an old function call format
houssine78 May 11, 2017
866663c
[FIX] close file object to be after ftp transfer to able to delete the
houssine78 Aug 11, 2017
62b1392
[IMP] allow to move product image to remote ftp server while processing
houssine78 Aug 11, 2017
5662491
[IMP] add send image field to form view
houssine78 Aug 11, 2017
3bdc2e2
[IMP] change the image extension of the exported pic
houssine78 Aug 21, 2017
8486709
[FIX] fix function signature. define default value for last parameter
houssine78 Aug 31, 2017
821ae26
[IMP] remove commented code
houssine78 Sep 8, 2017
e140772
[FIX] remove \r as \n is already converted into à CRLF
houssine78 Sep 8, 2017
e1e4256
[IMP] add possibility to regenerate all the creation and update product
houssine78 Sep 11, 2017
04c9a54
[IMP] put the button on the top of the tab
houssine78 Sep 11, 2017
de2b714
[DEBUG]
houssine78 Sep 11, 2017
747f1a3
[FIX] Roll back change
houssine78 Sep 11, 2017
80c7d63
[IMP] fix encoding problem by adding utf-8 encoding mapping
houssine78 Sep 11, 2017
e4e0473
[FIX] fix encoding problem adding possibility to encode in cp1252
houssine78 Sep 12, 2017
8cdf61e
[IMP] generate file just for products that are set as to weight
houssine78 Sep 12, 2017
595f1ed
[FIX] seems that the bizerba requirements for end of line are quiet
houssine78 Sep 20, 2017
263e748
[IMP] Fix generation of scale log deletion at every update.
houssine78 Oct 15, 2017
9503d4c
[IMP] add the possibility to trigger product_scale_log creation when
houssine78 Oct 16, 2017
3d97491
[IMP] add fields that are not part of the scale system but need to
houssine78 Oct 16, 2017
37b0ae3
[IMP] made the scale group required when to weight checkbox is ticked
houssine78 Oct 18, 2017
1217b22
[IMP] add filter on product to create or update when clicking on button
houssine78 Oct 21, 2017
afb47d5
[FIX] giving several correction in the way odoo trigger scale log
houssine78 Oct 21, 2017
0c0f588
[IMP] when defining scale group on product while the product can't be
houssine78 Oct 31, 2017
1d7ed3e
[FIX] empty the table scale log before update of the scale to avoid t…
tfrancoi Mar 24, 2018
b788c6c
[FIX] p_t_scale_bizerba_extended: PEP8 models
remytms Oct 19, 2018
ad1df99
[FIX] p_t_s_biz_ext: Send wrong scale command
remytms Oct 19, 2018
d2be8ed
[FIX] p_t_s_biz_ext: Write always sends scale cmd
remytms Nov 24, 2018
6d24034
[REF] p_t_s_bizerba: Fix and refact
remytms Dec 1, 2018
8ec32f9
[REF] renamed module to product_to_bizerba_scale
vvrossem Apr 30, 2020
d9dbda9
[WIP][MIG] product_to_bizerba_scale: merge 2 modules into one
vvrossem Apr 30, 2020
5b98425
[WIP][MIG] product_to_bizerba_scale : migration to 11.0
vvrossem Apr 30, 2020
aa6df75
[WIP][MIG] product_to_bizerba_scale: migration to 12.0
vvrossem Apr 30, 2020
742b8f2
[REM] product_to_bizerba_scale: commented line
vvrossem Jun 8, 2020
58bfb66
[REM] product_to_bizerba_scale: version attribute in xml
vvrossem Jun 8, 2020
27dd670
[IMP] product_to_bizerba_scale: defered -> deferred
vvrossem Jun 8, 2020
e2ab59f
[REM] product_to_scale_bizerba: comment
vvrossem Jun 8, 2020
599d21b
[FIX] product_to_bizerba_scale: product -> beesdoo_product
vvrossem Jun 8, 2020
538b1f0
[FIX] product_to_bizerba_scale: duplicate lines in csv files
vvrossem Jun 8, 2020
6553bcc
[IMP] product_to_bizerba_scale: black formatter
vvrossem Jun 8, 2020
6ee14f1
[ADD] product_to_bizerba_scale: readme
vvrossem Jun 8, 2020
b9b89d2
[IMP] product_to_bizerba_scale: xml indentation
vvrossem Jun 8, 2020
f544d99
[IMP] CI config and fixes
robinkeunen Jun 23, 2020
6bd5e6f
[FIX] precommit configuration
robinkeunen Apr 21, 2021
b95293a
[IMP] pre-commit run -a
vvrossem Apr 21, 2021
e5f5a30
[IMP] addons readme and table
robinkeunen May 11, 2021
38a001e
[FIX] Run pre-commit
carmenbianca Mar 9, 2022
372f953
[UPD] Update product_to_bizerba_scale.pot
Mar 11, 2022
8556add
[FIX] SCRLfs → SC
carmenbianca Jun 29, 2022
d25675a
[UPD] README.rst
github-grap-bot Dec 15, 2023
8b8dcd6
[MIG] product_to_bizerba_scale: migration to 16.0
huguesdk Jun 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 102 additions & 0 deletions product_to_bizerba_scale/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

========================
Product to Bizerba Scale
========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:38c59c7259f536acb7c048f1d90e7f7eaff8393a3e7c72d46d02f42f3e269722
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-coopiteasy%2Faddons-lightgray.png?logo=github
:target: https://github.com/coopiteasy/addons/tree/16.0/product_to_bizerba_scale
:alt: coopiteasy/addons

|badge1| |badge2| |badge3|

Synchronize Odoo database with Bizerba Scales

**Table of contents**

.. contents::
:local:

Configuration
=============

Configuration via Point of Sale > Configuration:

1. Scale Systems > a scale system: FTP Connexion

* FTP Server URL
* FTP Login
* FTP Password
* Relative Path for CSV
* Relative Path for Product Images

2. Scale Groups > a scale group

* Lists products belonging to the scale group

3. Logs

* Automatically sent if "Send to Scale" CRON is active (debug mode, via Settings > Technical > Automation > Scheduled Actions)

Changelog
=========

This module comes originally from the ``product_to_scale_bizerba`` module created by Grap (see `here <https://github.com/grap/odoo-addons-misc/tree/61a19ddad8a523daf2dadbe63979f4c8eff1acd5/product_to_scale_bizerba>`_).
It was forked from `this commit <https://github.com/grap/odoo-addons-misc/commit/c4facba56329a065694b4f4820360f1e55cffa6a>`_.
The original module continued to evolve and is now available `here <https://github.com/grap/grap-odoo-business/commits/12.0/product_to_scale_bizerba>`_.
Another version exists `here <https://github.com/AwesomeFoodCoops/odoo-production/tree/12.0/product_to_scale_bizerba>`_ (12.0) and `here <https://github.com/AwesomeFoodCoops/odoo-production/tree/9.0/louve_addons/product_to_scale_bizerba>`_ (9.0).

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/coopiteasy/addons/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/coopiteasy/addons/issues/new?body=module:%20product_to_bizerba_scale%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Coop IT Easy SC
* GRAP

Contributors
~~~~~~~~~~~~

* `Grap <https://grap.coop>`_:

* Sylvain Le Gal

* `Coop IT Easy SC <https://coopiteasy.be>`_:

* Houssine Bakkali
* Rémy Taymans
* Vincent Van Rossem

Maintainers
~~~~~~~~~~~

This module is part of the `coopiteasy/addons <https://github.com/coopiteasy/addons/tree/16.0/product_to_bizerba_scale>`_ project on GitHub.

You are welcome to contribute.
1 change: 1 addition & 0 deletions product_to_bizerba_scale/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
37 changes: 37 additions & 0 deletions product_to_bizerba_scale/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright 2014-2017 GRAP (http://www.grap.coop)
# - Sylvain LE GAL (https://twitter.com/legalsylvain)
# Copyright 2017-Today Coop IT Easy SC
# - Houssine BAKKALI <houssine@coopiteasy.be>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Product to Bizerba Scale",
"summary": "Synchronize Odoo database with Bizerba Scales",
"author": "Coop IT Easy SC, GRAP",
"website": "https://github.com/coopiteasy/addons",
"category": "Sales/Point of Sale",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"depends": [
"product_scale_label",
],
"data": [
"security/ir_module_category.xml",
"security/res_groups.xml",
"security/ir.model.access.csv",
"data/ir_cron.xml",
"views/product_template_view.xml",
"views/uom_uom_view.xml",
"views/product_scale_system_view.xml",
"views/product_scale_group_view.xml",
"views/product_scale_log_view.xml",
"views/action.xml",
"views/menu.xml",
],
"demo": [
"demo/product_scale_system.xml",
"demo/product_scale_system_product_line.xml",
"demo/product_scale_group.xml",
"demo/product_template.xml",
"demo/decimal_precision.xml",
],
}
14 changes: 14 additions & 0 deletions product_to_bizerba_scale/data/ir_cron.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<odoo noupdate="1">
<record id="ir_cron_send_to_scale" model="ir.cron">
<field name="name">Send to Scale</field>
<field name="interval_number">5</field>
<field name="interval_type">minutes</field>
<field name="numbercall">-1</field>
<field name="doall" eval="False" />
<field name="model_id" ref="model_product_scale_log" />
<field name="state">code</field>
<field name="code">model.cron_send_to_scale()</field>
<field name="active" eval="False" />
</record>
</odoo>
8 changes: 8 additions & 0 deletions product_to_bizerba_scale/demo/decimal_precision.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>

<record id="product.decimal_stock_weight" model="decimal.precision">
<field name="digits">3</field>
</record>

</odoo>
16 changes: 16 additions & 0 deletions product_to_bizerba_scale/demo/product_scale_group.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>

<record id="demo_scale_group_fruits" model="product.scale.group">
<field name="name">Fruits</field>
<field name="scale_system_id" ref="demo_scale_system" />
<field name="external_identity">1</field>
</record>

<record id="demo_scale_group_vegetables" model="product.scale.group">
<field name="name">Vegetables</field>
<field name="scale_system_id" ref="demo_scale_system" />
<field name="external_identity">2</field>
</record>

</odoo>
12 changes: 12 additions & 0 deletions product_to_bizerba_scale/demo/product_scale_system.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>

<record id="demo_scale_system" model="product.scale.system">
<field name="name">Bizerba Demo System</field>
<field name="csv_relative_path">/bizerba_test/IMPORT/</field>
<field name="product_image_relative_path">/bizerba_test/IMAGE_IMPORT/</field>
<field name="external_text_file_pattern">TEXT_MAG_0000_%Y%m%d_%H%M%S.CSV</field>
<field name="product_text_file_pattern">ARTI_MAG_0000_%Y%m%d_%H%M%S.CSV</field>
</record>

</odoo>
Loading
Loading