Re: [tryton-fr] configuration de base

2018-08-10 Thread JC Michel

Bonjour,


On 10 Aug 2018, at 16:27, Pascal Annen wrote:
Je dois dire que c'est ma première prise en main de Tryton,, il a 
bien
démarré avec la base de donnée démo et ses configurations, jusque 
là ça va,

mais j'ai quelques questions.

1 ère Est il possible de créer une nouvelle base de donnée et faire 
une

configuration sois même ?


Oui, en hébergeant son serveur ou bien en achetant un hébergement 
(voir Sisalp.fr).


2 ème  existe t'il un manuel en Français sur la prise en main de 
l'ERP ?


non…


3 ème Est il possible de supprimer les tiers déjà configuré ?


oui

4 ème Je suis sous UBUNTU server mon client fonctionne parfaitement, 
mais

si j'essaye par le browser port 8000, cela ne fonctionne pas, je fais
localhost:8000, est-ce juste ?


Pour pouvoir vous aider il faut savoir si vous avez bien installé un 
serveur trytond sur votre ubuntu ou bien si vous avez testé avec le 
serveur de démo proposé. La version navigateur (le logiciel client web 
nommé sao) fonctionne avec exactement la même adresse que celle que 
vous avez saisie dans votre client. Si vous n’avez pas de serveur 
local, l’adresse ne peut pas être en localhost.


--
Jean-Christophe Michel

--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes 
tryton-fr.
Cette discussion peut être lue sur le Web à l'adresse 
https://groups.google.com/d/msgid/tryton-fr/4105E499-2627-4916-AC28-8D50745C7FD3%40symetrie.com.


Re: [tryton] report name

2018-08-03 Thread JC Michel

Hi,

On 3 Aug 2018, at 10:08, Dominique Chabord wrote:

I think it is the case for posted invoices, but not for sales.


True, posted invoices have the number in their name, though it doesn’t 
seem configurable.

Thks

Jean-Christophe Michel

--
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/0A57B30A-CF07-493E-97A7-0E6B85DD7779%40symetrie.com.


[tryton] report name

2018-08-03 Thread JC Michel

Hi,


Is it possible to have reports named with the number ?
For instance, Sale_2 instead of Sale or 2018-08-03_Invoice_1234.pdf 
instead of Invoice.
Maybe would it be possible with the meta:name=""/> of fodt format ?


--
Jean-Christophe Michel

--
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/8E0675CB-B739-4F93-B59B-DA6D4CB83BBD%40symetrie.com.


Re: [tryton] mandatory analytic and sale_shipment_cost

2018-08-03 Thread JC Michel
Hi Cedric,


On 3 Aug 2018, at 9:00, Cédric Krier wrote:
> On 2018-08-03 07:20, JC Michel wrote:
>> With a mandatory analytic root, I cannot use sale_shipment_cost to add
>> calculated shipment price with carrier_weight on sale.
>
> Please fill an issue. It is a clash between two modules.
> I guess we will have to define a analytic entry for shipment cost line.

Done : https://bugs.tryton.org/issue7605

--
Jean-Christophe Michel

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/28FFD348-0D1D-46D7-8D6B-9C565453D648%40symetrie.com.


[tryton] mandatory analytic and sale_shipment_cost

2018-08-02 Thread JC Michel

Hi,


With a mandatory analytic root, I cannot use sale_shipment_cost to add 
calculated shipment price with carrier_weight on sale.


I tested on demo4.8 to reproduce it.
Activate analytic_account, analytic_invoice, analytic_sale, carrier, 
carrier_weight, sale_shipment_cost.

Create Carrier (product, party) and CarrierSelection.
Configure Sale with SaleShipmentCostMethod OnOrder.
Create a simple analytic with root (mandatory) and two children, product 
and carrier.
Make a new sale, add a line with a product, choose analytic 
‘product’ on line.
Message is « The field "Account" on "Analytic Account Entry" is 
required. » when trying to change Draft Sale to Quote.


