diff --git a/master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSaleInvoiceConstraint/total_price_equal_accounting_constraint.xml b/master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSaleInvoiceConstraint/total_price_equal_accounting_constraint.xml new file mode 100644 index 0000000000000000000000000000000000000000..a560aa5876bcb5dc49b9fdb7a46f5f0a72356648 --- /dev/null +++ b/master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSaleInvoiceConstraint/total_price_equal_accounting_constraint.xml @@ -0,0 +1,104 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="TALES Constraint" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>expression</string> </key> + <value> <string>python: context.SaleInvoiceTransaction_isTotalPriceEqualAccounting()</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>total_price_equal_accounting_constraint</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>membership_criterion_category</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>message_expression_false</string> </key> + <value> <string>Total price of invoice does not match accounting</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>TALES Constraint</string> </value> + </item> + <item> + <key> <string>string_index</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>test_method_id</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>test_tales_expression</string> </key> + <value> <string>python: context.getSimulationState() not in [\'draft\', \'planned\']</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/master/bt5/vifib_erp5/bt/revision b/master/bt5/vifib_erp5/bt/revision index ac471d3ba0cca3f689cdf6462b3864fb73a52b60..bbce65161cd0869836bce61dea4b7243aba084dc 100644 --- a/master/bt5/vifib_erp5/bt/revision +++ b/master/bt5/vifib_erp5/bt/revision @@ -1 +1 @@ -355 \ No newline at end of file +356 \ No newline at end of file