IMHO it’s the carrier sale line added automatically that has no 
analytic.
I tried to add an AnalyticRule to add it automatically from Account, but 
this doesn’t work. Probably there’s no write to the journal at the 
time the saleline is created.


Is it a bug ? is there a workaround ? or is ‘mandatory’ analytic 
root unusable with sale_shipment_cost ?


--
Jean-Christophe Michel

--
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/ED4891F5-2194-4016-AF08-34EAEF5F86C5%40symetrie.com.


Re: [tryton] customer and client consigment

2018-06-18 Thread JC Michel

Hi,


On 18 Jun 2018, at 16:29, Cédric Krier wrote:

If I understand correctly, the error here is to make an internal
shipment from Location(type=supplier) to Location(type=customer).
If I do an Internal Shipment from Consignment Supplier S1 to 
Consignment
Client C1 the item will be purchased from S1, this is not what I 
wish.


I do not understand what is the problem and neither what does it 
matter

the "purchased from"?
Before selling something, you must buy it first so this means that the
product must be taking out of the supplier location to a storage
location. Then it can be sold to the customer.


In fact I’m really confused by your last sentence.
Seems that sometimes locations are real places where products are 
located and sometimes they are symbolic places meaning whom they belong 
to and in what state they are. [1] mentions « real places » and 
« virtual locations ».


So to sell a product from a supplier location (meaning it belongs to the 
supplier), but really located at client address, to that client, I need 
to encode a shipment from that supplier location to an intermediary 
storage ? This shipment would be virtual, no item really moved. Only 
their status changed, from « consigned=at client address, waiting to 
be sold » to « invoiced=bought by the client ».



So in your case, I would make it like this:

- Customer

   - Main consignment
  - Supplier consignment
  - Consignment

I would register sales with internal shipment from Consignment to
Customer and refill Consignment using the Supplier consignment.
I would put no product in Main consignment, it would be better to have
it as a view but it is not supported for now.


Ok, will try this. In your scheme is Customer the already defined 
generic and unique Customer location or is it a new location specific to 
that Customer ? And where is the necessary storage type: is it 
Consignment ?



I still do not understand, this is the exact same sentences. I do not
understand what are the names used: client and customer storage.


Maybe it’s simply that I don’t understand this sentence:
The consignment stock at customer warehouse is managed by creating a 
storage location under the customer location. [2]


Does « customer » mean here Location(type=customer), ie the already 
created Location(code=CUS) ?

Or a Location(type=warehouse, name=MyCustomer) to be created ?

Thanks for your patience,

1. http://doc.tryton.org/4.6/modules/stock/doc/index.html
2. http://doc.tryton.org/4.6/modules/stock_consignment/doc/index.html

Jean-Christophe Michel
\--
![SYMÉTRIE, livres et 
partitions](http://symetrie.free.fr/signature/symetrie.png "SYMÉTRIE")

---
30 rue Jean-Baptiste Say
69001 LYON
FRANCE

[www.symetrie.com]()

[![www.facebook.com/symetrie](http://symetrie.free.fr/signature/f.png)]() 
| 
[![www.twitter.com/symetriecom](http://symetrie.free.fr/signature/t.png)]() 
| 
[![www.linkedin.com/company/symetrie-music-publisher](http://symetrie.free.fr/signature/l.png)]()


tél : +33 (0) 478 29 52 14

--
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/0EAEB982-41E5-45B7-8CE7-10FDD718A544%40symetrie.com.


Re: [tryton] customer and client consigment

2018-06-18 Thread JC Michel

Hi Cedric


Thks for your quick reply.

On 18 Jun 2018, at 12:36, Cédric Krier wrote:

We have the following business case:
1. as a book distributor, we handle consignment stock from other
publishers. Sold items are invoiced to us when we send the customer
invoice.
2. as a book diffusor, we sometimes do « deposit » in bookshops: 
our

books *and distributed ones* are shipped without invoice to some
bookshops and we invoice them when the books are sold.

The module stock_consignment seems to handle (1) correctly. (2) seems 
to

work too, for books that are from our own production.
But we cannot manage to make it work for supplier consigned books.

Here is the stock configuration we tested:

WH
|- Storage STO
|- Consignment Supplier S1 (type=supplier)

Customer(type=customer)
|- Consignment Client C1 (type=storage)
|- Consignment Supplier C1-S1 (type=supplier)

Having a product move from Consignment Supplier S1 to Customer 
creates a

supplier invoice line (ie, we sold the item).
Having a product move from Consignment Client C1 to Customer creates 
a

client invoice line (ie, we sold the item).
Having a product move from Consignment Supplier C1-S1 to Customer
creates no line. We would expect it to create 2: both customer and
client invoice line.


It is not supported and we should not support it. We need to add a
constraint that prevent to move from internal shipment to move from
supplier to customer because it must first step on a storage location.
This is required if we want to compute correct cost.
https://bugs.tryton.org/issue7523


If I understand correctly, the error here is to make an internal 
shipment from Location(type=supplier) to Location(type=customer).
If I do an Internal Shipment from Consignment Supplier S1 to Consignment 
Client C1 the item will be purchased from S1, this is not what I wish.


What kind of procedure could represent in Tryton the fact that
— a product is stored as consignment (not yet sold) in a Client (hence 
visible when doing an inventory on the Client location)
— this product comes from Supplier Consignment and must be purchased 
to supplier once it’s been invoiced to client.


If it’s outside stock_consignment’s scope, I’ll simply use 
products defined with zero cost price, to be able to represent at least 
the real place where they are stored.


PS: I’m surprised by the asymmetry between customer and client 
storage
types. Why are consignment client storages to be created below 
Customer

global location? Supplier consignment locations are created below our
Warehouse, not below the top most Supplier location. Why can’t we
create Client consignment locations below a new Consignment storage 
that
would not be child of Customer CUS? Customer CUS location seems to me 
it

contains all sold items. But customer consignment stocks are not sold
yet…


I do not understand what is named "client storage".


Error, I meant consignment client location. I try again :

I’m surprised by the asymmetry between customer and client storage
types.
a. Why are consignment Client locations to be created below Customer
global location? Supplier consignment locations are created below our
Warehouse, not below the top most Supplier location.
b. Why can’t we create Client consignment locations below a new 
Consignment storage that

would not be child of Customer CUS? Customer CUS location seems to me it
contains all sold items. But customer consignment stocks are not sold
yet…



Jean-Christophe Michel
\--
![SYMÉTRIE, livres et 
partitions](http://symetrie.free.fr/signature/symetrie.png "SYMÉTRIE")

---
30 rue Jean-Baptiste Say
69001 LYON
FRANCE

[www.symetrie.com]()

[![www.facebook.com/symetrie](http://symetrie.free.fr/signature/f.png)]() 
| 
[![www.twitter.com/symetriecom](http://symetrie.free.fr/signature/t.png)]() 
| 
[![www.linkedin.com/company/symetrie-music-publisher](http://symetrie.free.fr/signature/l.png)]()


tél : +33 (0) 478 29 52 14

--
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/E4C1285A-F0A5-429B-A861-BA1F9105FD54%40symetrie.com.


[tryton] customer and client consigment

2018-06-18 Thread JC Michel

Hi,


We have the following business case:
1. as a book distributor, we handle consignment stock from other 
publishers. Sold items are invoiced to us when we send the customer 
invoice.
2. as a book diffusor, we sometimes do « deposit » in bookshops: our 
books *and distributed ones* are shipped without invoice to some 
bookshops and we invoice them when the books are sold.


The module stock_consignment seems to handle (1) correctly. (2) seems to 
work too, for books that are from our own production.

But we cannot manage to make it work for supplier consigned books.

Here is the stock configuration we tested:

WH
|- Storage STO
   |- Consignment Supplier S1 (type=supplier)

Customer(type=customer)
|- Consignment Client C1 (type=storage)
   |- Consignment Supplier C1-S1 (type=supplier)

Having a product move from Consignment Supplier S1 to Customer creates a 
supplier invoice line (ie, we sold the item).
Having a product move from Consignment Client C1 to Customer creates a 
client invoice line (ie, we sold the item).
Having a product move from Consignment Supplier C1-S1 to Customer 
creates no line. We would expect it to create 2: both customer and 
client invoice line.



PS: I’m surprised by the asymmetry between customer and client storage 
types. Why are consignment client storages to be created below Customer 
global location? Supplier consignment locations are created below our 
Warehouse, not below the top most Supplier location. Why can’t we 
create Client consignment locations below a new Consignment storage that 
would not be child of Customer CUS? Customer CUS location seems to me it 
contains all sold items. But customer consignment stocks are not sold 
yet…



Jean-Christophe Michel
\--
![SYMÉTRIE, livres et 
partitions](http://symetrie.free.fr/signature/symetrie.png "SYMÉTRIE")

---
30 rue Jean-Baptiste Say
69001 LYON
FRANCE

[www.symetrie.com]()

[![www.facebook.com/symetrie](http://symetrie.free.fr/signature/f.png)]() 
| 
[![www.twitter.com/symetriecom](http://symetrie.free.fr/signature/t.png)]() 
| 
[![www.linkedin.com/company/symetrie-music-publisher](http://symetrie.free.fr/signature/l.png)]()


tél : +33 (0) 478 29 52 14

--
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/4C442DA9-A5A4-415D-80B1-8D00B6B8355D%40symetrie.com.


Re: [tryton] stock consignment invoice lines

2018-06-18 Thread JC Michel

Hi,

On 14 Jun 2018, at 12:24, Cédric Krier wrote:

On 2018-06-14 10:47, JC Michel wrote:

Hi,

On 14 Jun 2018, at 10:35, Dominique Chabord wrote:

sounds strange to make a purchase order after the invoice.
Did you try to make the purchase order before the internal move ?


No… the business case is :
— I handle the stock from the supplier
— I sell his products in mixed orders (his products and mines)
— each time I sell a product that belongs to him, I should
« note » it
— at the end of each month for instance, I edit the purchase order
for the sold items.


You must not create a purchase order otherwise it will create incoming
stock moves for those products. That's why the stock_consignment 
modules
creates directly supplier invoice lines that you can append to a 
supplier
invoice as a self-billed invoice (or as proforma) that you will sent 
to

your supplier.


Succeeded in creating 	a Customer Invoice and adding lines with + 
button. Thks!


Jean-Christophe Michel
\--
![SYMÉTRIE, livres et 
partitions](http://symetrie.free.fr/signature/symetrie.png "SYMÉTRIE")

---
30 rue Jean-Baptiste Say
69001 LYON
FRANCE

[www.symetrie.com](<https://symetrie.com>)

[![www.facebook.com/symetrie](http://symetrie.free.fr/signature/f.png)](<http://facebook.com/symetrie>) 
| 
[![www.twitter.com/symetriecom](http://symetrie.free.fr/signature/t.png)](<http://twitter.com/symetriecom>) 
| 
[![www.linkedin.com/company/symetrie-music-publisher](http://symetrie.free.fr/signature/l.png)](<http://www.linkedin.com/company/symetrie-music-publisher>)


tél : +33 (0) 478 29 52 14

--
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/E0334064-6859-4A27-B3B0-DBBEE0CD50FF%40symetrie.com.


Re: [tryton] stock consignment invoice lines

2018-06-14 Thread JC Michel

Hi,

On 14 Jun 2018, at 10:35, Dominique Chabord wrote:

sounds strange to make a purchase order after the invoice.
Did you try to make the purchase order before the internal move ?


No… the business case is :
— I handle the stock from the supplier
— I sell his products in mixed orders (his products and mines)
— each time I sell a product that belongs to him, I should 
« note » it
— at the end of each month for instance, I edit the purchase order 
for the sold items.


Jean-Christophe Michel

--
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/277506D3-1AFA-4555-9246-B99917CF4061%40symetrie.com.


[tryton] stock consignment invoice lines

2018-06-14 Thread JC Michel

Hi,


Using stock consignment 4.6, I succeeded to configure a Supplier Stock 
location and have a supplier invoice line created when an Internal 
Shipment is done. But I don’t understand how to grab the supplier 
invoice lines into a purchase order…


--
Jean-Christophe Michel

--
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/35EC539B-CEAB-492A-A938-B44CA1391F2B%40symetrie.com.


[tryton-fr] TVA 2,1 % en Corse

2018-06-10 Thread JC Michel

Bonjour,


Pour la vente de livres en Corse, le taux réduit s’applique.
http://bofip.impots.gouv.fr/bofip/903-PGP.html

Il me semble qu’il n’y a pas de règle de TVA permettant de 
substituer 2,1 à 5,5 lorsque le code postal du client est en Corse. 
Comment ajouter cela au plan comptable ?


--
Jean-Christophe Michel

--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes 
tryton-fr.
Cette discussion peut être lue sur le Web à l'adresse 
https://groups.google.com/d/msgid/tryton-fr/0A6187BB-F01E-48E8-AE5F-F543F1053118%40symetrie.com.


[tryton-fr] configurer une valeur par défaut

2018-05-19 Thread JC Michel
Bonjour,


On 19 May 2018, at 13:37, Cédric Krier wrote:
> De plus, il suffit de définir la langue des tiers par défaut pour éviter
> les erreurs.

Je fais un nouveau fil pour ce sujet :
faut-il faire une module perso pour fixer des valeurs par défaut ?
— langue du tiers
— entrepôt pour les ventes
— date du jour pour les ventes
etc.

--
Jean-Christophe Michel

-- 
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes 
tryton-fr.
Cette discussion peut être lue sur le Web à l'adresse 
https://groups.google.com/d/msgid/tryton-fr/38C67E2E-086A-4851-A53B-5E8A0D2BBAF6%40symetrie.com.


Re: [tryton-fr] traduction des rapports en français

2018-05-18 Thread JC Michel

Bonjour,


On 17 May 2018, at 12:06, Dominique Chabord wrote:
Le 17 mai 2018 à 11:54, JC Michel <lists.jc.mic...@symetrie.com> a 
écrit :




J’affecte Préférences > Langages à l’utilisateur. 
J’enregistre. Je

reconnecte au client.
Même sur les nouveaux documents générés, le bon de livraison, la 
vente et la

facture sont toujours en anglais.


Quelle est la langue du client ?


Les Tiers clients n’ont aucune valeur affectée dans le champ Langue.
Mais quelle qu’elle soit, les factures doivent être dans la langue de 
la société, donc le français dans mon cas.


--
Jean-Christophe Michel

--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes 
tryton-fr.
Cette discussion peut être lue sur le Web à l'adresse 
https://groups.google.com/d/msgid/tryton-fr/8D628B27-8F50-4ACB-840D-49902C985988%40symetrie.com.


Re: [tryton] bug in carrier-weight ?

2018-05-18 Thread JC Michel

Hello,

On 18 May 2018, at 0:21, Cédric Krier wrote:

On 2018-05-15 13:20, Sergi Almacellas Abellana wrote:

Yes, you should open a bug with the steps to reproduce it on a fresh
database and with the stack trace generated.


I did not see the bug report so I created 
https://bugs.tryton.org/issue7441


Sorry, I didn’t have the time to create the ‘fresh new db’ before 
reporting…


Jean-Christophe Michel
\--
![SYMÉTRIE, livres et 
partitions](http://symetrie.free.fr/signature/symetrie.png "SYMÉTRIE")

---
30 rue Jean-Baptiste Say
69001 LYON
FRANCE

[www.symetrie.com]()

[![www.facebook.com/symetrie](http://symetrie.free.fr/signature/f.png)]() 
| 
[![www.twitter.com/symetriecom](http://symetrie.free.fr/signature/t.png)]() 
| 
[![www.linkedin.com/company/symetrie-music-publisher](http://symetrie.free.fr/signature/l.png)]()


tél : +33 (0) 478 29 52 14

--
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/92667502-46D4-4079-BF4E-944D4DA36D6C%40symetrie.com.


Re: [tryton-fr] traduction des rapports en français

2018-05-17 Thread JC Michel

Bonjour,

On 17 May 2018, at 11:22, Cédric Krier wrote:

On 2018-05-17 11:10, JC Michel wrote:
Est-ce normal que les documents (vente, facture) ne soient pas 
traduits

en français dans le module account_fr ?


Ils sont traduit dans leurs modules respectifs:
http://hg.tryton.org/modules/sale/file/7eb99a6315ef/locale/fr.po#l1696


J’affecte Préférences > Langages à l’utilisateur. J’enregistre. 
Je reconnecte au client.
Même sur les nouveaux documents générés, le bon de livraison, la 
vente et la facture sont toujours en anglais.

Seule la liste de prélèvement est en français. Est-ce un bug de sao ?

Jean-Christophe Michel
\--
![SYMÉTRIE, livres et 
partitions](http://symetrie.free.fr/signature/symetrie.png "SYMÉTRIE")

---
30 rue Jean-Baptiste Say
69001 LYON
FRANCE

[www.symetrie.com](<https://symetrie.com>)

[![www.facebook.com/symetrie](http://symetrie.free.fr/signature/f.png)](<http://facebook.com/symetrie>) 
| 
[![www.twitter.com/symetriecom](http://symetrie.free.fr/signature/t.png)](<http://twitter.com/symetriecom>) 
| 
[![www.linkedin.com/company/symetrie-music-publisher](http://symetrie.free.fr/signature/l.png)](<http://www.linkedin.com/company/symetrie-music-publisher>)


tél : +33 (0) 478 29 52 14

--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes 
tryton-fr.
Cette discussion peut être lue sur le Web à l'adresse 
https://groups.google.com/d/msgid/tryton-fr/8A27EF5F-DB5B-4A0D-BD34-193C71220946%40symetrie.com.


[tryton-fr] traduction des rapports en français

2018-05-17 Thread JC Michel

Bonjour,


Est-ce normal que les documents (vente, facture) ne soient pas traduits 
en français dans le module account_fr ?
Ou bien est-ce intentionnel, chacun ayant de toute manière besoin de 
les personnaliser ?


Jean-Christophe Michel
\--
![SYMÉTRIE, livres et 
partitions](http://symetrie.free.fr/signature/symetrie.png "SYMÉTRIE")

---
30 rue Jean-Baptiste Say
69001 LYON
FRANCE

[www.symetrie.com]()

[![www.facebook.com/symetrie](http://symetrie.free.fr/signature/f.png)]() 
| 
[![www.twitter.com/symetriecom](http://symetrie.free.fr/signature/t.png)]() 
| 
[![www.linkedin.com/company/symetrie-music-publisher](http://symetrie.free.fr/signature/l.png)]()


tél : +33 (0) 478 29 52 14

--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes 
tryton-fr.
Cette discussion peut être lue sur le Web à l'adresse 
https://groups.google.com/d/msgid/tryton-fr/E77573A0-FADD-48EA-B94E-4BF6C89E2A30%40symetrie.com.


[tryton] bug in carrier-weight ?

2018-05-15 Thread JC Michel

Hi,


When using carrier-weight to compute an invoice line for a carrier 
depending on weight:
when coming back, in Sale, to Draft state to edit the Carrier, the 
generated carrier invoice line is not deleted,

and creates an error
File "/trytond/modules/sale_shipment_cost/sale.py", line 207, in 
set_shipment_cost

with Transaction().set_context(self._get_carrier_context()):
  File "/trytond/modules/carrier_weight/sale.py", line 33, in 
_get_carrier_context

lines = sorted(lines, key=keyfunc)
TypeError: unorderable types: NoneType() < NoneType()

Seems that the carrier line doesn’t have a weight!
Deleting manually the invoice line seems to fix this.
IMHO the carrier line should be deleted when going back in Draft state.
Should I open a bug?

PS : tryton version 4.6

Jean-Christophe Michel
\--
![SYMÉTRIE, livres et 
partitions](http://symetrie.free.fr/signature/symetrie.png "SYMÉTRIE")

---
30 rue Jean-Baptiste Say
69001 LYON
FRANCE

[www.symetrie.com]()

[![www.facebook.com/symetrie](http://symetrie.free.fr/signature/f.png)]() 
| 
[![www.twitter.com/symetriecom](http://symetrie.free.fr/signature/t.png)]() 
| 
[![www.linkedin.com/company/symetrie-music-publisher](http://symetrie.free.fr/signature/l.png)]()


tél : +33 (0) 478 29 52 14

--
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/4CD16F9A-49E1-4E41-9F0C-C1443E8B27B8%40symetrie.com.


Re: [tryton-fr] configuration comptable des catégories produit

2018-04-03 Thread JC Michel

Bonjour,


On 26 Mar 2018, at 17:27, Cédric Krier wrote:

On 2018-03-26 16:18, Richard PALO wrote:

Le 26/03/2018 à 12:50, lists.jc.mic...@symetrie.com a écrit :

Bonjour,

Je bute sur la configuration comptable à entrer dans les champs
Compte de stock
Compte de stock client
Compte de stock fournisseur
Compte de stock production
Compte de stock pertes et surplus

sous 4.6, avec modules account_fr et account_stock_continental

Aucun compte du plan comptable français n’est sélectionnable, il 
semble nécessaire d’en créer. Pourquoi ?

351 ou 371 devraient être acceptés.

Jean-Christophe Michel


C'est le PCG _développé_ qui est +/- présenté...

C'est à dire, le compte 3511 (ou 371), mais très souvent ces 
comptes sont convertis
en type 'vue' avec un ou plusieurs comptes spécifiques créés comme 
'enfants'.


En fait pour moi, c'est le genre des comptes 3511, 3512, 3551, 3552,
3581, 3585, 3586, 371, 372 etc. qui devraient avoir le genre 'stock'.
Mais aussi, les comptes 6031, 6032, 6037.

J'ai fait une proposition sur: https://bugs.tryton.org/issue7267


Ça fonctionne en éditant le type de ces comptes pour « stock » 
dans cofiguration des comptes.


Pour le champ account_stock_lost_found il faut d’après mon comptable
Pour les pertes, il faut utiliser le compte 6788 (charges 
exceptionnelles diverses) ou 7788 (produits exceptionnels divers)


1. Je n’ai qu’un champ compte : 6788 (je ne peux pas mettre 7788 
pour les « found »)
2. Le type de compte dans account_fr 4.6 pour 6788 n’est pas 
« stock », je ne peux pas le choisir. Faut-il aussi changer en 
« stock » ce type de compte ?


Jean-Christophe Michel
\--
![SYMÉTRIE, livres et 
partitions](http://symetrie.free.fr/signature/symetrie.png "SYMÉTRIE")

---
30 rue Jean-Baptiste Say
69001 LYON
FRANCE

[www.symetrie.com]()

[![www.facebook.com/symetrie](http://symetrie.free.fr/signature/f.png)]() 
| 
[![www.twitter.com/symetriecom](http://symetrie.free.fr/signature/t.png)]() 
| 
[![www.linkedin.com/company/symetrie-music-publisher](http://symetrie.free.fr/signature/l.png)]()


tél : +33 (0) 478 29 52 14

--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes 
tryton-fr.
Cette discussion peut être lue sur le Web à l'adresse 
https://groups.google.com/d/msgid/tryton-fr/A6373C40-29D3-4872-8EF1-983A564343E8%40symetrie.com.


Re: [tryton-fr] configuration comptable des catégories produit

2018-03-31 Thread JC Michel

Bonsoir,

On 26 Mar 2018, at 17:27, Cédric Krier wrote:

En fait pour moi, c'est le genre des comptes 3511, 3512, 3551, 3552,
3581, 3585, 3586, 371, 372 etc. qui devraient avoir le genre 'stock'.
Mais aussi, les comptes 6031, 6032, 6037.

J'ai fait une proposition sur: https://bugs.tryton.org/issue7267


Il me semble en effet, pour autant que je comprends l’implication de 
ce type « stock ».
Faut-il attendre une validation d’un comptable pour changer cela dans 
account_fr ?

Pour ma part j’ai changé ces types dans le plan comptable configuré.

Ce que je ne comprends pas, c’est la logique de comptes de stock 
fournisseur ou client : dans le cas de stock fournisseur, le stock 
n’appartient pas à company, il est seulement géré physiquement 
jusqu’à un achat. A quel compte du PCG pourrait bien correspondre 
cette entrée ?
De même le compte de stock client correspondrait à un dépôt fait 
chez un client : le stock est physiquement ailleurs mais toujours 
propriété de company. Puisqu’il me semble que configurer ce compte 
est obligatoire, quel compte du PCG peut-on lui attribuer ? Un 
sous-compte 355 ? Que se passe-t-il si « compte de stock » et 
« compte de stock client » sont tous les deux configurés sur 3551 ?


Jean-Christophe Michel
\--
![SYMÉTRIE, livres et 
partitions](http://symetrie.free.fr/signature/symetrie.png "SYMÉTRIE")

---
30 rue Jean-Baptiste Say
69001 LYON
FRANCE

[www.symetrie.com]()

[![www.facebook.com/symetrie](http://symetrie.free.fr/signature/f.png)]() 
| 
[![www.twitter.com/symetriecom](http://symetrie.free.fr/signature/t.png)]() 
| 
[![www.linkedin.com/company/symetrie-music-publisher](http://symetrie.free.fr/signature/l.png)]()


tél : +33 (0) 478 29 52 14

--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes 
tryton-fr.
Cette discussion peut être lue sur le Web à l'adresse 
https://groups.google.com/d/msgid/tryton-fr/7E9869D6-446C-4F03-8E66-655A15C077EA%40symetrie.com.


[tryton-fr] configuration comptable des catégories produit

2018-03-26 Thread lists . jc . michel

Bonjour,


Je bute sur la configuration comptable à entrer dans les champs
Compte de stock
Compte de stock client
Compte de stock fournisseur
Compte de stock production
Compte de stock pertes et surplus

sous 4.6, avec modules account_fr et account_stock_continental

Aucun compte du plan comptable français n’est sélectionnable, il 
semble nécessaire d’en créer. Pourquoi ?

351 ou 371 devraient être acceptés.

Jean-Christophe Michel
\--
![SYMÉTRIE, livres et 
partitions](http://symetrie.free.fr/signature/symetrie.png "SYMÉTRIE")

---
30 rue Jean-Baptiste Say
69001 LYON
FRANCE

[www.symetrie.com]()

[![www.facebook.com/symetrie](http://symetrie.free.fr/signature/f.png)]() 
| 
[![www.twitter.com/symetriecom](http://symetrie.free.fr/signature/t.png)]() 
| 
[![www.linkedin.com/company/symetrie-music-publisher](http://symetrie.free.fr/signature/l.png)]()


tél : +33 (0) 478 29 52 14

--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes 
tryton-fr.
Cette discussion peut être lue sur le Web à l'adresse 
https://groups.google.com/d/msgid/tryton-fr/A459F428-43E4-481C-826D-56D232568FC2%40symetrie.com.